external commands enable problems

Marc Powell marc at ena.com
Fri Jun 2 18:34:24 CEST 2006



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of mchoekst at mtu.edu
> Sent: Friday, June 02, 2006 10:29 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] external commands enable problems
> 
> hi list-
>   i am revamping a previous Nagios install, and when i set the
> check_external_commands=1 instead of 0, the web interface (at least)
of
> nagios dies.  what is more odd is that when i do a reload of the
config
> after this has occurred, it seems as though the nagios process wasnt
> running in the first place:
> 
> # reload when changing variable back to 0 when it was running as 1
> 
> server(21)% sudo /etc/rc.d/init.d/nagios reload
> Running configuration check...done
> Stopping network monitor: nagios
> /etc/init.d/nagios: line 66: kill: (588) - No such process
> Starting network monitor: nagios
>    PID TTY          TIME CMD
>    732 ?        00:00:00 nagios
> 
> # typical reload without changing this variable:
> 
> server(17)% sudo /etc/rc.d/init.d/nagios reload
> Running configuration check...done
> Reloading nagios configuration...done
> 
> 
> any advice would be appreciated

Check nagios.log for errors. A common error is that the directory that
nagios is trying to create the external command file (pipe) in doesn't
exist or has incorrect permissions.

--
Marc


_______________________________________________
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