Re: [Nagios-users] Running a plugin at specific times

2012-08-26 Thread Stu Watts
Oops - I read that as "from 7pm to 7am".

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)?

On 26 August 2012 22:12, Paul M Dubuc  wrote:

>
> > On 24 August 2012 22:10, Tech Support  > > 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@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

Re: [Nagios-users] Running a plugin at specific times

2012-08-26 Thread Paul M Dubuc

> On 24 August 2012 22:10, Tech Support  > 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@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


Re: [Nagios-users] Running a plugin at specific times

2012-08-24 Thread Stu Watts
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  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

[Nagios-users] Running a plugin at specific times

2012-08-24 Thread Tech Support
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