User access only to some services

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
jose_a_guardia
Posts: 13
Joined: Fri Dec 04, 2015 2:40 am

User access only to some services

Post by jose_a_guardia »

Hello.

I know authorized_for_all_services option, but I want to grant read-only access to a user but only to some services or hosts.

Is this possible?

Thanks!
jose_a_guardia
Posts: 13
Joined: Fri Dec 04, 2015 2:40 am

Re: User access only to some services

Post by jose_a_guardia »

Solved:
add user to contacts.cfg and to htpasswd.users with the same name
Add "contacts userName" to the host definition
Add the username to cgi.cfg authorized_for_read_only option
Restart nagios

That's all!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: User access only to some services

Post by tmcdonald »

Sorry we didn't catch this, offices weren't yet open.

Glad you resolved it though. I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked