Next Topic

Previous Topic

Book Contents

monitor_uptimestring

monitor_uptimestringコマンドは、モニターのアップタイム文字列を返します。アップタイム文字列には、時間、分、秒単位でモニターのアップタイムが記述されます。モニターが現在アラーム状態である場合は、モニターのダウンタイムを示すアスタリスク(*)が文字列の先頭に追加されます。

構文

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

cmd

monitor_uptimestring

user

KNMユーザーのユーザー名

id

モニターのID番号

deviceid

資産のID

返されるデータ

モニターの名前を含む文字列、およびアップタイム/ダウンタイム文字列(パイプ記号(|)で区切られる)。

CPU load Monitor | 0h 59m 35s