I have a server that requires monitoring but is behind a firewall so I've setup the Nagios Passive Agent.
The agent is submitting various updates to the Nagios server, but not successfully.
I've cut and pasted the (get) URL it is attempting and pasted it directly into a browser - which looks something:
Code: Select all
http://myserver.com/nagios/cgi-bin/cmd.cgi?cmd_typ=30&cmd_mod=2&host=serverBehindFirewall&service=chk_disk_free_mb&plugin_state=2&plugin_output=+%2F+238829.28+MB+free+%2Fdev+8008.6914+MB+free+%2Fboot+191.20312+MB+free&performance_data=+%2F%3D238829.28MB%3B5000.0%3B1000.0%3B%3B+%2Fdev%3D8008.6914MB%3B5000.0%3B1000.0%3B%3B+%2Fboot%3D191.20312MB%3B5000.0%3B1000.0%3B%3B&btnSubmit=Commit
Code: Select all
External Command Interface
Last Updated: Fri Mar 8 14:28:44 UTC 2013
Nagios® Core™ 3.5.0rc1 - www.nagios.org
Logged in as nagiosadmin
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've tried following various forums/threads to get to the bottom of this. All the defaults in the installation have been used
As I try to get to the bottom of this, I'm wondering am I looking in the wrong log files - is there someplace else I should be looking to try and idenfity the problem.
Any help appreciated.