Hello Nagios users!
Is there a way to restrict the visibility of scheduled downtime hosts to a relevant host / per user?
At the moment I have few test users created with each attached to different host. Every user can monitor services only of their own host, unable see the rest, which actually works like expected. Somehow under Scheduling Downtime tab all the hosts are visible for each user to schedule a downtime. It looks like a bug or configuration issue, I tried to wander through restrictions but with no effect.
Could you share you thoughts about this? Thank you in advance for any feedback.
Scheduled Downtime visibility issue
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Scheduled Downtime visibility issue
What do you have defined for these users in:
Code: Select all
/usr/local/nagios/etc/cgi.cfgRe: Scheduled Downtime visibility issue
Hi slansing! Thank you for your reply.
I have the users setup like below:
authorized_for_all_services=admin,admin
authorized_for_system_commands=admin,nagiosadmin,[email protected],[email protected], [email protected]
authorized_for_system_information=admin,nagiosadmin,[email protected],[email protected], [email protected]
authorized_for_read_only=anonymous
That's all I have under authorization. Is there a way to restrict user1...user(n) from viewing all hosts in Scheduling Information and Event Log tabs (in a way that they can see only hosts assigned to them)?
edit: forgot about the most improtant #authorized_for setting
Best!
Pawel
I have the users setup like below:
authorized_for_all_services=admin,admin
authorized_for_system_commands=admin,nagiosadmin,[email protected],[email protected], [email protected]
authorized_for_system_information=admin,nagiosadmin,[email protected],[email protected], [email protected]
authorized_for_read_only=anonymous
That's all I have under authorization. Is there a way to restrict user1...user(n) from viewing all hosts in Scheduling Information and Event Log tabs (in a way that they can see only hosts assigned to them)?
edit: forgot about the most improtant #authorized_for setting
Best!
Pawel
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Scheduled Downtime visibility issue
Before I test this out, which version of core are you on presently?
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.