mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-05-05 00:37:37 +00:00
35 lines
730 B
JSON
35 lines
730 B
JSON
{
|
|
"plugin": "custom",
|
|
"pluginConfig": {
|
|
"invoke_interval": "30s",
|
|
"timeout": "5s",
|
|
"max_output_length": 80,
|
|
"concurrency": 3,
|
|
"enable_message_change_based_condition_update": false
|
|
},
|
|
"source": "ntp-custom-plugin-monitor",
|
|
"metricsReporting": true,
|
|
"conditions": [
|
|
{
|
|
"type": "NTPProblem",
|
|
"reason": "NTPIsUp",
|
|
"message": "ntp service is up"
|
|
}
|
|
],
|
|
"rules": [
|
|
{
|
|
"type": "temporary",
|
|
"reason": "NTPIsDown",
|
|
"path": "./config/plugin/check_ntp.sh",
|
|
"timeout": "3s"
|
|
},
|
|
{
|
|
"type": "permanent",
|
|
"condition": "NTPProblem",
|
|
"reason": "NTPIsDown",
|
|
"path": "./config/plugin/check_ntp.sh",
|
|
"timeout": "3s"
|
|
}
|
|
]
|
|
}
|