Hi,
I am wondering if it is somewhat easily possible to specify specific notification preferences (enable/disable notifications, I don't want flapping alerts, etc) for each notification method (email, sms, twitter, etc)?
I am trying to get to an end state where users can log into XI, enable/disable their notifications, set their own preferences but be able to differentiate between SMS and Email. An example would be that I want ALL alerts to go via Email, but only Service Critical and Host Down alerts to go to SMS. I imagine this is a pretty common request so I am hoping I'm either missing something or there is a pre-baked solution out there that I just can't seem to find. I think in the end it would mean that each notification method for each user has it's own contact and then maybe a contact group to group all the methods together?
I understand this is possible with normal contacts and contact groups (which is what we're using now), but currently users can't manage their own preferences without going into the CCM nor does the downtime scheduling work properly from the XI interface (Core works fine).
I am grateful for any support or help you could provide!
Different Notification Prefs for each Notification Method?
Re: Different Notification Prefs for each Notification Metho
Each user in XI can manager his/her notification preferences, methods, and messages. (click on the username in the upper right corner, then select any of the menus under the "Notification Options" on the left)...currently users can't manage their own preferences without going into the CCM...
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Different Notification Prefs for each Notification Metho
Hi lmiltchev,lmiltchev wrote:Each user in XI can manager his/her notification preferences, methods, and messages. (click on the username in the upper right corner, then select any of the menus under the "Notification Options" on the left)...currently users can't manage their own preferences without going into the CCM...
Sorry, that was an oversight on my part, maybe I didn't explain clearly.
In order to get the results I need I need to have two different contacts for each person: username_email and username_text. Using that method they can't manage their own preferences via XI menus because their contact isn't tied to their user account. They have to make changes via the CCM which requires a config rehash.
In essence, it would be nice if there was a way to be able to specify more explicit settings via the XI user interface. An example: "I don't want critical alerts for my mobile notification method, but do want it for the email notification method."
Hopefully that was more clear!
Re: Different Notification Prefs for each Notification Metho
Smark,
Amen brother! Go add your voice to the feature request, so they know more people want it!
http://tracker.nagios.com/view.php?id=429
Amen brother! Go add your voice to the feature request, so they know more people want it!
http://tracker.nagios.com/view.php?id=429
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Different Notification Prefs for each Notification Metho
Done! Here's hoping it gets implemented soon! Does anyone have a temporary workaround for now?BanditBBS wrote:Smark,
Amen brother! Go add your voice to the feature request, so they know more people want it!
http://tracker.nagios.com/view.php?id=429
Re: Different Notification Prefs for each Notification Metho
I use the same workaround you mentioned, 2 ID's per person, which is ugly with 150 users and complicated as ever setup.Smark wrote:Done! Here's hoping it gets implemented soon! Does anyone have a temporary workaround for now?BanditBBS wrote:Smark,
Amen brother! Go add your voice to the feature request, so they know more people want it!
http://tracker.nagios.com/view.php?id=429
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Different Notification Prefs for each Notification Metho
I may be wrong, and often am... but I believe this is more a limitation of core. If we were to do something similar to this, it would require a single XI user and dual core contacts, with the present way this is implemented. I can absolutely see where this is useful to have, but as stated, I don't think it's purely an XI issue. Could you also post a feature request to allow a core user to use different notification methods for different alerts. (should go to tracker.nagios.org as XI and core are separate trackers) Something like:
Having options such as this would allow us to enable this in XI in a 1 user to 1 contact way, and get this passed through much quicker! The only other way I could see doing this is using free variables to define your command on a per contact\user basis and create a custom notification that pulled the other needed arguments normally. This could be pretty easily done via templating... possibly. I may play around with this later, it's a cool idea.
Code: Select all
Host Notification Options 1: U,D
Host Notification Command 1: notify-host-by-email
Host Notification Options 2: S,F
Host Notification Command 2: notify-host-by-pagerNagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Different Notification Prefs for each Notification Metho
But XI uses the XI_Service_notification_handler and XI_Host_notification_handler to do notifications. That means it follows whatever is in the user's XI account, not their core contact. Those two things can be extremely different and it won't care what is in the core contact if using the XI handlers.sreinhardt wrote:I may be wrong, and often am... but I believe this is more a limitation of core. If we were to do something similar to this, it would require a single XI user and dual core contacts, with the present way this is implemented. I can absolutely see where this is useful to have, but as stated, I don't think it's purely an XI issue. Could you also post a feature request to allow a core user to use different notification methods for different alerts. (should go to tracker.nagios.org as XI and core are separate trackers) Something like:Having options such as this would allow us to enable this in XI in a 1 user to 1 contact way, and get this passed through much quicker! The only other way I could see doing this is using free variables to define your command on a per contact\user basis and create a custom notification that pulled the other needed arguments normally. This could be pretty easily done via templating... possibly. I may play around with this later, it's a cool idea.Code: Select all
Host Notification Options 1: U,D Host Notification Command 1: notify-host-by-email Host Notification Options 2: S,F Host Notification Command 2: notify-host-by-pager
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Different Notification Prefs for each Notification Metho
I suppose this is a valid argument. Modifying the user page and postgres db to include additional definitions could be possible. It's a bit out of my league though, not a DB person. I'll check with scott as time permits.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.