Re: [Nagios-users] Howto not check a service each day from 03-06

2007-01-24 Thread Hugo van der Kooij
On Wed, 24 Jan 2007, Marcel Mitsuto Fucatu Sugano wrote:

> On Wed, 2007-01-24 at 10:07 +, Andy Shellam (Mailing Lists) wrote:
>>
>> define timeperiod{
>> timeperiod_name oracle-downtime
>> alias   Oracle Downtime
>> sunday  00:00-03:00,06:00-24:00
>> <- repeat for monday - saturday ->
>> }
>>
>> Then in your Oracle service check, use "oracle-downtime" as the value
>> for "check_period"
>
> just being itchy, the name leads to misunderstanding, it should be
> called oracle-uptime, as this timeperiod is defined to check the running
> oracle instance, not the downtimed period.

If one reads it like "oracle - downtime" the formula matches the task. ;-)

Hugo.

-- 
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
This message is using 100% recycled electrons.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] Howto not check a service each day from 03-06

2007-01-24 Thread Andy Shellam (Mailing Lists)
Marcel Mitsuto Fucatu Sugano wrote:
> On Wed, 2007-01-24 at 10:07 +, Andy Shellam (Mailing Lists) wrote:
>   
>> define timeperiod{
>> timeperiod_name oracle-downtime
>> alias   Oracle Downtime
>> sunday  00:00-03:00,06:00-24:00
>> <- repeat for monday - saturday ->
>> }
>>
>> Then in your Oracle service check, use "oracle-downtime" as the value
>> for "check_period" 
>> 
>
> just being itchy, the name leads to misunderstanding, it should be
> called oracle-uptime, as this timeperiod is defined to check the running
> oracle instance, not the downtimed period.
>   

Hehe yep good point, I was just making it obvious that it's a time 
period for a specific-use, but yep I agree!



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] Howto not check a service each day from 03-06

2007-01-24 Thread Marcel Mitsuto Fucatu Sugano
On Wed, 2007-01-24 at 10:07 +, Andy Shellam (Mailing Lists) wrote:
> 
> define timeperiod{
> timeperiod_name oracle-downtime
> alias   Oracle Downtime
> sunday  00:00-03:00,06:00-24:00
> <- repeat for monday - saturday ->
> }
> 
> Then in your Oracle service check, use "oracle-downtime" as the value
> for "check_period" 

just being itchy, the name leads to misunderstanding, it should be
called oracle-uptime, as this timeperiod is defined to check the running
oracle instance, not the downtimed period.

;)

Marcel


AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, 
é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima 
referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. 
Caso você não seja o destinatário desta mensagem, informamos que qualquer 
divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos 
é absolutamente proibida. Solicitamos que o remetente seja comunicado 
imediatamente, respondendo esta mensagem, e que o original desta mensagem e de 
seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir 
destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais 
sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is 
CONFIDENTIAL and is intended only for use by the recipient named herein and may 
contain legally privileged and/or secret information. If you are not the 
e-mail´s intended recipient, you are hereby notified that any dissemination, 
distribution or copy of this e-mail, and/or any attachments thereto, is 
strictly prohibited. Please immediately notify the sender replying to the above 
mentioned e-mail address, and permanently delete and/or destroy the original 
and any copy of this e-mail and/or its attachments, as well as any printout 
thereof. Additional information about our company may be obtained through the 
site http://www.uol.com.br/ir/.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] Howto not check a service each day from 03-06

2007-01-24 Thread Andy Shellam (Mailing Lists)
Martin Møller Pedersen wrote:
> Hi,
>   Every night some oracle databases are stopped. Is it possible to specifiy 
> that
> the a specific service (eg. check_oracle) shouldn't be tested beetween
> eg. 03-06 each day.
>   

Certainly - define yourself a time period which doesn't include these 
times :)
http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#timeperiod

e.g.

define timeperiod{
timeperiod_name oracle-downtime
alias   Oracle Downtime
sunday  00:00-03:00,06:00-24:00
<- repeat for monday - saturday ->
}

Then in your Oracle service check, use "oracle-downtime" as the value for 
"check_period"


Andy.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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] Howto not check a service each day from 03-06

2007-01-24 Thread Martin Møller Pedersen
Hi,
  Every night some oracle databases are stopped. Is it possible to specifiy that
the a specific service (eg. check_oracle) shouldn't be tested beetween
eg. 03-06 each day.

Regards
Martin

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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