Walking Through Notifications
Posted: Wed Oct 30, 2013 11:34 am
I'm having some issues getting notifications to send out properly, and then there are others that are set to not notify at all, but they send notifications to nagiosadmin, and I'm not sure why. As a first step, I'm trying to walk through some of these service checks to make sure it's setup correctly.
For example, we have a service setup which checks the size of a file. If it's in a critical state, we mark it as such, but it should not be sending out any emails. The trace back looks like this:
The "Tracker In Pool" sends notifications to nagiosadmin. The templates it uses, in this order, are first noalert_metric_nsclient_service, then xiwizard_windowsserver_nsclient_service.
noalert_metric_nsclient_service has zero contacts or groups selected (but calls in xiwizard_generic_service)
xiwizard_windowsserver_nsclient_service has zero contacts or groups selected (but calls in xiwizard_generic_service)
xiwizard_generic_service has zero contacts or groups selected.
Tracker In Pool service has zero contacts or groups selected, defers notification enabled to templates
So nowhere is it specifying any sort of contact to send to, and yet it's sending one anyways.
Similarly, there are other service checks that should be sending to multiple contact groups, and no email alert is being triggered anywhere. Think of it as a reverse example of this. It makes me wonder if there's some sort of configuration error with writing my service checks and/or host checks or a way I can check notifications across the board. I should note that test emails from Nagios XI do go out successfully.
My OS is CentOS 6.4, and Nagios XI is 2012R2.5. Any help is creatly appreciated, and can provide any other info you might need.
Thanks!
For example, we have a service setup which checks the size of a file. If it's in a critical state, we mark it as such, but it should not be sending out any emails. The trace back looks like this:
The "Tracker In Pool" sends notifications to nagiosadmin. The templates it uses, in this order, are first noalert_metric_nsclient_service, then xiwizard_windowsserver_nsclient_service.
noalert_metric_nsclient_service has zero contacts or groups selected (but calls in xiwizard_generic_service)
xiwizard_windowsserver_nsclient_service has zero contacts or groups selected (but calls in xiwizard_generic_service)
xiwizard_generic_service has zero contacts or groups selected.
Tracker In Pool service has zero contacts or groups selected, defers notification enabled to templates
So nowhere is it specifying any sort of contact to send to, and yet it's sending one anyways.
Similarly, there are other service checks that should be sending to multiple contact groups, and no email alert is being triggered anywhere. Think of it as a reverse example of this. It makes me wonder if there's some sort of configuration error with writing my service checks and/or host checks or a way I can check notifications across the board. I should note that test emails from Nagios XI do go out successfully.
My OS is CentOS 6.4, and Nagios XI is 2012R2.5. Any help is creatly appreciated, and can provide any other info you might need.
Thanks!