<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2719.2200" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><SPAN class=134233014-27052003><FONT face=Verdana size=2>    
Hi guys,</FONT></SPAN></DIV>
<DIV><SPAN class=134233014-27052003><FONT face=Verdana 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=134233014-27052003><FONT face=Verdana size=2>I still receiving 
the error messages. Here is the message when i try to start 
Nagios:</FONT></SPAN></DIV>
<DIV><SPAN class=134233014-27052003><FONT face=Verdana 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=134233014-27052003><FONT face=Verdana size=2>Attached I'm 
sending the resource.cfg file and the output of /usr/local/nagios/bin/nagios -v 
/usr/local/nagios/etc/nagios.cfg</FONT></SPAN></DIV>
<DIV><SPAN class=134233014-27052003><FONT face=Verdana 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=134233014-27052003><FONT face=Verdana size=2>I appreciate to 
receive some help from you guys that work and has some knowledge of Nagios 
instead others that use the list to sell services. I work on security 
environment and always helped others (you can check on phoneboy (list to 
Firewall-1 users)) in trouble situation.</FONT></SPAN></DIV>
<DIV><SPAN class=134233014-27052003><FONT face=Verdana 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=134233014-27052003><FONT face=Verdana size=2>Best 
Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=134233014-27052003><FONT face=Verdana size=2>- Fernando the 
dummy without shame to learn and ask ;-)</FONT></SPAN></DIV>
<DIV><SPAN class=134233014-27052003><FONT face=Verdana 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=134233014-27052003><FONT face=Verdana 
size=2></FONT></SPAN> </DIV><SPAN class=134233014-27052003>
<P><FONT face=Verdana color=#ff0000 size=2>Nagios 1.0</FONT></P>
<P><FONT face=Verdana color=#ff0000 size=2>Copyright (c) 1999-2002 Ethan Galstad 
(nagios@nagios.org)</FONT></P>
<P><FONT face=Verdana color=#ff0000 size=2>Last Modified: 11-24-2002</FONT></P>
<P><FONT face=Verdana color=#ff0000 size=2>License: GPL</FONT></P>
<P><FONT face=Verdana color=#ff0000 size=2>Reading configuration 
data...</FONT></P>
<P><FONT face=Verdana color=#ff0000 size=2>Error: Unexpected token or statement 
in file '/usr/local/nagios/etc/resource.cfg' on line 24.</FONT></P>
<P><FONT face=Verdana color=#ff0000 size=2></FONT> </P>
<P><FONT face=Verdana color=#ff0000 size=2>***> One or more problems was 
encountered while processing the config files...</FONT></P>
<P><FONT color=#ff0000><FONT face=Verdana><FONT size=2>Check your configuration 
file(s) to ensure that they contain valid<SPAN class=134233014-27052003> 
</SPAN>directives and data defintions. If you are upgrading from a previous<SPAN 
class=134233014-27052003> </SPAN>version of Nagios, you should be aware that 
some variables/definitions<SPAN class=134233014-27052003> </SPAN>may have been 
removed or modified in this version. Make sure to read<SPAN 
class=134233014-27052003> </SPAN>the HTML documentation on the main and host 
config files, as well as the<SPAN class=134233014-27052003> 
</SPAN></FONT></FONT><FONT face=Verdana size=2>'Whats New' section to find out 
what has changed.</FONT></FONT></P>
<P><FONT face=Verdana size=2><SPAN class=134233014-27052003>And on my 
resource.cfg (that has only one line uncommented (that's on 24th line position)) 
has the following statement:</SPAN></FONT></P><FONT><SPAN 
class=134233014-27052003><FONT face=Verdana size=2><FONT size=2>
<DIV><FONT 
color=#ff0000>###########################################################################</FONT></DIV>
<DIV><FONT color=#ff0000>#</FONT></DIV>
<DIV><FONT color=#ff0000># RESOURCE.CFG - Sample Resource File for Nagios 
1.0</FONT></DIV>
<DIV><FONT color=#ff0000>#</FONT></DIV>
<DIV><FONT color=#ff0000># You can define $USERx$ macros in this file, which can 
in turn be used</FONT></DIV>
<DIV><FONT color=#ff0000># in command definitions in your host config file(s). 
$USERx$ macros are</FONT></DIV>
<DIV><FONT color=#ff0000># useful for storing sensitive information such as 
usernames, passwords, </FONT></DIV>
<DIV><FONT color=#ff0000># etc. They are also handy for specifying the path to 
plugins and </FONT></DIV>
<DIV><FONT color=#ff0000># event handlers - if you decide to move the plugins or 
event handlers to</FONT></DIV>
<DIV><FONT color=#ff0000># a different directory in the future, you can just 
update one or two</FONT></DIV>
<DIV><FONT color=#ff0000># $USERx$ macros, instead of modifying a lot of command 
definitions.</FONT></DIV>
<DIV><FONT color=#ff0000>#</FONT></DIV>
<DIV><FONT color=#ff0000># The CGIs will not attempt to read the contents of 
resource files, so</FONT></DIV>
<DIV><FONT color=#ff0000># you can set restrictive permissions (600 or 660) on 
them.</FONT></DIV>
<DIV><FONT color=#ff0000>#</FONT></DIV>
<DIV><FONT color=#ff0000># Nagios supports up to 32 $USERx$ macros ($USER1$ 
through $USER32$)</FONT></DIV>
<DIV><FONT color=#ff0000>#</FONT></DIV>
<DIV><FONT color=#ff0000># Resource files may also be used to store 
configuration directives for</FONT></DIV>
<DIV><FONT color=#ff0000># external data sources like MySQL...</FONT></DIV>
<DIV><FONT color=#ff0000>#</FONT></DIV>
<DIV><FONT 
color=#ff0000>###########################################################################</FONT></DIV></FONT></FONT>
<DIV align=left><FONT face=Verdana color=#ff0000 size=2># Sets $USER1$ to be the 
path to the plugins</FONT></DIV>
<DIV align=left><FONT face=Verdana><FONT color=#ff0000><FONT 
size=2>$USER1$=/usr/local/nagios/libexec<SPAN 
class=134233014-27052003>     <FONT color=#0000ff><== 
Line 24!!!</FONT></SPAN></FONT></FONT></FONT></DIV>
<DIV align=left><FONT face=Verdana color=#ff0000 size=2># Sets $USER2$ to be the 
path to event handlers</FONT></DIV>
<DIV align=left><FONT face=Verdana color=#ff0000 
size=2>#$USER2$=/usr/local/nagios/libexec/eventhandlers</FONT></DIV>
<DIV align=left><FONT face=Verdana color=#ff0000 size=2># Store some usernames 
and passwords (hidden from the CGIs)</FONT></DIV>
<DIV align=left><FONT face=Verdana color=#ff0000 
size=2>#$USER3$=someuser</FONT></DIV>
<DIV align=left><FONT face=Verdana color=#ff0000 
size=2>#$USER4$=somepassword</FONT></DIV></SPAN></FONT>
<P><FONT face=Verdana size=2></FONT> </P></SPAN>
<P><B><FONT face=Arial color=#000080>Fernando Gomes<BR>Schlumberger</FONT><FONT 
face=Arial color=#ff0000>S</FONT><FONT face=Arial 
color=#000080>ema<BR></FONT><FONT face=Arial color=#808080 size=2>Network & 
Infrastructure Solutions<BR></FONT><FONT face=Arial color=#000080>Security 
Engineer<BR></FONT></B><I><FONT face=Arial color=#0000ff 
size=2>flima@slb.com<BR></FONT></I><BR><FONT face=Arial size=2>Trab: +55 21 3824 
6954<BR>Cel. : +55 21 9888 9046<BR>(GMT: -03:00)</FONT> </P>
<DIV> </DIV></BODY></HTML>