Nagios fails pre-launch verification step; "Unexpected token or statement" in command.cfg

Marc Powell marc at ena.com
Tue Mar 25 23:34:19 CET 2008



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Marc Powell
> Sent: Tuesday, March 25, 2008 5:19 PM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Nagios fails pre-launch verification
> step;"Unexpected token or statement" in command.cfg
> 
> 
>

 
> Curious as to why this hasn't come up before, I built the RPM from the
> tarball and see that this command.cfg isn't installed in the nagios
> configuration file directory but rather in
> /usr/share/doc/nagios-plugins-1.4.11/command.cfg. I suspect that is
> because it's been deprecated in favor of the sample commands file
> distributed with nagios since pre-2.0. I've reviewed the Fedora
> Quickstart and it doesn't mention this file at all so it should have
> remained there. Was it installed to ~nagios/etc/ automatically for
you?

I missed that it was installed in both places --

$rpm -qlp /usr/src/redhat/RPMS/i386/nagios-plugins-1.4.11-1.i386.rpm |
grep command
/etc/nagios/command.cfg
/usr/share/doc/nagios-plugins-1.4.11/command.cfg

Do you remember the order of installation (plugins then nagios perhaps)?

--
Marc

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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