Anyone have any advice on this problem?<div><br></div><div>Thanks again,</div><div>Jeffrey.<br><br><div class="gmail_quote">On Thu, Jan 26, 2012 at 11:56 AM, Jeffrey Watts <span dir="ltr"><<a href="mailto:jeffrey.w.watts@gmail.com">jeffrey.w.watts@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello, I'm having some trouble getting a service dependency working and I was hoping for some help. I've read the section in Wolfgang Barth's book "Nagios 2nd Edition" and googled around a bit, but something's still not working right. I'm using Nagios 3.0.6.<div>
<br></div><div>Specifically, I want to set it up so that my OpenManage (thanks Trond!) and OMSA version checks both are dependent upon SNMP. However, my setup is still sending notifications for OMSA version and OpenManage when I stop the SNMP daemon. Here are the relevant snippets:</div>
<div><br></div><div><div>define service {</div><div> use generic_service_t</div><div> service_description SNMP</div><div> max_check_attempts 3</div><div> normal_check_interval 60</div><div> retry_check_interval 5</div>
<div> notification_interval 60</div><div> check_command check_snmp_custom!-H $HOSTADDRESS$ -C tomgeco -P 2c -o sysDescr.0</div><div> event_handler eventhandler_snmpd</div><div> servicegroups snmp</div>
<div> hostgroup_name dellhardware</div><div> contact_groups techops</div><div>}</div></div><div><br></div><div><div>define servicedependency{</div><div> hostgroup_name dellhardware</div><div>
service_description SNMP</div><div> dependent_service_description OMSA version,OpenManage</div><div> inherits_parent 1</div><div> execution_failure_criteria n</div><div> notification_failure_criteria u,c</div>
<div>}</div></div><div><br></div><div>Any help as to what I'm doing wrong?</div><div>Jeffrey.</div>
</blockquote></div><br></div>