skip monitoring every 4 weeks

Assaf Flatto assaf.flatto at ssp-intl.com
Thu Jan 29 14:20:43 CET 2009


Hello 

I have a situation where i need to turn of monitoring for server while they are being rebooted , 
this is done during the weekend , and the person doing the reboots is not one that has access to
the nagios .

i know that Version 3 placed the functionality of alternating and dynamic scheduling in the 
timeperiods definitions , but after reading the online documentation , i'm not realy clear on ho i 
can achieve my gaol.

I need the monitoring for a server to be stopped during a period (specific times TBD ) every 4th 
weekend , (Sunday or Saturday , again yet to be determined ).

I understand that I need to define a time period and add an "exclude"  to the time period the host 
in question has defined .

My issue is with the correct format of the "skipped" timeperiod .
Is what I'm defining below correct in format and functionality  - if not in strict content  ?

define timeperiod{
       timeperiod_name weekend-off
       Sunday /28              00:00-24:00
       }

define timeperiod{
       timeperiod_name box-reboot
       use             24x7
       exclude         offweekend
}


Thanks


-- 
Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE





IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY
 
 

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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