Thank you, Ritchie, for your sugession. Seems this is the most practical approach.<br />
<br />
On Thu, 24 Feb 2011 15:34:45 +0530 wrote<br />
><br />
On Wed, Feb 23, 2011 at 6:17 PM, Nair <vmanojv@rediffmail.com> wrote:<br />
<br />
<br />
Friends<br />
<br />
<br />
<br />
Is it possible to have a different thresholds for same check for <br />
<br />
different timeperiods.<br />
<br />
<br />
<br />
say 10% from 10AM to 6PM and 20% from 6.01PM to 9.59AM<br />
<br />
<br />
<br />
I do not believe there is a build in Nagios function for this but..<br />
How about a wrapper script for the check command (ether server or client side) that would check the time and use the appropriate thresholds. This could be achieved in Shell or Perl or X scripting language relatively simply.<br />
<br />
<br />
<br />
<br />
Ritchie,<br />
<br />
Thank you<br />
<br />
Nair<br />
<br />
<br />
<br />
<br />
<br />
------------------------------------------------------------------------------<br />
<br />
Free Software Download: Index, Search & Analyze Logs and other IT data in<br />
<br />
Real-Time with Splunk. Collect, index and harness all the fast moving IT data<br />
<br />
generated by your applications, servers and devices whether physical, virtual<br />
<br />
or in the cloud. Deliver compliance at lower cost and gain new business<br />
<br />
insights. http://p.sf.net/sfu/splunk-dev2dev <br />
_______________________________________________<br />
<br />
Nagios-users mailing list<br />
<br />
Nagios-users@lists.sourceforge.net<br />
<br />
https://lists.sourceforge.net/lists/listinfo/nagios-users<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 />
Free Software Download: Index, Search & Analyze Logs and other IT data in <br />
<br />
Real-Time with Splunk. Collect, index and harness all the fast moving IT data <br />
<br />
generated by your applications, servers and devices whether physical, virtual<br />
<br />
or in the cloud. Deliver compliance at lower cost and gain new business <br />
<br />
insights. http://p.sf.net/sfu/splunk-dev2dev <br />
_______________________________________________<br />
<br />
Nagios-users mailing list<br />
<br />
Nagios-users@lists.sourceforge.net<br />
<br />
https://lists.sourceforge.net/lists/listinfo/nagios-users<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=644 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>