Running a plugin at specific times
Paul M Dubuc
work at paul.dubuc.org
Sun Aug 26 23:12:34 CEST 2012
> On 24 August 2012 22:10, Tech Support <support at voipbusiness.us
> <mailto: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. ____
>
Stu Watts wrote:> 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.. ;-)
>
I don't think setting time periods will ensure that a check is run at
specific times. Best they can do is specify time periods in which they
may run.
Using cron may be the way to go.
------------------------------------------------------------------------------
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
More information about the Users
mailing list