Next Topic

Previous Topic

Book Contents

monitor_status_list

The monitor_status_list command returns the monitor status string. The status string is the same status shown in the Monitor information page.

Syntax

http://localhost/knm/extract.xsi?cmd=monitor_status_list&apikey=D05200B0CFAF0437BA8EF9ED6E8889D1&deviceid=2 

cmd

monitor_status_list

apikey

KNM user's API Key

deviceid

ID of asset

Returned data

A string containing the name of the asset and monitor, the status string and the status of the monitor separated by a pipe sign ( | ). Each line is separated by a CRLF.

Example

MyAsset | CPU load Monitor | Current CPU usage 11.00 % | OK
MyAsset | Memory size Monitor | Free memory 256 MB | FAILED