Set Nagios to alert if a threshold is exceeded over time?

I have a server with a memory value that I want to monitor. If the value is over a certain amount over the course of an hour, I'd like to have an alert sent, but until then I'd like to have it ignore the plugin alert.

Is it possible to have Nagios alert only if a plugin has detected an issue for more than X number of minutes? (Or alternatively alert only if X number of warnings are gathered from the plugin?)

0
задан 27 February 2017 в 02:22
1 ответ

Точно не существует способа добиться «предупреждения, если это проблема в течение часа», но вы можете приблизиться к нему, понимая , как работают проверки и состояния .

Время между «проблемой» и «уведомлением» в основном зависит от check_interval , retry_interval и max_check_attempts .

0
ответ дан 5 December 2019 в 08:33

Теги

Похожие вопросы