[Nagiosplug-help] PB of checking configuration

Faïsel DERBAL faisel.derbal at lincoln-services.fr
Fri May 16 08:49:09 CEST 2003



I have an error of the checking the configuration nagios:

# /usr/local/nagios/bin/nagios -v nagios.cfg

Nagios 1.0
Copyright (c) 1999-2002 Ethan Galstad
(nagios at nagios.org)
Last Modified: 11-24-2002
License: GPL

Reading configuration data...

Error: Unexpected token or statement in file
'/usr/local/nagios/etc/commands.cfg' on line 64.

***> One or more problems was
encountered while processing the config
files...

     Check your configuration file(s) to ensure that they contain valid
     directives and data defintions. If you are upgrading from a previous
     version of Nagios, you should be aware that some variables/definitions
     may have been removed or modified in this version.  Make sure to read
     the HTML documentation on the main and host config files, as well as
the
     'Whats New' section to find out what has changed.


Error with line 64 contains the following order of my file commands.cfg:
.................
Line 64     command[check_tcp]=$USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$
Line 65     command[check_udp]=$USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$
Line 66     command[check_ftp]=$USER1$/check_ftp -H $HOSTADDRESS$
Line 67     command[check_pop]=$USER1$/check_pop -H $HOSTADDRESS$
Line 68     command[check_smtp]=$USER1$/check_smtp -H $HOSTADDRESS$
.................

$USER1$=/usr/local/nagios/libexec



Thangs

Face


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20030516/df74cc3b/attachment.html>


More information about the Help mailing list