A notification mystery
Posted: Fri Aug 30, 2019 10:51 am
Hello,
We've got a bit of a mystery on our hands involving notification.
Here's the setup:
We're trying to send critical alerts, and only critical alerts, to Service Desk -- we don't care about WARNS or OKs, we just want critical alerts.
We've written an event handler for both services and hosts which sends the alerts to SD and it works fine.
The problem is, we're getting ALL messages in SD, not just critical alerts. It gets weird from here.
We have a user and the user's ALERT settings are set to only alert on either critical service alerts, or host down. The notification command for this user is the SD handler. This user is set as a managed contact on all hosts and services.
So if I'm understanding the workflow correctly, the only notifications we should be seeing in SD are critical service alerts and/or host down, but that's not how it's working: we get everything, as I've said before.
Here's where it gets strange.
If I add a new host/service and assign the aforementioned user as a managed contact, it works -- we only see critical alerts in SD. I've looked and looked at the new service and an old service side-by-side, but I can't see any difference. I'm banging my head on my desk trying to figure this out.
Any idea where to look or what I might be doing wrong?
Thanks for any rendered help,
-- Mike Beebe
We've got a bit of a mystery on our hands involving notification.
Here's the setup:
We're trying to send critical alerts, and only critical alerts, to Service Desk -- we don't care about WARNS or OKs, we just want critical alerts.
We've written an event handler for both services and hosts which sends the alerts to SD and it works fine.
The problem is, we're getting ALL messages in SD, not just critical alerts. It gets weird from here.
We have a user and the user's ALERT settings are set to only alert on either critical service alerts, or host down. The notification command for this user is the SD handler. This user is set as a managed contact on all hosts and services.
So if I'm understanding the workflow correctly, the only notifications we should be seeing in SD are critical service alerts and/or host down, but that's not how it's working: we get everything, as I've said before.
Here's where it gets strange.
If I add a new host/service and assign the aforementioned user as a managed contact, it works -- we only see critical alerts in SD. I've looked and looked at the new service and an old service side-by-side, but I can't see any difference. I'm banging my head on my desk trying to figure this out.
Any idea where to look or what I might be doing wrong?
Thanks for any rendered help,
-- Mike Beebe