Re: [Nagios-users] problem with timeperiod configuration
Nope, when I add a space, it gives me a config error: Error: Could not parse timerange #1 for day 1 of timeperiod (config file '/usr/local/nagios/etc/objects/timeperiods.cfg', starting on line 48) - Original Message From: Assaf Flatto <[EMAIL PROTECTED]> To: Nagios User list Sent: Thursday, December 4, 2008 3:35:25 AM Subject: Re: [Nagios-users] problem with timeperiod configuration Dan , The reason i asked is - in the Documentation , there is a space , and maybe that is the issue . i think it is worth a shot to try with the space and test it before you report a bug ? Assaf On Wednesday 03 December 2008 18:20:56 Dan McManus wrote: > There is no space between - and 1, so how do I file a bug report? > > Thanks! > > Dan -- 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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 -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ 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] problem with timeperiod configuration
Dan , The reason i asked is - in the Documentation , there is a space , and maybe that is the issue . i think it is worth a shot to try with the space and test it before you report a bug ? Assaf On Wednesday 03 December 2008 18:20:56 Dan McManus wrote: > There is no space between - and 1, so how do I file a bug report? > > Thanks! > > Dan -- 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] problem with timeperiod configuration
There is no space between - and 1, so how do I file a bug report? Thanks! Dan - Original Message From: Assaf Flatto <[EMAIL PROTECTED]> To: nagios-users@lists.sourceforge.net Sent: Wednesday, December 3, 2008 3:13:40 AM Subject: Re: [Nagios-users] problem with timeperiod configuration On Tuesday 02 December 2008 23:45:31 Dan McManus wrote: > Notifications aren't sent to a group if a particular line is active in my > timeperiods.cfg file: > > define timeperiod{ > nameweekdays > timeperiod_name weekdays > alias Normal Day Coverage > monday 06:00-18:00 > tuesday 06:00-18:00 > wednesday 06:00-18:00 > thursday06:00-18:00 > friday 06:00-18:00 > } > > define timeperiod{ > nameholidays > timeperiod_name holidays > alias U.S. Holidays > > # holidays > january 1 00:00-24:00 ; New Years > 2010-12-31 00:00-24:00 ; New years is on a > Saturday 2012-01-02 00:00-24:00 ; New years is on a Sunday > monday 3 january00:00-24:00 ; MLK day > monday 3 february 00:00-24:00 ; President's Day > # fine to here > monday -1 may 00:00-24:00 ; Memorial Day (last Monday > in May) > > define timeperiod{ > timeperiod_name tier1-daytime > use weekdays; Include weekdays > exclude holidays; Exclude holiday > dates/times defined elsewhere } > > When I have "monday -1 may..." commented out, it works fine, but if not, it > doesn't. Is this a bug, or am I doing something wrong somehow? This is on > both 3.03 and 3.06. > reading the documentation , it looks like the definitions are correct and this might be a bug , one small nitpicking detail - that might make the difference , in the monday -1 may 00:00-24:00 , definition : is the `-` directly attached to the "monday" string os is there a space between them ? -- 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
Re: [Nagios-users] problem with timeperiod configuration
On Tuesday 02 December 2008 23:45:31 Dan McManus wrote: > Notifications aren't sent to a group if a particular line is active in my > timeperiods.cfg file: > > define timeperiod{ > nameweekdays > timeperiod_name weekdays > alias Normal Day Coverage > monday 06:00-18:00 > tuesday 06:00-18:00 > wednesday 06:00-18:00 > thursday06:00-18:00 > friday 06:00-18:00 > } > > define timeperiod{ > nameholidays > timeperiod_name holidays > alias U.S. Holidays > > # holidays > january 1 00:00-24:00 ; New Years > 2010-12-31 00:00-24:00 ; New years is on a > Saturday 2012-01-02 00:00-24:00 ; New years is on a Sunday > monday 3 january00:00-24:00 ; MLK day > monday 3 february 00:00-24:00 ; President's Day > # fine to here > monday -1 may 00:00-24:00 ; Memorial Day (last Monday > in May) > > define timeperiod{ > timeperiod_name tier1-daytime > use weekdays; Include weekdays > exclude holidays; Exclude holiday > dates/times defined elsewhere } > > When I have "monday -1 may..." commented out, it works fine, but if not, it > doesn't. Is this a bug, or am I doing something wrong somehow? This is on > both 3.03 and 3.06. > reading the documentation , it looks like the definitions are correct and this might be a bug , one small nitpicking detail - that might make the difference , in the monday -1 may 00:00-24:00 , definition : is the `-` directly attached to the "monday" string os is there a space between them ? -- 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] problem with timeperiod configuration
Notifications aren't sent to a group if a particular line is active in my timeperiods.cfg file: define timeperiod{ nameweekdays timeperiod_name weekdays alias Normal Day Coverage monday 06:00-18:00 tuesday 06:00-18:00 wednesday 06:00-18:00 thursday06:00-18:00 friday 06:00-18:00 } define timeperiod{ nameholidays timeperiod_name holidays alias U.S. Holidays # holidays january 1 00:00-24:00 ; New Years 2010-12-31 00:00-24:00 ; New years is on a Saturday 2012-01-02 00:00-24:00 ; New years is on a Sunday monday 3 january00:00-24:00 ; MLK day monday 3 february 00:00-24:00 ; President's Day # fine to here monday -1 may 00:00-24:00 ; Memorial Day (last Monday in May) define timeperiod{ timeperiod_name tier1-daytime use weekdays; Include weekdays exclude holidays; Exclude holiday dates/times defined elsewhere } When I have "monday -1 may..." commented out, it works fine, but if not, it doesn't. Is this a bug, or am I doing something wrong somehow? This is on both 3.03 and 3.06. Thanks Dan - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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