ドキュメント内で参照されるすべての URL には、次の基本があります。
ベース URL
http://wdc.dotcom-monitor.com/apiv1/
すべてのタイプの操作、詳細なフィールドの説明、説明に関するメモの JSON 要求と応答オブジェクト
Get Registered Counter Information
URI を取得します。
/counterinfo/get/{collector UID}
保存された JSON (カテゴリに関する META..) を返します。
{ "GetCounterInfoResult":"{"results":[ { "CategoryName":"Sample Category 1", "InstanceList":[ "i-01","i-02", "_Total", "sdd" ], "CounterList":[ "c-01", "c-02" ] }, { "CategoryName":"Sample Category 2", "InstanceList":[ "b-01", "b-02", "_Total" ], "CounterList":[ "d-01", "d-02" ] }, { "CategoryName":"S001", "InstanceList":null, "CounterList":[ "var–1" ] } ] }" }
Register Counter Info
投稿 URI:
/counterinfo/post/{Collector UID}
カスタムカウンター
{ "results": [ { "CategoryName": "Sample Category 1", "InstanceList": [ "i-01", "i-02", "_Total" ], "CounterList": [ "c-01", "c-02" ] }, { "CategoryName": "Sample Category 2", "InstanceList": [ "b-01", "b-02", "_Total" ], "CounterList": [ "d-01", "d-02" ] } ] }
SNMP カウンタ
{ "results": { "OIDs":[ "Sample OID 1", "Sample OID 2" ] } }
Get Tasks List
URI を取得します。
/tasks/get/{collector UID}
タスクリストを含むJSONを返します。
{ "Sample Task UID 1": "Sample Counter Path 1", "Sample Task UID 2": "Sample Counter Path 2" }
Send collected Counter Values
投稿 URI:
/tasks/post/{Collector UID}
投稿コンテンツ:
{ "Sample Task UID 1": 2343.44, "Sample Task UID 2": 8292 }