Templates and notifications for contact
Posted: Mon Sep 12, 2011 5:40 pm
Greetings,
Having some issues with templates and notifications. R1.7 prebuilt VM.
I've created a user (z30683as) as admin. I've assigned an email and pager address to this user.
I've gone in a changed notification preferences to email and SMS.
I've selected the type of alerts I'd like to receive (host down, up and recovered).
I've tested via the Send Test Notification and it works as designed. I receive email and SMS test.
Now I created a Host Template and assigned it the check_xi_host_ping command check with no additional templates
defined.
The Check Settings are 24x7 and 5 max attempts with retry at 1 and check interval at 5 and active checks are enabled.
In Alert Settings, I've assigned the previous defined user as the Contact with:
notification period 24x7
notification interval 15
notification options (d) (u) (r)
I then created a host and assigned it the Host Template I defined.
When I test the host by disabling the NIC, Nagios sees the event but does not notify me.
I cannot figure out where I have missed the notification option.
My understanding is if I define a Contact in a Host Template, and assign that template to a host, it should
inherit the Contact notifications from the template. However I am not seeing this.
Any idea where I have gone wrong on this? Thanks for any input.
Jeff
Having some issues with templates and notifications. R1.7 prebuilt VM.
I've created a user (z30683as) as admin. I've assigned an email and pager address to this user.
I've gone in a changed notification preferences to email and SMS.
I've selected the type of alerts I'd like to receive (host down, up and recovered).
I've tested via the Send Test Notification and it works as designed. I receive email and SMS test.
Now I created a Host Template and assigned it the check_xi_host_ping command check with no additional templates
defined.
The Check Settings are 24x7 and 5 max attempts with retry at 1 and check interval at 5 and active checks are enabled.
In Alert Settings, I've assigned the previous defined user as the Contact with:
notification period 24x7
notification interval 15
notification options (d) (u) (r)
I then created a host and assigned it the Host Template I defined.
When I test the host by disabling the NIC, Nagios sees the event but does not notify me.
I cannot figure out where I have missed the notification option.
My understanding is if I define a Contact in a Host Template, and assign that template to a host, it should
inherit the Contact notifications from the template. However I am not seeing this.
Any idea where I have gone wrong on this? Thanks for any input.
Jeff