Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have nagios contacts set up, and these successfully limit access to view hosts and services in the nagios web UI.

But pnp4nagios gives access to all graphs (by editing the hostname and service name in the URL) - it does not respect the nagios-defined access controls.

Is it possible to configure this? (either using nagios contacts, or some other ACL mechanism)

share|improve this question

1 Answer 1

It is the Nagios cgi code that limits access to specific 'pages' of the GUI. So this solution would depend on the whether you wanted to restrict access to all graphs - this would require you to copy over the ACL entry used in your httpd server to the folder used for the pnp4nagios code and temp file directories. If, however, you wanted to duplicate the rights used by Nagios - you would have to modify the pnp4nagios code to perform what the Nagios cgi code does. I'd submit a request to pnp4nagios.org, they may do this for you.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.