Next Topic

Previous Topic

Book Contents

monitor_status_list

monitor_status_listコマンドは、モニターのステータス文字列を返します。ステータス文字列は、[モニター情報]ページに表示されるステータスと同じです。

構文

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

cmd

monitor_status_list

user

KNMユーザーのユーザー名

deviceid

資産のID

返されるデータ

資産とモニターの名前を含む文字列、ステータス文字列、およびモニターのステータス(パイプ記号(|)で区切られる)。各行はCRLFで区切られます。

MyAsset | CPU load Monitor | Current CPU usage 11.00 % | OK

MyAsset | Memory size Monitor | Free memory 256 MB | FAILED