[Nagios-users] Time periods Issue
From: adi yesaya [EMAIL PROTECTED] Date: Jun 26, 2007 8:12 PM Subject: [Nagios-users] Time-periods Issue To: Nagios-users@lists.sourceforge.net It's about time periods again, It's 20:00 o'clock right now and I defined a time period like this: define timeperiod{ timeperiod_name night alias Check at night only sunday 22:00-23:00 monday 22:00-23:00 tuesday 22:00-23:00 wednesday 22:00-23:00 thursday 22:00-23:00 friday 22:00-23:00 saturday 22:00-23:00 } using this settings, i restarted Nagios and it schedules all plug-ins at 22:00 without interleaving them. But if i set the timeperiod to: define timeperiod{ timeperiod_name night alias Check at night only sunday 20:15-21:15 monday 20:15-21:15 tuesday 20:15-21:15 wednesday 20:15-21:15 thursday 20:15-21:15 friday 20:15-21:15 saturday 20:15-21:15 } and restart nagios, on the web interface I can see Nagios interleaving all the checks right away. Why if i schedule it couple hours ahead Nagios doesn't interleave the chekcs but if i schedule it couple minutes ahead, it interleaves all the check? these are my configuration: service_interleave_factor=s max_service_check_spread=60 service_inter_check_delay_method=s Regards, Adi Yesaya - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Time periods Issue
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Why if i schedule it couple hours ahead Nagios doesn't interleave the chekcs but if i schedule it couple minutes ahead, it interleaves all the check? I'm not certain, but it may have something to do with your max_service_check_spread being set to 60 minutes and it might be getting confused with your timeperiod definition being a span of only one hour. - -- Andy Harrison public key: 0x67518262 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: http://firegpg.tuxfamily.org iD8DBQFGglIsNTm8fWdRgmIRAqruAKDZGjmw+YVAxUP3aohTTALOkZ/jpACgr8+F CQC+yTBRn893gFnmgyRNLIE= =cP2C -END PGP SIGNATURE- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Time periods Issue
First i thought so too, but i tried to change the max_service_check_spread to 90 or 180 and it still happens. Does anyone have a clue? On 6/27/07, Andy Harrison [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Why if i schedule it couple hours ahead Nagios doesn't interleave the chekcs but if i schedule it couple minutes ahead, it interleaves all the check? I'm not certain, but it may have something to do with your max_service_check_spread being set to 60 minutes and it might be getting confused with your timeperiod definition being a span of only one hour. - -- Andy Harrison public key: 0x67518262 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: http://firegpg.tuxfamily.org iD8DBQFGglIsNTm8fWdRgmIRAqruAKDZGjmw+YVAxUP3aohTTALOkZ/jpACgr8+F CQC+yTBRn893gFnmgyRNLIE= =cP2C -END PGP SIGNATURE- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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] Time periods Issue
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/27/07, adi yesaya wrote: First i thought so too, but i tried to change the max_service_check_spread to 90 or 180 and it still happens. Does anyone have a clue? I would think that would make the problem worse, not better. Why don't you try increasing the time period to a two hour span and see if that helps. - -- Andy Harrison public key: 0x67518262 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: http://firegpg.tuxfamily.org iD8DBQFGgqeuNTm8fWdRgmIRAppsAKDc0FjQvQZt1y/LfwdDPDdMELaq8ACg9EQh GCJB+w8dkEOIBAPG3QJqvdM= =/QCT -END PGP SIGNATURE- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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] Time-periods Issue
It's about time periods again, It's 20:00 o'clock right now and I defined a time period like this: define timeperiod{ timeperiod_name night alias Check at night only sunday 22:00-23:00 monday 22:00-23:00 tuesday 22:00-23:00 wednesday 22:00-23:00 thursday 22:00-23:00 friday 22:00-23:00 saturday 22:00-23:00 } using this settings, i restarted Nagios and it schedules all plug-ins at 22:00 without interleaving them. But if i set the timeperiod to: define timeperiod{ timeperiod_name night alias Check at night only sunday 20:15-21:15 monday 20:15-21:15 tuesday 20:15-21:15 wednesday 20:15-21:15 thursday 20:15-21:15 friday 20:15-21:15 saturday 20:15-21:15 } and restart nagios, on the web interface I can see Nagios interleaving all the checks right away. Why if i schedule it couple hours ahead Nagios doesn't interleave the chekcs but if i schedule it couple minutes ahead, it interleaves all the check? these are my configuration: service_interleave_factor=s max_service_check_spread=60 service_inter_check_delay_method=s Regards, Adi Yesaya - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ 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