Nagios does time periods itself, so no need for cron:

http://nagios.sourceforge.net/docs/nagioscore/3/en/timeperiods.html

The Nagios documentation is pretty good - have a check through.  Chance are
it can do what you want.. ;-)

On 24 August 2012 22:10, Tech Support <supp...@voipbusiness.us> wrote:

> Hello;****
>
>     I am fairly new to Nagios, and this is my first project using it. What
> I would like to do is run a plugin at specific times of the day. This
> particular plugin is pretty intrusive, so I would like to run it only at
>  7:00am and 7:00pm daily. Is there an easy way of doing this? I’m thinking
> that I can run the script out of CRON, then passively send the data to
> Nagios via its command pipe, but I’m not sure if that’s the best way to go.
>  ****
>
> Thanks;****
>
> John ****
>
> ** **
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>



-- 
Stu

"Did I do that deja-vu joke?"
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to