error check external commands

Marc Powell marc at ena.com
Fri Nov 10 17:02:48 CET 2006


Either you did not completely follow the documentation on enabling external command and your web server is not in the nagios group (and restarted), a directory above /nagios/var/rw/nagios.cmd does not have sufficient permissions to allow your web server access to that file or you have SELinux enabled and it is blocking access to that file from your web server. Those are the most likely problems given the information you've provided.

Check your http error log and messages log.

--
Marc

> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Carlos Sánchez
> Sent: Friday, November 10, 2006 8:32 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] error check external commands
> 
> The file /nagios/var/rw/nagios.cmd exist, and have this permisions
> 
> prw-rw---- 1 nagios nagios 0 Nov 10 04:19 nagios.cmd
> 
> 
> >From: Shivkumar <shivkumar at outbackwifi.com>
> >To: Carlos Sánchez <cjsanz4job at hotmail.com>
> >Subject: Re: [Nagios-users] error check external commands
> >Date: Fri, 10 Nov 2006 19:57:57 +0530
> >
> >
> >Carlos Sánchez said the following:
> > >  Error: Could
> > > not stat() command file '/nagios/var/rw/nagios.cmd'!
> > >
> > > Any body know why?
> > >
> >Umm, Sure! the /nagios/var/rw/nagios.cmd file doesnt exist?
> 
> _________________________________________________________________
> All-in-one security and maintenance for your PC.  Get a free 90-day trial!
> http://clk.atdmt.com/MSN/go/msnnkwlo0050000002msn/direct/01/?href=http://w
> ww.windowsonecare.com/?sc_cid=msn_hotmail
> 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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