<br><br><div class="gmail_quote">On Tue, Jan 26, 2010 at 10:33 AM, Asrai khn <span dir="ltr"><<a href="mailto:asraikhn@gmail.com">asraikhn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote"><div>Later I'll switch my dependency configuration to something simple by using "Time-saving Tricks" ---> <a href="http://nagios.sourceforge.net/docs/3_0/objecttricks.html#same_host_dependency" target="_blank">http://nagios.sourceforge.net/docs/3_0/objecttricks.html#same_host_dependency</a><br>
<br>Tell me one thing, is it ok to get ...<br><br>Checking service dependencies...<br> Checked 10 service dependencies.<br><br>For the 5 dependent_service_description above?<br><br><br><br></div></div></blockquote><div>
I have just configured service dependency using "<b>All Services In Multiple Servicegroups" </b>nagios docs.<br><br>1. First of all i have created (4) servicegroups for services which using nrpe for checking remote hosts including a servicegroup for service 'nrpe' on 8 different hosts<br>
<br>The other 3 servicegroups contains total 95 services<br><br>2. Then defined service dependency using following config<br><br>define servicedependency{<br> dependent_servicegroup_name Sol-CPU-Load,Sol-Partitions,Sol-Processes<br>
servicegroup_name Sol-nrpe<br> execution_failure_criteria w,u,c<br> notification_failure_criteria w,u,c<br> }<br><br>Everything is working just fine I have tested it by stopping nrpe on one of the server and nagios only send notification for master process 'nrpe' by suppressing all all other checks and notification for the host.<br>
<br>However I am confusing with the nagios -v check its giving me too much counts for service dependency and i wonders if this have any effect on monitoring host (nagios) performance, working etc.<br><br><b>sudo nagios -v /etc/nagios/nagios.cfg<br>
<br>Checking service dependencies...<br> Checked 1530 service dependencies.</b><br> </div></div><br>1530 service dependencies..... and this also include the previous 10 for another server, but I wonders what this counts mean?<br>
<br>I'll greatly appreciate if someone shed some light on it.<br><br>Thanks.<br><br>