RES: [Nagiosplug-help] PB of checking configuration
Sandro Vaz (UOL)
sandromergvaz at uol.com.br
Fri May 16 15:05:07 CEST 2003
Mr Derbal:
In this case I guess the error relies before line 64. I use the templates
(much better i think), but sometimes it happens to me (and the error is
before the line pointed by the -v option).
HTH,
SMV
-----Mensagem original-----
De: nagiosplug-help-admin at lists.sourceforge.net
[mailto:nagiosplug-help-admin at lists.sourceforge.net] Em nome de Faïsel
DERBAL
Enviada em: sexta-feira, 16 de maio de 2003 12:48
Para: nagiosplug-help at lists.sourceforge.net
Assunto: [Nagiosplug-help] PB of checking configuration
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
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.481 / Virus Database: 277 - Release Date: 13/5/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.481 / Virus Database: 277 - Release Date: 13/5/2003
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20030516/11d2cd5e/attachment.html>
More information about the Help
mailing list