See a host, but not get notifications for it
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
See a host, but not get notifications for it
What's the best way to give a user access to view a particular host in Nagios, but not receive email notifications on that particular host? I don't want them to see all hosts, just ones they manage. I want them to receive notifications on the other hosts they manage, but not this one. I want other users to be able to receive notifications for this host, just not a specific group of users.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: See a host, but not get notifications for it
Create a read only user with a contact, then assign that contact to just that host. Disable notifications on that contact's configuration. That is how I would go about this.
You can create an additional contact for their notifications, and apply that separately.
You can create an additional contact for their notifications, and apply that separately.
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: See a host, but not get notifications for it
Hmmm, I'm not sure I 100% follow. We use active directory authentication to sign in, and when I create a User I check the 'create monitoring contact' option as well, so this particular user has a contact associated with his User ID already. Are you saying I can create a second contact and assign it to the same user? If so, how would I go about assigning a local contact to a specific user?
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: See a host, but not get notifications for it
OH so this is an existing user, that has access to other hosts\services and gets notifications for them? If so short of creating a completely secondary user, or having that host\service not notify at all, there isn't too much you can do. (at least off the top of my head)
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.
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: See a host, but not get notifications for it
Ah. Well crap. Ah well, not a huge deal I suppose. Feature request!
But seriously, would this be something worthy of a feature request? The ability to make specific users able to see a host or set of hosts and not be notified when there's problems on it? This has actually come up a few times in the past for us and I've never really had a good way of doing it. Maybe have like 2 options, Notification contact and Monitoring contact where Notification means they can see it in Nagios and get notifications and Monitoring means they can see it but won't get emails? I dunno, just shooting out ideas.
Re: See a host, but not get notifications for it
You are welcome to file a feature request on our tracker here:
http://tracker.nagios.com
...or I can do it for you.
It's an interesting idea, however I am not sure many users would be interested in this functionality. If there is enough interest, we could implement this in one of our future releases.
http://tracker.nagios.com
...or I can do it for you.
It's an interesting idea, however I am not sure many users would be interested in this functionality. If there is enough interest, we could implement this in one of our future releases.
Be sure to check out our Knowledgebase for helpful articles and solutions!