<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Imagine the following scenario:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>- 2 web servers, with 50 Vhosts each.</FONT></DIV>
<DIV><FONT face=Arial size=2>- 1 Alteon webswitch, virtualizing the 50
Vhosts</FONT></DIV>
<DIV><FONT face=Arial size=2>- Nagios is monitoring the 150 webservices. A
failed service gets notified by SMS. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Now, w<FONT face=Arial size=2>ithout service
dependencies, if a webserver goes down, you get 50 SMS. If BOTH webservers go
down, you get 150SMS. </FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>WITH service dependencies, you can make your
webtests depend on the RealServers status on the Alteon... if 1 webserver
goes down, you get 1 SMS, if both go down you got 2 sms.</FONT></DIV>
<DIV><FONT face=Arial size=2>That's why :-)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Anyway, I've already seen in the changelog that
wildcarding was addedd on 1.0b6 (I'm running beta5) ... I'll upgrade it and see
if it works :-)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Hugz all.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=lists.scott@themagicbox.net
href="mailto:lists.scott@themagicbox.net">Scott</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=japh@ip.pt
href="mailto:japh@ip.pt">Paulo Pinto</A> ; <A
title=nagios-users@lists.sourceforge.net
href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, October 16, 2002 11:32
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Nagios-users] Service
Dependencies "wildcarding" error ?</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>how canb a service be dependant on all services
like this? wouldnt you just have a host dependancy and be done with
it?</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=japh@ip.pt href="mailto:japh@ip.pt">Paulo Pinto</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=nagios-users@lists.sourceforge.net
href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, October 15, 2002 11:00
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Nagios-users] Service
Dependencies "wildcarding" error ?</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi all.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm trying to setup service
dependencies.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In my case, I want ALL services in host A to be
dependent of service SERVICE on host B.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>So, I've configured dependencies.cfg like
this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>define
servicedependency{<BR>
host_name HOST-B<BR>
service_description SERVICE<BR>
dependent_host_name HOST-A<BR>
dependent_service_description
*<BR>
execution_failure_criteria
n<BR>
notification_failure_criteria
u,c<BR> }<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Guess what:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>$ /path/to/nagios/bin/nagios -v
/path/to/nagios/etc/nagios.cfg</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>(...)</FONT></DIV>
<DIV><FONT face=Arial size=2>Error: Dependent service specified in service
dependency for service '*' on host 'HOST-A' is not defined
anywhere!<BR>Error: Dependent service specified in service dependency for
service '*' on host 'HOST-A' is not defined anywhere!</FONT></DIV>
<DIV><FONT face=Arial size=2>(...)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm using Nagios 1.0b5, btw</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any hints ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Hugz,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Japh</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </DIV>
<DIV><BR></DIV></BLOCKQUOTE></BLOCKQUOTE></FONT></BODY></HTML>