<p>Thats depends on what you feel is acceptable and your environment. I have my normal check at 5, retry at 2 and max attempts at 2. That allows for a decently fast notification for me. I might even change the retry to 1 since i dont manage a huge environment, nagios takes like 2% cpu on a single vcpu vm.</p>
<div class="gmail_quote">On Jul 2, 2012 10:53 PM, "Nair" <<a href="mailto:vmanojv@rediffmail.com">vmanojv@rediffmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks for your response. Howabout if i have normal check = 5mins and retry check = 2mins, and max check attempt = 4. means its (2min X 4) bigger than than than normal check.<br>
<br>
I tried this conif and dont see any issues.<br>
<br>
Whats your opinion on same.<br>
<br>
Thanks in advance.<br>
Nair.<br>
<br>
<br>
<br>
On Mon, 02 Jul 2012 23:52:46 +0530 wrote<br>
>The retry check interval should be smaller value than the normal check interval. When a problem is detected, you don't want to delay the check even more, you want to retry the check and find out if there really is a problem. Here is a good reference for you:<br>
<br>
<a href="http://nagios.sourceforge.net/docs/3_0/statetypes.html" target="_blank">http://nagios.sourceforge.net/docs/3_0/statetypes.html</a> <br>
-TR<br>
<br>
On Mon, Jul 2, 2012 at 9:12 AM, Nair <u></u> wrote:<br>
<br>
Thanks Wolf for the response. Howwver i am curious to know whether we can set a retry check interval greater than normal check interval. I dont see any mention about the same in the docs.<br>
<br>
<br>
<br>
<br>
Thanks <br>
<br>
Nair<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Mon, 02 Jul 2012 16:14:37 +0530 wrote<br>
<br>
><br>
<br>
<br>
<br>
On Mon, Jul 2, 2012 at 12:39 AM, Nair wrote:<br>
<br>
<br>
<br>
Hi All<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Is there any harm is setting retry check interval plus max check attempt greater than normal check interval.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Say like configs below:<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Config#1<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
normal_check_interval=10min<br>
<br>
<br>
<br>
retry_check_interval=5min<br>
<br>
<br>
<br>
max_check_attempt=4<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Config#2<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
normal_check_interval=5min<br>
<br>
<br>
<br>
retry_check_interval=10min<br>
<br>
<br>
<br>
max_check_attempt=3<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Thank you in advance.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Regards<br>
<br>
<br>
<br>
Nair<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Follow Rediff Deal ho jaye! to get exciting offers in your city everyday.<br>
<br>
<br>
<br>
------------------------------------------------------------------------------<br>
<br>
<br>
<br>
Live Security Virtual Conference<br>
<br>
<br>
<br>
Exclusive live event will cover all the ways today's security and<br>
<br>
<br>
<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
<br>
<br>
<br>
will include endpoint security, mobile security and the latest in malware<br>
<br>
<br>
<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>
<br>
_______________________________________________<br>
<br>
<br>
<br>
Nagios-users mailing list<br>
<br>
<br>
<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<br>
<br>
<br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
<br>
<br>
<br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
<br>
<br>
<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
<br>
<br>
<br>
Nair,<br>
<br>
As all good consultants would say, "It depends." <br>
<br>
There is a small network load for every test so setting shorter intervals increases the load. If you double the number of tests in an hour, you double the load. So if you have a large number of tests on a large number of machines, doubling the frequency of the tests is probably a bad idea. What value do you think would accrue from increasing the frequency of tests? <br>
<br>
<br>
<br>
<br>
In my network, Nagios is set to start sending email notifications if the failure condition persists more than 3 test periods, i.e., the remote disk root partition is unreachable for longer than 30 minutes. This particular test fails on my ftp server during large file transfers, with the message, plug-in timed out. This has not turned out to be an actual problem, but is an artifact of flooding the network with file-transfer traffic. In this case it is more sensible to let the file transfers go through than to know to an utmost certainty that the drive is not too full. <br>
<br>
<br>
<br>
<br>
<br>
<br>
YMMV<br>
<br>
<br>
<br>
Wolf<br>
<br>
<br>
<br>
-- <br>
<br>
This Apt Has Super Cow Powers - <a href="http://sourcefreedom.com" target="_blank">http://sourcefreedom.com</a><br>
<br>
Open-Source Software in Libraries - <a href="http://FOSS4Lib.org" target="_blank">http://FOSS4Lib.org</a><br>
<br>
<br>
<br>
Advancing Libraries Together - <a href="http://LYRASIS.org" target="_blank">http://LYRASIS.org</a><br>
<br>
Apache Open Office Developer <a href="mailto:wolfhalton@apache.org" target="_blank">wolfhalton@apache.org</a><br>
<br>
<br>
<br>
<br>
<br>
------------------------------------------------------------------------------<br>
<br>
<br>
<br>
Live Security Virtual Conference<br>
<br>
<br>
<br>
Exclusive live event will cover all the ways today's security and <br>
<br>
<br>
<br>
threat landscape has changed and how IT managers can respond. Discussions <br>
<br>
<br>
<br>
will include endpoint security, mobile security and the latest in malware <br>
<br>
<br>
<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>
<br>
_______________________________________________<br>
<br>
<br>
<br>
Nagios-users mailing list<br>
<br>
<br>
<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<br>
<br>
<br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
<br>
<br>
<br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <br>
<br>
<br>
<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
<br>
<br>
<br>
<br>
<br>
Follow Rediff Deal ho jaye! to get exciting offers in your city everyday.<br>
<br>
------------------------------------------------------------------------------<br>
<br>
Live Security Virtual Conference<br>
<br>
Exclusive live event will cover all the ways today's security and<br>
<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
<br>
will include endpoint security, mobile security and the latest in malware<br>
<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>
_______________________________________________<br>
<br>
Nagios-users mailing list<br>
<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
<br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
<br>
<br>
------------------------------------------------------------------------------<br>
<br>
Live Security Virtual Conference<br>
<br>
Exclusive live event will cover all the ways today's security and <br>
<br>
threat landscape has changed and how IT managers can respond. Discussions <br>
<br>
will include endpoint security, mobile security and the latest in malware <br>
<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>
_______________________________________________<br>
<br>
Nagios-users mailing list<br>
<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
<br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <br>
<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
<br><br><br><table border="0" width="100%" height="57" cellspacing="0" cellpadding="0" style="font-family:Verdana;font-size:11px;line-height:15px"><tr><td><a href="http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target="_blank"><img src="http://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline.htm@Middle"></a></td>
</tr></table><table width="578" border="0" cellspacing="0" cellpadding="0"><tr><td><span style="font-family:Arial,Helvetica,sans-serif;font-size:12px;color:#393939">Follow <span style="color:#0000cc"><b><u><a href="http://track.rediff.com/click?url=___http://dealhojaye.rediff.com?sc_cid=rediffmailsignature___&cmp=signature&lnk=rediffmailsignature&newservice=deals" target="_blank">Rediff Deal ho jaye!</a></u></b></span> to get exciting offers in your city everyday.</span></td>
</tr></table><br>------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div>