External Commands

Marc Powell mpowell at ena.com
Fri Jul 25 18:11:02 CEST 2003


This is almost certainly a permissions issue. Is httpd a member of group
nagiocmd and has it been restarted since it was added? How about the
directories above rw... Are they accessible by httpd? 

--
Marc

> -----Original Message-----
> From: Patrick Hasenjager [mailto:phasenjager at fzacpa.com]
> Sent: Friday, July 25, 2003 10:55 AM
> To: Marc Powell
> 
> I have followed all instructions from the docs.
> 
> when I do an ls from the var directory rw shows as
> 
> drwxrws---     2 nagios   nagiocmd     4096  July 25 09:57 rw
> 
> when I do an ls on the rw directory is shows
> 
> prw-rw----      1 nagios   nagiocmd          0 Jul 25 09:57 nagios.cmd
> 
> -
> Pat.
> 
> 
> 
> >>> "Marc Powell" <mpowell at ena.com> 07/25/03 10:21:01 AM >>>
> Have you created the 'rw' directory with the proper permissions and
> restarted nagios?
> 
> http://nagios.sourceforge.net/docs/1_0/commandfile.html
> 
> --
> Marc
> 
> > -----Original Message-----
> > From: Patrick Hasenjager [mailto:phasenjager at fzacpa.com]
> > Sent: Friday, July 25, 2003 10:04 AM
> > To: nagios-users at lists.sourceforge.net
> >
> > Hello,
> >
> > I'm new to nagios.  Everything is working properly except, when I
> try
> > to do anything that requires an external command it gives me the
> > following error...
> >
> > - - - - -
> > Error: Could not stat() command file
> > '/usr/local/nagios/var/rw/nagios.cmd'!
> >
> > The external command file may be missing, Nagios may not be running,
> > and/or Nagios may not be checking external commands.
> >
> > An error occurred while attempting to commit your command for
> > processing.
> > - - - - -
> >
> > I have enabled external commands in nagios.cfg.
> >
> > Any suggestions?
> >
> > Thanks.
> >
> > Patrick Hasenjager
> > Technical Support Specialist
> > Frankel, Zacharia, Arnold, Nissen, Stamp & Reinsch, LLC
> >
> > Main: (402) 496-9100
> > Desk: (402) 963-4340
> > Fax: (402) 496-1024
> > phasenjager at fzacpa.com
> >
>
************************************************************************
> **
> >
> > This e-mail and any attachments are intended only for the addressee.
> If
> > you are not the addressee you should not disseminate, distribute or
> copy
> > this e-mail or attachments.  Please immediately notify the sender if
> you
> > have received this e-mail by mistake and delete it from your system.
> > E-mail transmission cannot be guaranteed secure or error-free as
> > information could be intercepted, corrupted, lost, destroyed, arrive
> late
> > or incomplete, or contain viruses.  The sender does not accept
> liability
> > for errors or omissions in the contents of this message which arise
> or
> > occur during transmission.  We will provide a "hard-copy" version of
> the
> > message and attachments upon request.
> >
> > Although reasonable precautions are taken to assure this e-mail is
> virus
> > free, we do not accept responsibility for the loss or damage arising
> from
> > the use of this e-mail or attachments.
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email sponsored by: Free pre-built ASP.NET sites
> including
> > Data Reports, E-commerce, Portals, and Forums are available now.
> > Download today and enter to win an XBOX or Visual Studio .NET.
> > http://aspnet.click-
> > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> > _______________________________________________
> > 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


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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