<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Mensagem</TITLE>
<META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=412480122-16052003><FONT face=Arial color=#0000ff size=2>Mr
Derbal:</FONT></SPAN></DIV>
<DIV><SPAN class=412480122-16052003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=412480122-16052003><FONT face=Arial color=#0000ff size=2>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).</FONT></SPAN></DIV>
<DIV><SPAN class=412480122-16052003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=412480122-16052003><FONT face=Arial color=#0000ff
size=2>HTH,</FONT></SPAN></DIV>
<DIV><SPAN class=412480122-16052003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=412480122-16052003><FONT face=Arial color=#0000ff
size=2>SMV</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=pt-br dir=ltr align=left><FONT
face=Tahoma size=2>-----Mensagem original-----<BR><B>De:</B>
nagiosplug-help-admin@lists.sourceforge.net
[mailto:nagiosplug-help-admin@lists.sourceforge.net] <B>Em nome de </B>Faïsel
DERBAL<BR><B>Enviada em:</B> sexta-feira, 16 de maio de 2003
12:48<BR><B>Para:</B> nagiosplug-help@lists.sourceforge.net<BR><B>Assunto:</B>
[Nagiosplug-help] PB of checking configuration<BR><BR></FONT></DIV><FONT
face=Arial color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff
size=2></FONT><FONT face=Arial color=#0000ff size=2></FONT><BR>
<P><FONT face=Courier><FONT color=#0000ff>I have an error of the checking the
configuration nagios:</FONT><BR><BR><FONT face=System size=2>#
/usr/local/nagios/bin/nagios -v nagios.cfg<BR><BR>Nagios 1.0<BR>Copyright (c)
1999-2002 Ethan Galstad<BR>(nagios@nagios.org)<BR>Last Modified:
11-24-2002<BR>License: GPL<BR><BR>Reading configuration
data...<BR><BR></FONT><FONT size=2><FONT face=System>Error: Unexpected token
or statement in file '/usr/local/nagios/etc/commands.cfg' on line
64.<BR><BR>***> One or more problems was<BR>encountered while processing
the config<BR>files...<BR><BR> Check your
configuration file(s) to ensure that they contain
valid<BR> directives and data defintions. If you
are upgrading from a previous<BR> version of Nagios,
you should be aware that some
variables/definitions<BR> may have been removed or
modified in this version. Make sure to read<BR>
the HTML documentation on the main and host config files, as well as
the<BR> 'Whats New' section to find out what has
changed.</FONT></FONT><BR><BR><BR><FONT color=#0000ff>Error with line 64
contains the following order of my file commands.cfg:</FONT><BR></FONT><FONT
face=System>.................<BR>Line 64
command[check_tcp]=$USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$<BR>Line
65 command[check_udp]=$USER1$/check_udp -H
$HOSTADDRESS$ -p $ARG1$<BR>Line 66
command[check_ftp]=$USER1$/check_ftp -H $HOSTADDRESS$<BR>Line
67 command[check_pop]=$USER1$/check_pop -H
$HOSTADDRESS$<BR>Line 68
command[check_smtp]=$USER1$/check_smtp -H $HOSTADDRESS$<BR><FONT
size=2>.................</FONT></FONT></P>
<P><FONT face=Courier
color=#0000ff>$USER1$=/usr/local/nagios/libexec</FONT></P>
<P><FONT face=Courier color=#0000ff size=2></FONT> </P>
<P><FONT face=Courier color=#0000ff size=2>Thangs</FONT></P>
<P><FONT face=Courier color=#0000ff size=2>Face</FONT></P>
<P><FONT face=Courier><FONT face=Arial color=#0000ff
size=2></FONT> </P></FONT><BR>
<P><FONT size=2>---<BR>Incoming mail is certified Virus Free.<BR>Checked by
AVG anti-virus system (http://www.grisoft.com).<BR>Version: 6.0.481 / Virus
Database: 277 - Release Date:
13/5/2003<BR></FONT></P></BLOCKQUOTE></BODY></HTML>
<BR>
<P><FONT SIZE=2>---<BR>
Outgoing mail is certified Virus Free.<BR>
Checked by AVG anti-virus system (http://www.grisoft.com).<BR>
Version: 6.0.481 / Virus Database: 277 - Release Date: 13/5/2003<BR>
</FONT> </P>