Nagios External Commands
Joerg Linge
pitchfork at ederdrom.de
Thu Apr 3 10:46:43 CEST 2008
Gavin Williams schrieb:
> 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
Your nagios.cmd is a regular file and _not_ a named pipe.
This file is not created by nagios!
Please delete this file and do a nagios restart.
The pipe should be created automaticaly.
Jörg
-------------------------------------------------------------------------
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
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