Oops - I read that as "from 7pm to 7am".<div><br></div><div>Yes, cron might well be the way ahead! Unless you specify two very short timeperiods (i.e. 0700-0706 and 1900-1906) to run the check (assuming a 5 minute check time)?</div>
<div><br><div class="gmail_quote">On 26 August 2012 22:12, Paul M Dubuc <span dir="ltr"><<a href="mailto:work@paul.dubuc.org" target="_blank">work@paul.dubuc.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
> On 24 August 2012 22:10, Tech Support <<a href="mailto:support@voipbusiness.us">support@voipbusiness.us</a><br>
</div>> <mailto:<a href="mailto:support@voipbusiness.us">support@voipbusiness.us</a>>> wrote:<br>
><br>
> Hello;____<br>
<div class="im">><br>
> I am fairly new to Nagios, and this is my first project using<br>
> it. What I would like to do is run a plugin at specific times of the<br>
> day. This particular plugin is pretty intrusive, so I would like to<br>
> run it only at 7:00am and 7:00pm daily. Is there an easy way of<br>
> doing this? I’m thinking that I can run the script out of CRON, then<br>
> passively send the data to Nagios via its command pipe, but I’m not<br>
</div>> sure if that’s the best way to go. ____<br>
><br>
Stu Watts wrote:> Nagios does time periods itself, so no need for cron:<br>
<div class="im"> ><br>
> <a href="http://nagios.sourceforge.net/docs/nagioscore/3/en/timeperiods.html" target="_blank">http://nagios.sourceforge.net/docs/nagioscore/3/en/timeperiods.html</a><br>
><br>
> The Nagios documentation is pretty good - have a check through. Chance<br>
> are it can do what you want.. ;-)<br>
><br>
<br>
</div>I don't think setting time periods will ensure that a check is run at<br>
specific times. Best they can do is specify time periods in which they<br>
may run.<br>
<br>
Using cron may be the way to go.<br>
<div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Stu<br><br>"Did I do that deja-vu joke?"<br>
</div>