Notifications going to an *unintended* contact?
Posted: Tue Apr 30, 2019 4:24 pm
Hello, I have a nagios core installation that appears to try to send notifications for certain objects to a certain contact that I do *not* want it to.
I cannot find any place in the configs that relates that contact to that object.
I know it's that contact and not just the email somehow assigned to a different contact or forwarded because the var/nagios.log says so via line "SERVICE NOTIFICATION". That also gets the contents of the notification commands off of the hook.
So is there any tool that lays bare what logic nagios uses to determine which contacts should be used for any specific notification event?
Kind of like devtools in all modern web browsers lays bare the logic behind why a certain HTML element got the CSS rules that it did?
Also I appreciate that I can post configs and folk could probably help me find what's wrong in this specific circumstance, but I'm hoping for more of a general kind of tool or strategy to troubleshoot this sort of thing, since tomorrow it could happen with a different notification, and the configs are kind of a complicated mess full of sensitive stuff I'd have to pick through and redact first. :/
So any general strategies would be apprecited, thank you folks.
I cannot find any place in the configs that relates that contact to that object.
I know it's that contact and not just the email somehow assigned to a different contact or forwarded because the var/nagios.log says so via line "SERVICE NOTIFICATION". That also gets the contents of the notification commands off of the hook.
So is there any tool that lays bare what logic nagios uses to determine which contacts should be used for any specific notification event?
Kind of like devtools in all modern web browsers lays bare the logic behind why a certain HTML element got the CSS rules that it did?
Also I appreciate that I can post configs and folk could probably help me find what's wrong in this specific circumstance, but I'm hoping for more of a general kind of tool or strategy to troubleshoot this sort of thing, since tomorrow it could happen with a different notification, and the configs are kind of a complicated mess full of sensitive stuff I'd have to pick through and redact first. :/
So any general strategies would be apprecited, thank you folks.