thanks, my error was by the SELinux. I change the config file of the SELinux
and I change to permissible and reboot my machine and the external commands
is right
From: "Marc Powell" <[EMAIL PROTECTED]>
To: <[email protected]>
Subject: Re: [Nagios-users] error check external commands
Date: Fri, 10 Nov 2006 10:02:48 -0600
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: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Carlos Sánchez
> Sent: Friday, November 10, 2006 8:32 AM
> To: [email protected]
> 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 <[EMAIL PROTECTED]>
> >To: Carlos Sánchez <[EMAIL PROTECTED]>
> >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
[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
_________________________________________________________________
Stay in touch with old friends and meet new ones with Windows Live Spaces
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
-------------------------------------------------------------------------
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
[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