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.
Regarding each of the authorized_for_* parameters in nagios.cfg, I've only listen myself to be able to have full access to the cgis, however I'm logged in as another user right now and I've found that they too can issue external commands.
What did you do in the interface to produce this result? I'd like to try and reproduce it. Can the user change or view anything listed in the authorized_for_* list? What version of Nagios Core are you using?
Well unfortunately I changed quite a bit of variables in my Nagios setup to really isolate the problem.
1) I moved a Nagios 2 installation on a CentOS to an Ubuntu machine
2) I Upgraded to Nagios3 which was in the repos
3) I ditched apache for nginx
From the data I've gathered I believe the issue is with Nginx. I'm thinking that nginx is bypassing nagios cgi authentication, but I'm still looking into how Nagios implements the cgi security.. but it's a good bet the problem is with Nginx. I'll will post my findings.
That is a total possibility, we have seen this behavior before with nginx as Nagios is specifically designed to work with Apache authentication. Would you have a chance to fork your Core install to an ubuntu system running Apache2?
Nginx and cgis do not get along so well. Core cgis really assume apache2. Let us know how the test goes.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.