<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.emailstyle17
        {font-family:Arial;
        color:windowtext;}
span.emailstyle19
        {font-family:Arial;
        color:navy;}
span.EmailStyle21
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Great, Thanks for your help</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </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> Darren.Lichty@alltel.com
[mailto:Darren.Lichty@alltel.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, August 20, 2004 8:39
AM<br>
<b><span style='font-weight:bold'>To:</span></b> Dale Hobbs;
nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Nagios-users]
Question regarding Dependencies</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue'>No, Nagios should take
care of this for you.</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue'>If it determines the host
is down, it should notify you on the host, and not all the individual services.</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'> </span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=blue face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:blue'>-Darren</span></font></p>

</div>

<blockquote style='margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;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> Dale Hobbs
[mailto:dhobbs@chancery.com]<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, August 20, 2004
10:34 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Lichty, Darren;
nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Nagios-users]
Question regarding Dependencies</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Thanks Darren that clears
things up immensely. </span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>One more question for you
then. Say I have one server that has 6 services being checked. If that server
goes down then I don’t want to be notified that the other 6 services are
down as well. Would I use service dependencies for this?</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><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> Darren.Lichty@alltel.com
[mailto:Darren.Lichty@alltel.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, August 19, 2004
7:51 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Dale Hobbs;
nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Nagios-users] Question
regarding Dependencies</span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>Dale:</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>I
believe what you are looking for is a parent-child relationship, rather than a
host-dependency.</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>Given
the following network (forgive the ASCII art ;-) ):</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>           
Nagios<br>
               
|<br>
           Firewall<br>
               
|<br>
        *-------*-------*<br>
       
|       |       |<br>
        A    
B     C</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>I would
set this up as:</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>       
define host{<br>
               
host_name       A<br>
               
parent          Firewall<br>
        }</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>       
define host{<br>
               
host_name       B<br>
               
parent          Firewall<br>
        }</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>       
define host{<br>
               
host_name       C<br>
               
parent          Firewall<br>
        }</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'><br>
        define host{<br>
               
host_name       Firewall<br>
        }</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>You will
note that there is no parent defined for 'Firewall'.  This is because
'Firewall' is local to Nagios (meaning, no the same network/subnet).</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>In this
case, if any of 'A','B', or 'C' goes down, Nagios will check 'Firewall'. 
If 'Firewall' is down, Nagios will tell you about it, but NOT about 'A', 'B',
or 'C' ('Firewall's children).  This will show up in the web interface as
a 'network outage', instead of a simple 'host' outage.</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>I do not
use host dependencies personally, so I could not comment as to a scenario in
which they would be useful.</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>Important
note however, if you want 'Firewall' to be checked ONLY when any of it's
children are down, do not define any services for this host.  If, however,
you want Nagios to "active" check this device, setup a simple
'check_ping' service for it.  I have not completely tested this out, but I
do believe that having an "active" check on firewall in this
configuration will allow Nagios to pick up a failure on that device quicker
(this may not be the case thought).</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>I hope
that helps.</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>-Darren</span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left:
1.0in'><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>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net]<b><span style='font-weight:
bold'>On Behalf Of </span></b>Dale Hobbs<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, August 19, 2004
11:14 AM<br>
<b><span style='font-weight:bold'>To:</span></b>
nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Nagios-users] Question
regarding Dependencies</span></font></p>

</div>

<blockquote style='margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>For give me if this question has
been asked before. I have read the docs in regards to dependencies but am still
a bit unclear as to the internal workings.</span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>If I have 3 servers (www1, www2,
www3) on the outside of my firewall with the following dependencies set up for
each of the 3 servers:</span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>define hostdependency{</span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>       
host_name                      
www1</span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>       
dependent_host_name        firewall</span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>       
notification_failure_criteria   d,u</span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>       
}</span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>If my firewall goes down, obviously
it will notify me that the firewall is down but will it also notify me that it
can’t contact each of the 3 servers as well? Also if one of the servers
goes down is Nagios smart enough to check the firewall first to make sure that
it is still available before notifying me that the server is down in case that
it can’t contact the server because the firewall is down?</span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<p style='margin-left:1.0in'><b><font size=1 face=Arial><span style='font-size:
7.5pt;font-family:Arial;font-weight:bold'>Dale Hobbs</span></font></b> <br>
<font size=1 face=Arial><span style='font-size:7.5pt;font-family:Arial'>End
User Support</span></font> <br>
<font size=1 face=Arial><span style='font-size:7.5pt;font-family:Arial'>Chancery
Software -- The Right Partner. The Right Solution.</span></font> <br>
<font size=1 face=Arial><span style='font-size:7.5pt;font-family:Arial'>Tel: 604-294-1233
Ext.4744</span></font> <br>
<font size=1 face=Arial><span style='font-size:7.5pt;font-family:Arial'>Fax:
604-294-2225</span></font> <br>
<font size=1 face=Arial><span style='font-size:7.5pt;font-family:Arial'>Email:<u>
<font color=blue><span style='color:blue'>dhobbs@chancery.com</span></font></u></span></font>
<br>
<u><font size=1 color=blue face=Arial><span style='font-size:7.5pt;font-family:
Arial;color:blue'><a href="http://www.chancery.com/" target="_blank">http://www.chancery.com</a></span></font></u>
</p>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

<p style='margin-left:1.0in'><i><font size=1 color=black face=Arial><span
style='font-size:7.5pt;font-family:Arial;color:black;font-style:italic'>This
electronic email transmission contains confidential information intended only
for the named person(s). Any use, distribution, copying or disclosure by any
other person is strictly prohibited. If you received this transmission in
error, please notify the sender immediately so that we may correct our internal
records. Please then delete the original message. Thank You.</span></font></i></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>

</blockquote>

<pre style='margin-left:.5in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>******************************************************************************************</span></font></pre><pre
style='margin-left:.5in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>The information contained in this message, including attachments, may contain </span></font></pre><pre
style='margin-left:.5in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>privileged or confidential information that is intended to be delivered only to the </span></font></pre><pre
style='margin-left:.5in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>person identified above. If you are not the intended recipient, or the person </span></font></pre><pre
style='margin-left:.5in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>responsible for delivering this message to the intended recipient, ALLTEL requests </span></font></pre><pre
style='margin-left:.5in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>that you immediately notify the sender and asks that you do not read the message or its </span></font></pre><pre
style='margin-left:.5in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'>attachments, and that you delete them without copying or sending them to anyone else. </span></font></pre><pre
style='margin-left:.5in'><font size=2 face="Courier New"><span
style='font-size:10.0pt'> </span></font></pre></blockquote>

</div>

</body>

</html>
<PRE>******************************************************************************************
The information contained in this message, including attachments, may contain 
privileged or confidential information that is intended to be delivered only to the 
person identified above. If you are not the intended recipient, or the person 
responsible for delivering this message to the intended recipient, ALLTEL requests 
that you immediately notify the sender and asks that you do not read the message or its 
attachments, and that you delete them without copying or sending them to anyone else. 

</PRE>