Nagios to Alret only if Device is down for more than 5 min
Posted: Thu Nov 03, 2011 12:29 am
Hi,
I have configured Nagios® Core⢠Version 3.2.2, I have configured a switch, Which goes down very often and comes up by its own, I want to configure nagios in such a way that if the switch is down for more than 5 minutes, Then only I should get alert. Attaching the service.cfg file.
Please let me know where should I do the changes in the config file.
define service{
host_name ie-b.mycompany.com
service_description LAN
check_command check_snmp_int!public!ethernet0/0
# first_notification 30
max_check_attempts 1
normal_check_interval 5
retry_check_interval 3
check_period 24x7
notification_interval 2280
notification_period 24x7
notification_options w,c,r
contact_groups Network
}
Thank you
I have configured Nagios® Core⢠Version 3.2.2, I have configured a switch, Which goes down very often and comes up by its own, I want to configure nagios in such a way that if the switch is down for more than 5 minutes, Then only I should get alert. Attaching the service.cfg file.
Please let me know where should I do the changes in the config file.
define service{
host_name ie-b.mycompany.com
service_description LAN
check_command check_snmp_int!public!ethernet0/0
# first_notification 30
max_check_attempts 1
normal_check_interval 5
retry_check_interval 3
check_period 24x7
notification_interval 2280
notification_period 24x7
notification_options w,c,r
contact_groups Network
}
Thank you