Next Topic

Previous Topic

Book Contents

Creating an Advanced Port Test

test.create "devicename=test_device", "testname=SSH Service",
"testtype=port", "subtype=advanced", "port=22", "expectstring=SSH",
"interval=180", "warningthreshold=2", "criticalthreshold=5",
test.update "devicename=test_device", testname=SSH Service",
"testtype=port", "port=8022", "sendstring=foo", "expectstring=bar",
"warningthreshold=3"