<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=071175720-01102003><FONT face=Arial color=#0000ff size=2>yeah I
think you have the hosts switched in your dependencies.cfg. If you want to
stop getting pages for zoe when core01 goes down reverse it:</FONT></SPAN></DIV>
<DIV><SPAN class=071175720-01102003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=071175720-01102003>
<DIV><FONT face=Arial color=#0000ff size=2>Dependancy</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff
size=2>##########################</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>define
hostdependency{<BR>
host_name <SPAN
class=071175720-01102003> </SPAN>oc-int-r1.core01.***********<BR> <SPAN
class=071175720-01102003>dependant_</SPAN>host_name
zoe.********************<BR>
notification_failure_criteria
d<BR> }</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff
size=2>###########################</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=071175720-01102003><FONT face=Arial color=#0000ff size=2>also
note parents and dependencies are different. parents are for the status
map and dependencies are for notifications... </FONT></SPAN></DIV>
<DIV><SPAN class=071175720-01102003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=071175720-01102003><FONT face=Arial color=#0000ff
size=2>-Keith</FONT></SPAN></DIV></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Shaun Reitan ::
NDC Host [mailto:Shaun.Reitan@NDCHost.com] <BR><B>Sent:</B> Wednesday, October
01, 2003 4:37 PM<BR><B>To:</B>
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users]
Dependencies?<BR><BR></FONT></DIV>
<DIV>
<P><FONT face=Arial size=2>i have a bunch of hosts and since the monitor is
off site, i setup the core router as a dependency. I also set the core
router up as being a parrent but if the off site monitor cannot reach anything
i still get messages for everything. This sucks because i get a
bizzilian messages to my phone :).</FONT></P>
<P><FONT face=Arial size=2></FONT> </P>
<P><FONT face=Arial size=2>Here's what i got...</FONT></P>
<P><FONT face=Arial size=2></FONT> </P>
<P><FONT face=Arial size=2>Core Router
Config<BR>#####################<BR></FONT><FONT face=Arial size=2>define
host{<BR>
host_name
oc-int-r1.core01.*********<BR>
alias oc-int-r1.core01.*********<BR>
address
216.xxx.xxx.xxx<BR>
check_command
check-host-alive<BR>
max_check_attempts
2<BR>
retain_nonstatus_information
0<BR>
notification_interval
30<BR>
notification_period
24x7<BR> notification_options
d,u,r<BR>
}<BR>#####################</FONT></P><FONT face=Arial size=2></FONT></DIV>
<DIV><FONT face=Arial size=2>One machine's config</FONT></DIV>
<DIV><FONT face=Arial size=2>define
host{<BR>
host_name
zoe.****************<BR>
alias
zoe.******************<BR>
address
216.**********<BR>
check_command
check-host-alive<BR>
max_check_attempts
2<BR>
notification_interval
30<BR>
notification_period
24x7<BR> notification_options
d,u,r<BR>
parents
oc-int-r1.core01.**********<BR>
}<BR>######################<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Dependancy</FONT></DIV>
<DIV><FONT face=Arial size=2>##########################</FONT></DIV>
<DIV><FONT face=Arial size=2>define
hostdependency{<BR>
dependent_host_name
oc-int-r1.core01.***********<BR>
host_name
zoe.********************<BR>
notification_failure_criteria
d<BR> }</FONT></DIV>
<DIV><FONT face=Arial size=2>###########################</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Anybody know what i'm doing
wrong?</DIV></FONT><FONT face=Arial size=2></FONT><FONT face=Arial size=2>
<P><BR></P></FONT>
<P><FONT face=Arial size=2>Best Regards,</FONT></P>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Shaun Reitan<BR>CTO<BR><A
href="mailto:Shaun.Reitan@NDCHost.com">Shaun.Reitan@NDCHost.com</A><BR><A
href="http://www.NDCHost.com">www.NDCHost.com</A><BR><A
href="http://www.cPlicensing.net">www.cPlicensing.net</A></FONT></DIV></BLOCKQUOTE></BODY></HTML>