Page 1 of 1
See a host, but not get notifications for it
Posted: Wed Mar 19, 2014 3:45 pm
by snapon_admin
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.
Re: See a host, but not get notifications for it
Posted: Wed Mar 19, 2014 3:48 pm
by slansing
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.
Re: See a host, but not get notifications for it
Posted: Wed Mar 19, 2014 4:03 pm
by snapon_admin
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?
Re: See a host, but not get notifications for it
Posted: Wed Mar 19, 2014 4:44 pm
by sreinhardt
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)
Re: See a host, but not get notifications for it
Posted: Thu Mar 20, 2014 11:25 am
by snapon_admin
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
Posted: Thu Mar 20, 2014 4:01 pm
by lmiltchev
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.