Next Topic

Previous Topic

Book Contents

result.list

Lists test results for one or more devices and one or more tests configured for those devices for a certain time frame.

result.list
["deviceName=<regexp>" | "deviceSerial=<value>"]
[, "testName=<regexp>" | "testSerial=<value>"]
[, "startTime=<YYYYMMDDhhmm>"]
[, "endTime=<YYYYMMDDhhmm>"]
[, "testType=<regexp>"]
[, "subType=<regexp>"]

Example

result.list "devicename=Branch Office Router", "testname=CPU-1 Load", "starttime=NOW"
OK 203 request accepted, records returned: 1

Output is in the following format:

"deviceName=Branch Office Router","deviceSerialNumber=4620000","testName=CPU-1 Load","testSerialNumber=4620018","testType=snmp","testSubType=cpu","timestamp=20170522143658","numSamples=1","average=6","maximumValue=6","minimumValue=6","currentSeverity=Warning","warningThreshold=5","criticalThreshold=18"