<div>Hi Marc,</div>
<div> </div>
<div>But if i aggregate the result, then at Nagios, i won't be able to give warnings to a specific check. Doesn't Nagios only accept 1 state of output (Ok-Warning-Unknown-Critical) ? </div>
<div> </div>
<div>Sorri, i was just hiting the reply button and it sends to you only. Hope this also helps others who have the same challenge as me :-)</div>
<div> </div>
<div>Thanks,</div>
<div>Adi Yesaya<br><br> </div>
<div><span class="gmail_quote">On 5/9/07, <b class="gmail_sendername">Marc Powell</b> <<a href="mailto:marc@ena.com">marc@ena.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Please always respond on-list and not to me directly.<br><br>> -----Original Message-----<br>> From: adi yesaya [mailto:
<a href="mailto:adiyesaya@gmail.com">adiyesaya@gmail.com</a>]<br>> Sent: Wednesday, May 09, 2007 10:44 AM<br>> To: Marc Powell<br>> Subject: Re: [Nagios-users] Limit Service Check<br>><br>> Hello Marc,<br>>
<br>> Thanks for your answer.<br>> It's quite hard for me, since my project requires me to only have a<br>> maximum 2 connections (service check) to a host. Do you have other<br>> suggestions than setting the max_concurrent_checks to 2?
<br><br>I never suggested changing max_concurrent_check but rather<br>service_interleave_factor. They're definitely different beasts. As for<br>other suggestions...<br><br>- Create one or more plugins that then run multiple plugins sequentially
<br>and aggregate the results following the plugin guidelines<br>(<a href="http://nagiosplug.sf.net">http://nagiosplug.sf.net</a>) for reporting back to nagios. These new<br>plugins would be the service checks you tell nagios to run.
<br>- or, disable parallelization entirely and force nagios to run all<br>checks sequentially. This is definitely not desirable as it really<br>limits your scalability and the frequency that you can run checks.<br><br>> Another question is:
<br>> Is it possible in Nagios to specify on a per-host basis, whether or<br>not a<br>> service check can be parallelized?<br><br>No, but... <a href="http://nagios.sourceforge.net/docs/2_0/parallelization.html">http://nagios.sourceforge.net/docs/2_0/parallelization.html
</a><br>says ...<br><br>"If all else fails you can effectively prevent service checks from being<br>parallelized by setting the max_concurrent_checks option to 1. This will<br>allow only one service to be checked at a time, so it isn't a
<br>spectacular solution. If there is enough demand, I will add an option to<br>the service definitions which will allow you to specify on a per-service<br>basis whether or not a service check can be parallelized. If there isn't
<br>enough demand, I won't..."<br><br>You might want to chime in on nagios-devel to express support for such a<br>feature.<br><br>--<br>Marc<br></blockquote></div><br>