<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C32450.C90EA670">
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:536871559 0 0 0 415 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
span.EmailStyle18
{mso-style-type:personal-reply;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Do you maybe have the nagios.cfg to use a
sql db, but have it commented out in the resource.cfg?<span
style='mso-spacerun:yes'> </span>That is one thing to check.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Fernando Gomes Lima
[mailto:flima@slb.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, May 27, 2003 10:03
AM<br>
<b><span style='font-weight:bold'>To:</span></b> Nagios<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Nagios-users] Nagios for
Dummies</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Verdana><span
style='font-size:10.0pt;font-family:Verdana'> Hi guys,</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Verdana><span
style='font-size:10.0pt;font-family:Verdana'>I still receiving the error
messages. Here is the message when i try to start Nagios:</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Verdana><span
style='font-size:10.0pt;font-family:Verdana'>Attached I'm sending the
resource.cfg file and the output of /usr/local/nagios/bin/nagios -v
/usr/local/nagios/etc/nagios.cfg</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Verdana><span
style='font-size:10.0pt;font-family:Verdana'>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.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Verdana><span
style='font-size:10.0pt;font-family:Verdana'>Best Regards,</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Verdana><span
style='font-size:10.0pt;font-family:Verdana'>- Fernando the dummy without shame
to learn and ask ;-)</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
<p style='margin-left:.5in'><font size=2 color=red face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:red'>Nagios 1.0</span></font><o:p></o:p></p>
<p style='margin-left:.5in'><font size=2 color=red face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:red'>Copyright (c) 1999-2002
Ethan Galstad (nagios@nagios.org)</span></font><o:p></o:p></p>
<p style='margin-left:.5in'><font size=2 color=red face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:red'>Last Modified:
11-24-2002</span></font><o:p></o:p></p>
<p style='margin-left:.5in'><font size=2 color=red face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:red'>License: GPL</span></font><o:p></o:p></p>
<p style='margin-left:.5in'><font size=2 color=red face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:red'>Reading configuration
data...</span></font><o:p></o:p></p>
<p style='margin-left:.5in'><font size=2 color=red face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:red'>Error: Unexpected token
or statement in file '/usr/local/nagios/etc/resource.cfg' on line 24.</span></font><o:p></o:p></p>
<p style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p style='margin-left:.5in'><font size=2 color=red face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:red'>***> One or more
problems was encountered while processing the config files...</span></font><o:p></o:p></p>
<p style='margin-left:.5in'><font size=2 color=red face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:red'>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.</span></font><o:p></o:p></p>
<p style='margin-left:.5in'><font size=2 face=Verdana><span style='font-size:
10.0pt;font-family:Verdana'>And on my resource.cfg (that has only one line
uncommented (that's on 24th line position)) has the following statement:</span></font><o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>###########################################################################</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#
RESOURCE.CFG - Sample Resource File for Nagios 1.0</span></font><font size=2
face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'># You
can define $USERx$ macros in this file, which can in turn be used</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'># in
command definitions in your host config file(s). $USERx$ macros are</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#
useful for storing sensitive information such as usernames, passwords, </span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#
etc. They are also handy for specifying the path to plugins and </span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#
event handlers - if you decide to move the plugins or event handlers to</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'># a
different directory in the future, you can just update one or two</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#
$USERx$ macros, instead of modifying a lot of command definitions.</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'># The
CGIs will not attempt to read the contents of resource files, so</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'># you
can set restrictive permissions (600 or 660) on them.</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#
Nagios supports up to 32 $USERx$ macros ($USER1$ through $USER32$)</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#
Resource files may also be used to store configuration directives for</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#
external data sources like MySQL...</span></font><font size=2 face=Verdana><span
style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>###########################################################################</span></font><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#
Sets $USER1$ to be the path to the plugins</span></font><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>$USER1$=/usr/local/nagios/libexec
</span></font><font size=2 color=blue face=Verdana><span style='font-size:10.0pt;
font-family:Verdana;color:blue'><== Line 24!!!</span></font><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#
Sets $USER2$ to be the path to event handlers</span></font><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#$USER2$=/usr/local/nagios/libexec/eventhandlers</span></font><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#
Store some usernames and passwords (hidden from the CGIs)</span></font><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#$USER3$=someuser</span></font><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=red
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:red'>#$USER4$=somepassword</span></font><o:p></o:p></p>
<p style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p style='margin-left:.5in'><b><font size=3 color=navy face=Arial><span
style='font-size:12.0pt;font-family:Arial;color:navy;font-weight:bold'>Fernando
Gomes<br>
Schlumberger</span></font></b><b><font color=red face=Arial><span
style='font-family:Arial;color:red;font-weight:bold'>S</span></font></b><b><font
color=navy face=Arial><span style='font-family:Arial;color:navy;font-weight:
bold'>ema<br>
</span></font></b><b><font size=2 color=gray face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:gray;font-weight:bold'>Network & Infrastructure
Solutions<br>
</span></font></b><b><font color=navy face=Arial><span style='font-family:Arial;
color:navy;font-weight:bold'>Security Engineer<br>
</span></font></b><i><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue;font-style:italic'>flima@slb.com<br>
</span></font></i><br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Trab:
+55 21 3824 6954<br>
Cel. : +55 21 9888 9046<br>
(GMT: -03:00)</span></font> <o:p></o:p></p>
<div>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
</div>
</body>
</html>