Re: [Nagios-users] problem with checks being rescheduled outside their timeperiod
Brian Murphy wrote: Hmmm well I have found my problem but have not got a solution. NTP is changing the time on the system, and then [1313911134.718762] [001.0] [pid=14714] compensate_for_system_time_change() start [1313911134.718767] [008.0] [pid=14714] Detected a backwards time change of 0d 0h 0m 1s. [1313911134.718833] [001.0] [pid=14714] adjust_timestamp_for_time_change() [1313911134.718841] [001.0] [pid=14714] adjust_timestamp_for_time_change() the adjust_timestamp_for_time_change() (in events.c) does not check the timeperiod for the check, it just applies the time change to it, therefore often moving it out of its timeperiod and causing it not to run, and to be rescheduled for the next day. [1313504998.099400] [016.0] [pid=2285] Attempting to run scheduled check of service 'DAILY JOB' on host 'host': check options=0, latency=0.099000 [1313504998.099408] [001.0] [pid=2285] run_async_service_check() [1313504998.099412] [001.0] [pid=2285] check_service_check_viability() [1313504998.099417] [001.0] [pid=2285] check_time_against_period() [1313504998.099439] [016.2] [pid=2285] This is not a valid time for this service to be actively checked. [1313504998.099445] [001.0] [pid=2285] check_service_dependencies() [1313504998.099451] [016.1] [pid=2285] Unable to run scheduled service check at this time [1313504998.099455] [001.0] [pid=2285] get_next_valid_time() [1313504998.099459] [001.0] [pid=2285] check_time_against_period() [1313504998.099471] [001.0] [pid=2285] check_time_against_period() [1313504998.099484] [016.1] [pid=2285] Rescheduled next service check for Thu Aug 18 02:30:00 2011 that is the next day, that 02:30:00 time is going outside the timeperiod if there is a second lost in the next 24 hours too. There seems to be something unrequired here, the checks have been scheduled for a time time x, the real time, time y, has been adjusted but we still want the check to run at time x! Or to catch up as much as required running checks scheduled in the new past! Anyway, apart from not having the Virtual time move around on me, has anyone got any suggestions to stop the time rescheduling going outside the timeperiods? just don't use it. make a cron scheduling a downtime instead to suppress notifications. the code with timeperiods is not covering 100% of the cases where it could be triggered and calculating a valid next check time. tracker.nagios.org holds an old issue on that while you can also read about that on the nagios-devel mailinglist archives. Brian -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedr...@univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax:+43 1 4277 14338 web:http://www.univie.ac.at/zid http://www.aco.net Icinga Core IDOUtils Developer http://www.icinga.org -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ 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] Memory leak in Nagios 3.3.1
Hey all. I just stumbled across a memory leak in Nagios 3.3.1 which causes about 500 bytes of data (the exact amount varies with contact names, notification types, acknowledgement comments etc) to be lost on each notification opportunity (that is, when a host or service triggers a notification that actually gets sent to one or more contacts). The leak isn't big and will take a long time to cripple a running system, but you should be aware of it even so and take appropriate measures to avoid any negative impact on your production systems. A weekly restart should prevent leak buildups from reaching anywhere near critical levels. An update to the latest Nagios from subversion should also do the trick. More testing is in progress though, so cautious users (ie, the ones not yet running 3.3.1 anyway) should probably give it a week or two until upgrading. Cheers -- 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. -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ 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] Nagios 3.3.1 Installation Failure
On 08/18/2011 04:15 PM, Jaco Lesch wrote: Christian I had a similar problem on Solaris 10 and it seem to be an issue with the for loop in one of the makefiles. Found this on one of the Ubuntu forums that sorted out the problem for me. Check out the URL below: http://ubuntuforums.org/showthread.php?t=1814086 Thanks for the pointer. I just pushed a fix for this issue. -- 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. -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ 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] Nagios 3.3.1 Installation Failure
So will we see a point release at some point? 3.3.2? Dan -Original Message- From: Andreas Ericsson [mailto:a...@op5.se] Sent: Tuesday, August 23, 2011 7:19 AM To: Nagios Users List Subject: Re: [Nagios-users] Nagios 3.3.1 Installation Failure On 08/18/2011 04:15 PM, Jaco Lesch wrote: Christian I had a similar problem on Solaris 10 and it seem to be an issue with the for loop in one of the makefiles. Found this on one of the Ubuntu forums that sorted out the problem for me. Check out the URL below: http://ubuntuforums.org/showthread.php?t=1814086 Thanks for the pointer. I just pushed a fix for this issue. -- 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. -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ 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 -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ 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] Nagios 3.3.1 Installation Failure
Yeah I figured so...time to update my resume :) Dan -Original Message- From: Andreas Ericsson [mailto:a...@op5.se] Sent: Tuesday, August 23, 2011 9:18 AM To: Nagios Users List Cc: Daniel Wittenberg Subject: Re: [Nagios-users] Nagios 3.3.1 Installation Failure On 08/23/2011 04:12 PM, Daniel Wittenberg wrote: So will we see a point release at some point? 3.3.2? No, never. 3.3.1 is the end of the line for Nagios ;) -- 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. -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ 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] Nagios 3.3.1 Installation Failure
On 08/23/2011 04:12 PM, Daniel Wittenberg wrote: So will we see a point release at some point? 3.3.2? No, never. 3.3.1 is the end of the line for Nagios ;) -- 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. -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ 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] Unable to verify config - no line number given for error
Samuel Kidman wrote: prl@PR-PRO-CR-NAG02:~/host-config/finished-lists$ sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios-master-test.cfg Error processing object config files! I have a hunch the problem's in nagios-master-test.cfg. Do you have a backup of that file from before the last time you modified it, or have a known-good nagios-master.cfg file you can compare it to? Or the example bone-stock nagios.cfg? You're using a newer version of Nagios than I am, too. A while back I realized I'd been migrating an ancient nagios.cfg for too long. My old file contained deprecated settings and was completely missing new settings, so that might be something else to check for. -- -Chris -- Nothing in this message is intended to make or accept an offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ 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] Passive host count
Hi List, I have one Active+Passive checks nagios server . Under tac.cgi , the passive host checks count is 0. # Active Host / Service Checks:584 / 44 # Passive Host / Service Checks:0 / 2544 Is there any workaround to make this fix. /\ dE -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev___ 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