[Nagios-users] Different configurations for backup times
Hi, I recently reconfigured my nagios setup to monitor a lot more things on my servers and its mostly working ok, but I'm running into issues where I'm getting tons of notifictions during times that backups are running. Which is overnight of course. The notifications happen because the load on each machine will go up and sometimes a TCP connection will fail for a few minutes. I realize that this is really a problem I need to deal with on my servers and I'm working on that too, but I was wondering how I could tell nagios to be less agreesive overnight. From reading docs and looking at configuration files, I can only see that I'd need to duplicate all my host and service entries so that they notify a different contact group that has a different contact schedule. Is this right or is there another better way? -- Mark S. Krenz IT Director Suso Technology Services, Inc. http://suso.org/ -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-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] check_snmp memory leak
Think your so smart, then why doesn't the Fedora quickinstall in the Nagios manual just tell you to do that. ;-) Doh! On Sun, Apr 12, 2009 at 11:26:36PM GMT, jmose...@corp.xanadoo.com [jmose...@corp.xanadoo.com] said the following: The real question, though, is since you're using Cent OS, why not use the Nagios RPM's available via yum repository? It makes upgrading and keeping track of dependencies a breeze. Not sure what the problem was, but I compiled Nagios 3.0.6 on a RHEL 3 system using the exact options that were found in the RPM spec file. I ended up with a nagios binary that was twice as large as the one that came in the RPM package and the version I compiled myself ran using more memory and processor resources than the RPM version. The difference was probably the compiler flags I was using were not optimized for my (or any RHEL) system. Nine times out of ten, using yum rpm's will ultimately end up yielding better results when factoring in system performce, upgrades, etc - and save tons of time and headaches. That's why you're using RHEL, right? Yes, I still have to make RPM's via compilation of source RPM's when the yum repository version doesn't include the feature's I need. For example, I have to roll my own Postfix because I need mysql support. James Moseley Mark Krenz m...@suso.org To 04/12/2009 09:20 nagios-users@lists.sourceforge.net AM cc Subject Re: [Nagios-users] check_snmp memory leak Nevermind, figured it out. I just tried recompiling without the --enable-embedded-perl option and that seems to have fixed it. Now the memory usage is staying at just a couple MB. Not sure why check_snmp was the only check that seemed to aggravate it though. -- Mark S. Krenz IT Director Suso Technology Services, Inc. http://suso.org/ -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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
[Nagios-users] check_snmp memory leak
I've run into some kind of memory leak in Nagios. After removing checks and services to narrow it down, I've determined that its the check_snmp command that is leaking memory. With 33 hosts and almost each one having 1 check that uses check_snmp in it, it leaks about 1MB every couple checks. It only takes a day for it to get to the point where nagiops is using 200-300MB of RAM. I'd say that's pretty bad. Anyways, I've tried recompiling nagios and the nagios plugins and I've upgraded all the packages on my system to make sure it wasn't something there and then recompiled again. Any ideas as to what this might be? Here are my system specs for the nagios server: System type: Xen virtual machine. Architecture: x86_64 Physical memory: 512MB Distribution: CentOS 5.3 gcc ver: gcc-4.1.2-44.el5 Nagios ver: 3.0.6 Nagios Configure settings: configure --with-command-group=nagcmd --enable-embedded-perl Nagios plugins ver: 1.4.13 Nagios Plugins Configure settings: configure --with-nagios-user=nagios --with-nagios-group=nagios --with-mysql I actually have another machine that I was running Nagios on recently where I don't have this problem. It has the same setup except its RHEL 5.2. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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] check_snmp memory leak
Nevermind, figured it out. I just tried recompiling without the --enable-embedded-perl option and that seems to have fixed it. Now the memory usage is staying at just a couple MB. Not sure why check_snmp was the only check that seemed to aggravate it though. On Sun, Apr 12, 2009 at 09:21:03AM GMT, Mark Krenz [m...@suso.org] said the following: I've run into some kind of memory leak in Nagios. After removing checks and services to narrow it down, I've determined that its the check_snmp command that is leaking memory. With 33 hosts and almost each one having 1 check that uses check_snmp in it, it leaks about 1MB every couple checks. It only takes a day for it to get to the point where nagiops is using 200-300MB of RAM. I'd say that's pretty bad. Anyways, I've tried recompiling nagios and the nagios plugins and I've upgraded all the packages on my system to make sure it wasn't something there and then recompiled again. Any ideas as to what this might be? Here are my system specs for the nagios server: System type: Xen virtual machine. Architecture: x86_64 Physical memory: 512MB Distribution: CentOS 5.3 gcc ver: gcc-4.1.2-44.el5 Nagios ver: 3.0.6 Nagios Configure settings: configure --with-command-group=nagcmd --enable-embedded-perl Nagios plugins ver: 1.4.13 Nagios Plugins Configure settings: configure --with-nagios-user=nagios --with-nagios-group=nagios --with-mysql I actually have another machine that I was running Nagios on recently where I don't have this problem. It has the same setup except its RHEL 5.2. -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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 -- Mark S. Krenz IT Director Suso Technology Services, Inc. http://suso.org/ -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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