<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-15"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I'm also interested in this but haven't thought about how to actually
go about doing something like this. I have looked at the service
dependencies but the docs don't mention what you suggest so I would
expect that it doesn't work like this... yet.<br>
<br>
unless anybody else has some more wisdom?<br>
<br>
-h<br>
<pre class="moz-signature" cols="72">Hari Sekhon
</pre>
<br>
<br>
Matthew Joyce wrote:
<blockquote
 cite="mid2A67EA781EC7F949A2AB0A0D07A86C6A01A67C1D@mail01.ccia.local"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="MS Exchange Server version 6.5.7638.1">
  <title>Nagios Strategies</title>
<!-- Converted from text/rtf format -->
  <br>
  <p><font face="Arial" size="2">Hi all,</font>
  </p>
  <p><font face="Arial" size="2">I've found myself in a quandary and
I'm wondering how other Nagios uses have address similar problems.</font>
  <br>
  <font face="Arial" size="2">We've recently upgraded to 2.6 and I've
been tidying up the configs, sorting out service groups, etc.</font>
  </p>
  <p><font face="Arial" size="2">I've been adding checks for specific
windows services, Exchange, Backup Exec, various MS SQL databases and
that sort of thing.</font></p>
  <p><font face="Arial" size="2">The more services I add, the more I
consider their dependencies on each other.</font>
  <br>
  <font face="Arial" size="2">SNMP service is now a critical service,
as without it I will get a storm of notification.</font>
  </p>
  <p><font face="Arial" size="2">I can see that service dependencies
would fix this but it does seem overly complex to have to list each
host/service pair in the dependency definition.</font></p>
  <p><font face="Arial" size="2">One way I thought might work is to
create a servicegroup called myserversnmp and add the service to the
group in the service definition.</font></p>
  <p><font face="Arial" size="2">Then, in the dependency definition,
make that servicegroup dependent on SNMP Service on the host.</font>
  </p>
  <p><font face="Arial" size="2">This would mean I end up with a load
of servicegroups, but make configuring easier as I just need to add one
line per service and that's often done with copy/past/tweak.</font></p>
  <p><font face="Arial" size="2">An alternative might be to regular
expressions, but for me this would be an obfuscation, not really what
I'm after.</font>
  <br>
  <font face="Arial" size="2">It would be nice if there was a service
dependency directive in the service definition.</font>
  </p>
  <p><font face="Arial" size="2">How do others manage dependencies ?</font>
  </p>
  <br>
  <br>
  <p><font face="Arial" size="2">Thanks</font>
  </p>
  <p><font face="Arial" size="2">Matt</font>
  </p>
  <pre wrap="">
<hr size="4" width="90%">
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
<a class="moz-txt-link-freetext" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a></pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null</pre>
</blockquote>
</body>
</html>