Nagios 3 external commands problem
Israel Brewster
israel at frontierflying.com
Thu Apr 10 20:11:52 CEST 2008
I apologize for asking what I had thought was a FAQ, but I can't seem
to find the needed info now. At any rate, I just got finished updating
my nagios install to version 3 (OpenBSD 4.2 OS), and aside from the
lack of a decent status map (no one has any suggestions there?
Really?) it's working. With the exception of external commands from
the web interface. For some reason, whenever I attempt an external
command from the web, I get the following error:
Sorry, but you are not authorized to commit the specified command.
Read the section of the documentation that deals with authentication
and authorization in the CGIs for more information.
Return from whence you came
I have the following in my cgi.cfg file:
authorized_for_configuration_information=admin
authorized_for_system_commands=*
I actually don't want the "*" there, but I stuck it in just to see if
it fixed the issue. It didn't. I am authorized to the web server, as I
got the login/password prompt, and nagios recognizes the fact in the
little header on every page that says "logged in as". The /var/nagios/
rw/nagios.cmd file exists with permissions prw-rw---- 1 _nagios www,
and my apache error logs show no errors when attempting to run the
command. What am I missing? Thanks!
-----------------------------------------------
Israel Brewster
Computer Support Technician
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list