<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi. Sorry it's not working for you - from below, i am deducing you have it setup to check every 2 minutes, from 11am-5pm, only on Mondays. Is this correct?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Can you post your host definition, and maybe the command template for template_TEST/TEST_CMD, as I'm not sure why it's not recurring after check 1. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Btw, i was under the assumption you only wanted it to actually run a check once per week, perhaps I am missing what you are really trying to accomplish, sorry. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks,<br><br>Jamie<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Nair [mailto:vmanojv@rediffmail.com] <br><b>Sent:</b> Monday, March 28, 2011 10:59 AM<br><b>To:</b> nagios-users@lists.sourceforge.net<br><b>Subject:</b> Re: [Nagios-users]How to schedule weekly service check.<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Thank you, Jamie. However, similar set of config not working with me.<br><br>define timeperiod{<br>timeperiod_name only_mon<br>alias Only on monday<br>monday 11:00-17:00<br>}<br><br>define service{<br>service_description TEST_SRV<br>host_name localhost<br>max_check_attempts 1<br>normal_check_interval 120<br>retry_check_interval 1<br>check_period only_mon<br>check_command TEST_CMD<br>use template_TEST<br>}<br><br>Here, after the first check, the recurring checks fails to do, unless i reload the nagios. Still no clue about the reason !! :(<br><br>Thank you<br>Nair<br><br><br><br>On Fri, 25 Mar 2011 22:17:36 +0530 wrote<br>>Hi, there is an archived thread about a similar request; it should help get you fixed up -<br><br><br><br><a href="http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg24221.html">http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg24221.html</a><br><br><br><br>Regards,<br><br>Jamie<br><br><br><br>From: Nair <a href="mailto:[mailto:vmanojv@rediffmail.com]">[mailto:vmanojv@rediffmail.com]</a> <br><br>Sent: Friday, March 25, 2011 12:19 PM<br><br>To: <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br><br>Subject: [Nagios-users] How to schedule weekly service check.<br><br><br><br>Friends<br><br><br><br>Can anyone please share how to configure a service check to perform check once in a week.<br><br><br><br>Thank you<br><br>Nair<br><br><br><br><br><br><br><br>------------------------------------------------------------------------------<br><br>Enable your software for Intel(R) Active Management Technology to meet the<br><br>growing manageability and security demands of your customers. Businesses<br><br>are taking advantage of Intel(R) vPro (TM) technology - will your software <br><br>be a part of the solution? Download the Intel(R) Manageability Checker <br><br>today! <a href="http://p.sf.net/sfu/intel-dev2devmar">http://p.sf.net/sfu/intel-dev2devmar</a><br><br>_______________________________________________<br><br>Nagios-users mailing list<br><br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">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><o:p></o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=644 style='width:483.0pt'><tr><td style='padding:0in 0in 0in 0in'><p class=MsoNormal style='line-height:11.25pt'><span style='font-size:8.5pt;font-family:"Verdana","sans-serif"'><a href="http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target="_blank"><span style='text-decoration:none'><img border=0 id="_x0000_i1025" src="http://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline.htm@Middle"></span></a><o:p></o:p></span></p></td></tr></table><p class=MsoNormal><o:p> </o:p></p></div></body></html>