Page 1 of 1

Scheduled Downtime visibility issue

Posted: Thu Feb 06, 2014 5:53 am
by ppresq
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.

Re: Scheduled Downtime visibility issue

Posted: Thu Feb 06, 2014 10:17 am
by slansing
What do you have defined for these users in:

Code: Select all

/usr/local/nagios/etc/cgi.cfg

Re: Scheduled Downtime visibility issue

Posted: Fri Feb 07, 2014 4:26 am
by ppresq
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

Re: Scheduled Downtime visibility issue

Posted: Fri Feb 07, 2014 3:13 pm
by sreinhardt
Before I test this out, which version of core are you on presently?