Ping is to noisy ( alarms to much ) Help


Im using ping below to check basic connectivity on a few boxes.
I would like it to alarm after for example the box is off the air for five minutes or so.
rather than ASAP when it goes unpingable.

with setup I have I get alarms soon as something dissappears , I need it to wait a bit
due to using dsl based connectivity in some places.

Ideas situaton check box every 60 sec for five min… if they all fail then alarm.


define service{
use generic-service ; Name of service template to use
host_name localhost, DENTON1,DENTON2,DENTON3,syslog, RADIUS1
service_description PING
is_volatile 0
check_period 24x7
max_check_attempts 5
normal_check_interval 5
retry_check_interval 5
contact_groups admins
notification_options w,u,c,r
notification_interval 960
notification_period 24x7
check_command check_ping!150.0,30%!500.0,60%


What do you mean alarm?
In the nagios cgi pages, any service check that fails, will ALWAYS show it’s present state. If the check failed, we want the cgi pages to show that this check failed. Now, if you are talking about it sending out a notification, then the notification will ONLY be sent out, after the state has changed from a SOFT critical/warning/etc. to a HARD whatever state.

If you don’t want the current state of a check to be displayed, unless it’s in a HARD state, on the cgi pages, then you will have to rewrite the source code for the cgi pages.