nagios.cmd file

Marc Powell marc at ena.com
Fri Sep 9 18:12:43 CEST 2005



> -----Original Message-----
> From: Bobby Bradshaw [mailto:bobby.bradshaw at gmail.com]
> Sent: Friday, September 09, 2005 10:59 AM
> To: Marc Powell
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] nagios.cmd file
> 
> I looked at the reference location in the nagios.cfg file already,
> which is /var/spool/nagios/nagios.cmd and it is not there. I also
> looked anywhere on my nagios server where Nagios is referenced and
> ....no nagios.cmd file.

Can nagios write to that location?

> 
> Nagios documentation says that that file is created on nagios startup,
> then deleted on shutdown.  Well, my Nagios is running fine, but can't
> find nagios.cmd file.

Did you verify the other required configuration options are
enabled/correct as per the documentation reference I included?

--
Marc

> 
> 
> On 9/9/05, Marc Powell <marc at ena.com> wrote:
> >
> >
> > > -----Original Message-----
> > > From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-
> > > admin at lists.sourceforge.net] On Behalf Of Bobby Bradshaw
> > > Sent: Friday, September 09, 2005 10:39 AM
> > > To: nagios-users at lists.sourceforge.net
> > > Subject: [Nagios-users] nagios.cmd file
> > >
> > > Hi all!
> > >
> > > I cannot locate my nagios.cmd file in my Nagios server.
> >
> > Look at the value of command_file in nagios.cfg. Of course, that's
not
> > enough to enable processing of external commands but that will tell
you
> > where the file will be located if external command processing is
> > enabled.
> >
> > >
> > > My Nagios setup is:
> > > Suse 9.3 Professional
> > > Nagios v1.2
> > > Nagios plugins v1.4
> > > Nagios nrpe v2.0
> > >
> > > I want to execute remote commands, i.e. schedule downtime, disable
> > > notifications, etc.  But, I cannot locate my nagios.cmd file
anywhere.
> > >
> > > Any assistance is greatly appreciated.
> >
> > Documentation is a good place to start --
> >
> > http://nagios.sourceforge.net/docs/1_0/extcommands.html


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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