Different notification interval for a service for 2 contacts
Posted: Tue Sep 09, 2014 6:59 am
Hi All,
We are using Nagios XI 2011R1.9.
I have a services for which the notification_interval is 12 hrs (defined in the service template definition), and contacts associated with this service getting notified properly but one more new contacts wants to get notified in every 30 min. for the same service.. Can anyone please share any approach to solve this so that different contact will get notified in a different time interval for the same service.
Thanks in advance!!!!
below are the configurations.
Service Definition :-
define service {
service_description Total Processes
use xxx_linux
hostgroup_name Linux
check_command check_nrpe!check_procs!-a '-w 260 -c 275'!!!!!!
register 1
}
Service Templates :-
define service {
name xxx_linux
service_description Linux
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 720
notification_period 24x7
notification_options w,r,c,f
notifications_enabled 1
contacts grp aod solinux
register 0
}
Contacts definition :-
define contact {
contact_name grp aod solinux
alias grp aod solinux
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period 24x7
service_notification_period 24x7
host_notification_options d,r,f
service_notification_options w,c,r
host_notification_commands notify-host-by-email
service_notification_commands notify-service-by-email
email [email protected]
}
With Regards,
Bijay Ojha
We are using Nagios XI 2011R1.9.
I have a services for which the notification_interval is 12 hrs (defined in the service template definition), and contacts associated with this service getting notified properly but one more new contacts wants to get notified in every 30 min. for the same service.. Can anyone please share any approach to solve this so that different contact will get notified in a different time interval for the same service.
Thanks in advance!!!!
below are the configurations.
Service Definition :-
define service {
service_description Total Processes
use xxx_linux
hostgroup_name Linux
check_command check_nrpe!check_procs!-a '-w 260 -c 275'!!!!!!
register 1
}
Service Templates :-
define service {
name xxx_linux
service_description Linux
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 720
notification_period 24x7
notification_options w,r,c,f
notifications_enabled 1
contacts grp aod solinux
register 0
}
Contacts definition :-
define contact {
contact_name grp aod solinux
alias grp aod solinux
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period 24x7
service_notification_period 24x7
host_notification_options d,r,f
service_notification_options w,c,r
host_notification_commands notify-host-by-email
service_notification_commands notify-service-by-email
email [email protected]
}
With Regards,
Bijay Ojha