Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
check_interval 5 ; Actively check the printer every 5 minutes
retry_interval 1 ; Schedule host check retries at 1 minute intervals
max_check_attempts 10 ; Check each printer 10 times (max)
It took 15 minutes before I got a email telling me the switch was down. So what would be the best way to get alerted within or under a minute it is down?
Code: Select all
check_interval 5 ; Actively check the printer every 5 minutes
retry_interval 1 ; Schedule host check retries at 1 minute intervals
max_check_attempts 10 ; Check each printer 10 times (max)
It took 15 minutes before I got a email telling me the switch was down. So what would be the best way to get alerted within or under a minute if the switch goes down?
You have set the max_check_attempts to 10, so the host will not going to into a HARD non-ok state ( generating notifiation ) until it's been re-tried 10 times. If set this to 1, it will send a notification right away without re-trying the host check.