Running a plugin at specific times

Stu Watts stu.watts at gmail.com
Sat Aug 25 01:07:47 CEST 2012


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 <support at 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 at 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?"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120825/bb4d6ca5/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list