Next Topic

Previous Topic

Book Contents

monitor_uptimestring

The monitor_uptimestring command returns the monitor uptime string. The uptime string describes the uptime of the monitor in hours, minutes and second. If the monitor is currently in alarm state an asterisk (*) is added to the front of the string to note that the string indicates the downtime of the monitor.

Syntax

http://localhost/knm/extract.xsi?cmd=monitor_uptimestring&user=Admin&id=8&deviceid=2

cmd

monitor_uptimestring

user

KNM user username

id

ID number of monitor

deviceid

ID of asset

Returned data

A string containing the name of the monitor and the uptime/downtime string separated by a pipe sign (|).

Example

CPU load Monitor | 0h 59m 35s