how do I get a particular User access only one host group on the map of Nagios?
User accessing only one host group
-
alexprinou
- Posts: 23
- Joined: Sat Apr 18, 2015 9:06 am
User accessing only one host group
Hello,
how do I get a particular User access only one host group on the map of Nagios?

how do I get a particular User access only one host group on the map of Nagios?
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: User accessing only one host group
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?
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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: User accessing only one host group
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.
You can accomplish this through servicegroups, but not hostgroups.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: User accessing only one host group
@alexprinou, let us know if either of these posts work for what you need!
Former Nagios employee