Watchdog 設定

Watchdog 設定では以下のオプションを使用できます。
nfa1000
Watchdog 設定では以下のオプションを使用できます。
すべての Watchdog データの読み取り
リソース
URI
http://<nfa odata host>:<nfa odata port>/odata/api/watchDogSettings
メソッド
GET
サンプル リクエスト
http://127.0.0.1:8981/odata/api/watchDogSettings
サンプル レスポンス
{
"@odata.context": "$metadata#watchDogSettings",
"value": [
{
"Parameter": "watchdogCommunity",
"Label": "Community String",
"Value": "public"
},
{
"Parameter": "watchdogCPUThreshold",
"Label": "CPU Threshold",
"Value": "80"
},
{
"Parameter": "watchdogDiskThreshold",
"Label": "Disk Threshold",
"Value": "80"
},
{
"Parameter": "watchdogEmailDest",
"Label": "Email Address",
"Value": "<no default>"
},
{
"Parameter": "watchdogMemoryThreshold",
"Label": "Memory Threshold",
"Value": "80"
},
{
"Parameter": "watchdogSnmpRetry",
"Label": "SNMP Retries",
"Value": "2"
},
{
"Parameter": "watchdogSnmpTimeout",
"Label": "SNMP Timeout",
"Value": "5"
},
{
"Parameter": "watchdogSystemCheck",
"Label": "System Check Interval",
"Value": "60"
},
{
"Parameter": "watchdogTrapCommunity",
"Label": "Trap Community String",
"Value": "public"
},
{
"Parameter": "watchdogTrapDestination",
"Label": "Trap Destination",
"Value": "10.10.10.101"
}
]
}
特定の Watchdog の読み取り
リソース
URI
http://<nfa odata host>:<nfa odata port>/odata/api/watchDogSettings('<
Watchdog setting's Parameter value>
')
メソッド
GET
サンプル リクエスト
http://127.0.0.1:8981/odata/api/watchDogSettings('watchdogCommunity')
サンプル レスポンス
{
"@odata.context": "$metadata#watchDogSettings",
"Parameter": "watchdogCommunity",
"Label": "Community String",
"Value": "public"
}
Watchdog の編集
リソース
URI
http://<nfa odata host>:<nfa odata port>/odata/api/watchDogSettings('<
Watchdog setting's Parameter value>
')
メソッド
PATCH
ペイロード
{
"Value": "<Enter the new value of the 
Watchdog setting's Parameter
>"
}
サンプル リクエスト
http://127.0.0.1:8981/odata/api/watchDogSettings('watchdogTrapDestination')
サンプル ペイロード
{
"Value": "127.0.0.1"
}
サンプル レスポンス
この API に対するレスポンスはありません。