Re: [Nagios-users] Service scheduled for one week later....

2012-12-04 Thread Rodrigo Gesswein
Dear Andreas:

> This is wonky. Make it '00:00-07:59,19:01-24:00' instead.

I try, but services still scheduled for one week more (Dec. 11th). I'm
using Nagios versin 3.3.1

Thank you
Rodrigo



On Tue, Dec 4, 2012 at 7:49 AM, Andreas Ericsson  wrote:
> On 12/03/2012 11:57 PM, Rodrigo Gesswein wrote:
>> Dear All:
>>
>>  I have a curios question about 'timeperiod' and 'service'. My 'cfg'
>> files look like:
>>
>> define timeperiod{
>>  timeperiod_name DayTime
>>  alias   DayTime
>>  monday  08:00-19:00
>>  tuesday 08:00-19:00
>>  wednesday   08:00-19:00
>>  thursday08:00-19:00
>>  friday  08:00-19:00
>>  saturday08:00-19:00
>>  sunday  08:00-19:00
>> }
>>
>> define timeperiod{
>>  timeperiod_name NightTime
>>  alias   NightTime
>>  monday  19:01-07:59
>>  tuesday 19:01-07:59
>>  wednesday   19:01-07:59
>>  thursday19:01-07:59
>>  friday  19:01-07:59
>>  saturday19:01-07:59
>>  sunday  19:01-07:59
>> }
>>
>
> This is wonky. Make it '00:00-07:59,19:01-24:00' instead.
>
> --
> Andreas Ericsson   andreas.erics...@op5.se
> OP5 AB www.op5.se
> Tel: +46 8-230225  Fax: +46 8-230231
>
> Considering the successes of the wars on alcohol, poverty, drugs and
> terror, I think we should give some serious thought to declaring war
> on peace.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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] Service scheduled for one week later....

2012-12-04 Thread Andreas Ericsson
On 12/03/2012 11:57 PM, Rodrigo Gesswein wrote:
> Dear All:
> 
>  I have a curios question about 'timeperiod' and 'service'. My 'cfg'
> files look like:
> 
> define timeperiod{
>  timeperiod_name DayTime
>  alias   DayTime
>  monday  08:00-19:00
>  tuesday 08:00-19:00
>  wednesday   08:00-19:00
>  thursday08:00-19:00
>  friday  08:00-19:00
>  saturday08:00-19:00
>  sunday  08:00-19:00
> }
> 
> define timeperiod{
>  timeperiod_name NightTime
>  alias   NightTime
>  monday  19:01-07:59
>  tuesday 19:01-07:59
>  wednesday   19:01-07:59
>  thursday19:01-07:59
>  friday  19:01-07:59
>  saturday19:01-07:59
>  sunday  19:01-07:59
> }
> 

This is wonky. Make it '00:00-07:59,19:01-24:00' instead.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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] Service scheduled for one week later....

2012-12-03 Thread Rodrigo Gesswein
Dear All:

I have a curios question about 'timeperiod' and 'service'. My 'cfg'
files look like:

define timeperiod{
timeperiod_name DayTime
alias   DayTime
monday  08:00-19:00
tuesday 08:00-19:00
wednesday   08:00-19:00
thursday08:00-19:00
friday  08:00-19:00
saturday08:00-19:00
sunday  08:00-19:00
}

define timeperiod{
timeperiod_name NightTime
alias   NightTime
monday  19:01-07:59
tuesday 19:01-07:59
wednesday   19:01-07:59
thursday19:01-07:59
friday  19:01-07:59
saturday19:01-07:59
sunday  19:01-07:59
}

define service {
host_name   
service_description NightTime Data Partition: /diska
check_command   check_nrpe!check_disk!20%!10%!/diska!MB
check_periodNightTime
}

define service {
host_name   
service_description DayTime Data Partition: /diska
check_command   check_nrpe!check_disk!40%!20%!/diska!MB
check_periodDayTime
}

However, 'NightTime Data Partition: /diska' was scheduled for
Dec. 11th 19:01..
one week later! and 'DayTime Data Partition: /diska' scheduled as spected...

Any ideas ??

Thank you

Rodrigo.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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