Next Topic

Previous Topic

Book Contents

test.update

Updates configuration information for one or more existing tests.

test.update <"testName=<regexp>"
, "deviceName=<regexp>"
, "testType=<value>"
[, "subType=<regexp>"]
[, "interval=<new_value>"]
[, "warningThreshold=<new_value>"]
[, "criticalThreshold=<new_value>"]
[, "actionName=<new_value>"]
[, "maxValue=<new_value>"]
[, "units=<new_value>"]
[, "testSerial=<value>"]
[, "resultProcessDirective=<value>"]
[, "thresholdType=<auto|ascend|descend|discrete|-1|1|2|3>"]
[, "resultMultiplier=<value>"]
[, "userName=<value>"]
[, "resultProcessDirective=<value>"]

To do a bulk update of the warning and critical thresholds for all routers named router, use the following command:

test.update "devicename=*router*", "testname=Round Trip*", "testtype=ping",
"subtype=rtt", "warningthreshold=150", "criticalthreshold=250"
To modify a test name for a device named "abc-switch", first use the test.list command to obtain the serial number for the test, and then use the following command:test.update "devicename=abc-switch", testname="New Test Name",
"testSerial=123456", "testtype=ping"