Page 1 of 1
User accessing only one host group
Posted: Wed Oct 14, 2015 3:43 pm
by alexprinou
Re: User accessing only one host group
Posted: Wed Oct 14, 2015 6:57 pm
by Box293
When restricting nagios users to objects, it comes down to assigning the contact object to all the objects the user is allowed to see. Unfortunately this cannot be simply applied to a hostgroup.
This document is for Nagios XI however the principles are the same for Nagios Core:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
This presentation might also help:
https://www.youtube.com/watch?v=y3rOo0cHv5I
Does this answer your question?
Re: User accessing only one host group
Posted: Wed Oct 14, 2015 8:42 pm
by eloyd
Assuming you're using Nagios Core, not XI, the best you can do is assign contact X to each service/host combination that is appropriate, and then create an htpasswd entry for user X, and then when user X logs into the Nagios interface, they should only see the host/services that they are assigned to.
You can accomplish this through servicegroups, but not hostgroups.
Re: User accessing only one host group
Posted: Thu Oct 15, 2015 2:49 pm
by tmcdonald
@alexprinou, let us know if either of these posts work for what you need!