HI there,
I'm having some issues with Nagios External commands.
Basically, they're not working.
I've compiled Nagios with cmdgroup=nagcmd, added Nagios and apache users
to the nagcmd group.
I can see the commands being written to Nagios.cmd in /opt/nagio/var/rw/
however they don't go anywhere from there...
The relevant lines in my Nagios.cfg file looks like this:
check_external_commands=1
command_check_interval=30s
command_file=/opt/nagios/var/rw/nagios.cmd
downtime_file=/opt/nagios/var/downtime.dat
comment_file=/opt/nagios/var/comments.dat
The permissions on the folder look like this:
drwxrwsr-x 2 nagios nagcmd 4096 Apr 2 16:42 .
-rw-r--r-- 1 apache nagcmd 249 Apr 2 16:45 nagios.cmd
Any ideas what it could be?
Cheers
Gavin
________________________________________________________________________
Please consider the environment - do you really need to print this email?
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System - http://www.messagelabs.com.
________________________________________________________________________
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Nagios-users mailing list
[email protected]
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