From atann at alphasrv.net Wed Jan 2 09:53:25 2013 From: atann at alphasrv.net (Andre Tann) Date: Wed, 2 Jan 2013 09:53:25 +0100 Subject: Tweaking Socket timeout Message-ID: <201301020953.25422@inter.netz> Hello everyone, some of my services report a socket timeout after 5 seconds. How can I increase this value to 10 secs? # grep -i timeout /etc/nagios3/nagios.cfg # TIMEOUT VALUES service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=10 # <- has been 5 before perfdata_timeout=10 # <- has been 5 before In the last two lines there was a value of 5, and I changed it to 10. This didn't help, which surprises me not much, as the problem isn't ocsp or perfdata related. In my understanding the timeout should be 60 secs as in service_check_timeout, but it is 5 secs as noted before. Where do these 5 secs come from? -- Andre Tann ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ 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 From sri4mailing at gmail.com Wed Jan 2 11:38:53 2013 From: sri4mailing at gmail.com (Srikanth Gumma) Date: Wed, 2 Jan 2013 18:38:53 +0800 Subject: Inconsistency of Nagios Message-ID: Hi, I need some help regarding nagios. We have around 500 Linux servers for which we are doing a ping and ssh monitoring only. The entire functionality is based on remote and no NRPE service is deployed. However I see very inconsistency on nagios functionality. sometimes I don't see any updates on the nagios console for more than one week. Our Nagios is installed on CentOS6.2 OS and it's the latest version Nagios Core 3.4.3. and I could only see some messages like below in /var/log/messages 'SSH' on host 'xyz' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... any help is highly appreciated. Regards Srikanth -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 -------------- next part -------------- _______________________________________________ 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 From work at paul.dubuc.org Wed Jan 2 15:18:34 2013 From: work at paul.dubuc.org (Paul Dubuc) Date: Wed, 02 Jan 2013 09:18:34 -0500 Subject: Tweaking Socket timeout In-Reply-To: <201301020953.25422@inter.netz> References: <201301020953.25422@inter.netz> Message-ID: <50E441BA.6020805@paul.dubuc.org> Service and host check plugins are responsible for implementing their own timeouts, not Nagios. This socket timeout must be specific to the plugin you are using for the service. The timeouts in nagios.cfg are backstops that prevent "stuck" plugins from tying up Nagios resources. You should look at the command or service definition in your other config files and/or the plugin itself to see where and how this timeout is defined. Andre Tann wrote: > Hello everyone, > > some of my services report a socket timeout after 5 seconds. How can I > increase this value to 10 secs? > > # grep -i timeout /etc/nagios3/nagios.cfg > # TIMEOUT VALUES > service_check_timeout=60 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=10 # <- has been 5 before > perfdata_timeout=10 # <- has been 5 before > > > In the last two lines there was a value of 5, and I changed it to 10. > This didn't help, which surprises me not much, as the problem isn't ocsp > or perfdata related. > > In my understanding the timeout should be 60 secs as in > service_check_timeout, but it is 5 secs as noted before. > > Where do these 5 secs come from? > ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ 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 From mguthrie at nagios.com Wed Jan 2 16:23:58 2013 From: mguthrie at nagios.com (Mike Guthrie) Date: Wed, 02 Jan 2013 09:23:58 -0600 Subject: Inconsistency of Nagios In-Reply-To: References: Message-ID: <50E4510E.2000107@nagios.com> Typically when I've seen behavior like this, it's because there are multiple parent processes of Nagios running, so both instances are launching checks, and reaping each others results. Try killing off all Nagios processes, and then starting it fresh again to see if that resolves the issue. /etc/init.d/nagios stop killall -9 nagios /etc/init.d/nagios start On 1/2/2013 4:38 AM, Srikanth Gumma wrote: > Hi, > > I need some help regarding nagios. > > We have around 500 Linux servers for which we are doing a ping and ssh > monitoring only. The entire functionality is based on remote and no > NRPE service is deployed. However I see very inconsistency on nagios > functionality. sometimes I don't see any updates on the nagios console > for more than one week. > > Our Nagios is installed on CentOS6.2 OS and it's the latest > version Nagios Core 3.4.3. and I could only see some messages like > below in /var/log/messages > > > 'SSH' on host 'xyz' looks like it was orphaned (results never came > back). I'm scheduling an immediate check of the service... > > > any help is highly appreciated. > > > Regards > Srikanth > > > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122612 > > > _______________________________________________ > 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 -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 -------------- next part -------------- _______________________________________________ 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 From amoran at apple.com Wed Jan 2 20:00:41 2013 From: amoran at apple.com (Andy Moran) Date: Wed, 02 Jan 2013 11:00:41 -0800 Subject: parsing tac.cgi output Message-ID: Does tac.cgi have a way to output JSON or XML or another machine-parsable output? Specifically I'm looking to have an external script query the number of un-acknowledged critical problems in the nagios cluster. Apologies if this has been asked before. Cheers! --Andy ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ 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 From esteban at nuevaeralatam.com Thu Jan 3 06:36:16 2013 From: esteban at nuevaeralatam.com (Esteban Monge) Date: Wed, 2 Jan 2013 23:36:16 -0600 Subject: Javascript - Nagios CGIs In-Reply-To: References: Message-ID: <077de63948103400e6cc83441fda4635.squirrel@www.nuevaeralatam.com> Hi folks: Is it possible to insert Javascript code in Extra Actions icon for make a dropdown menu instead a link? The idea es add more than one link in the icon for different actions. Thanks ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ 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 From luisforchesatto at gmail.com Thu Jan 3 11:41:17 2013 From: luisforchesatto at gmail.com (Luis H. Forchesatto) Date: Thu, 3 Jan 2013 08:41:17 -0200 Subject: Javascript - Nagios CGIs In-Reply-To: <077de63948103400e6cc83441fda4635.squirrel@www.nuevaeralatam.com> References: <077de63948103400e6cc83441fda4635.squirrel@www.nuevaeralatam.com> Message-ID: Hi Esteban. I believe it is possible since we have many nagios interfaces made by users. Something like editing the source code of the web page should do the trick. 2013/1/3 Esteban Monge > Hi folks: > > Is it possible to insert Javascript code in Extra Actions icon for make a > dropdown menu instead a link? > > The idea es add more than one link in the icon for different actions. > > Thanks > > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122712 > _______________________________________________ > 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 > -- Att.* *** Luis H. Forchesatto Mail: luis_forchesatto at hotmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 -------------- next part -------------- _______________________________________________ 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 From palli at ok.is Thu Jan 3 12:09:00 2013 From: palli at ok.is (=?utf-8?Q?P=C3=A1ll_Gu=C3=B0j=C3=B3n_Sigur=C3=B0sson?=) Date: Thu, 03 Jan 2013 11:09:00 -0000 (GMT) Subject: parsing tac.cgi output In-Reply-To: References: Message-ID: Hi andy, as for the tac.cgi i think your best bet is to parse the html. Alternatively if you have pynag installed on the nagios server you can use this script: import pynag.Parsers s = pynag.Parsers.status() s.parse() all_services = s.data['servicestatus'] unhandled_problems = [service for service in all_services if service['current_state'] != '0' and service['problem_has_been_acknowledged'] == '0' ] print len(unhandled_problems) If your script is not running on the nagios server itself, consider using mklivestatus to get the total number of problems (either shell script or pynag) Kind regards, Pall Sigurdsson ----- Original Message ----- From: "Andy Moran" To: "Nagios Users List" Sent: Wednesday, January 2, 2013 7:00:41 PM Subject: [Nagios-users] parsing tac.cgi output Does tac.cgi have a way to output JSON or XML or another machine-parsable output? Specifically I'm looking to have an external script query the number of un-acknowledged critical problems in the nagios cluster. Apologies if this has been asked before. Cheers! --Andy ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ 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 ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ 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 From palli at ok.is Thu Jan 3 12:10:34 2013 From: palli at ok.is (=?utf-8?Q?P=C3=A1ll_Gu=C3=B0j=C3=B3n_Sigur=C3=B0sson?=) Date: Thu, 03 Jan 2013 11:10:34 -0000 (GMT) Subject: Inconsistency of Nagios In-Reply-To: <50E4510E.2000107@nagios.com> References: <50E4510E.2000107@nagios.com> Message-ID: <73e63cf3-194a-48c1-a2bd-97107078bcbd@zimbra.okhysing.is> Slightly off topic, but how best to write nagios check that checks for this specific behavior (multiple instances of nagios running) ? ----- Original Message ----- From: "Mike Guthrie" To: "Nagios Users List" Sent: Wednesday, January 2, 2013 3:23:58 PM Subject: Re: [Nagios-users] Inconsistency of Nagios Typically when I've seen behavior like this, it's because there are multiple parent processes of Nagios running, so both instances are launching checks, and reaping each others results. Try killing off all Nagios processes, and then starting it fresh again to see if that resolves the issue. /etc/init.d/nagios stop killall -9 nagios /etc/init.d/nagios start On 1/2/2013 4:38 AM, Srikanth Gumma wrote: Hi, I need some help regarding nagios. We have around 500 Linux servers for which we are doing a ping and ssh monitoring only. The entire functionality is based on remote and no NRPE service is deployed. However I see very inconsistency on nagios functionality. sometimes I don't see any updates on the nagios console for more than one week. Our Nagios is installed on CentOS6.2 OS and it's the latest version Nagios Core 3.4.3. and I could only see some messages like below in /var/log/messages 'SSH' on host 'xyz' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... any help is highly appreciated. Regards Srikanth ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ 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 -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ 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 ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ 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 From nagios at flatto.net Thu Jan 3 12:45:07 2013 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 03 Jan 2013 11:45:07 +0000 Subject: Inconsistency of Nagios In-Reply-To: <73e63cf3-194a-48c1-a2bd-97107078bcbd@zimbra.okhysing.is> References: <73e63cf3-194a-48c1-a2bd-97107078bcbd@zimbra.okhysing.is> Message-ID: <50E56F43.4010007@flatto.net> Check_procs ? or write one ! On 03/01/13 11:10, P?ll Gu?j?n Sigur?sson wrote: > Slightly off topic, but how best to write nagios check that checks for this specific behavior (multiple instances of nagios running) ? > > > ----- Original Message ----- > From: "Mike Guthrie" > To: "Nagios Users List" > Sent: Wednesday, January 2, 2013 3:23:58 PM > Subject: Re: [Nagios-users] Inconsistency of Nagios > > > > Typically when I've seen behavior like this, it's because there are multiple parent processes of Nagios running, so both instances are launching checks, and reaping each others results. Try killing off all Nagios processes, and then starting it fresh again to see if that resolves the issue. > > /etc/init.d/nagios stop > killall -9 nagios > /etc/init.d/nagios start > > > > > On 1/2/2013 4:38 AM, Srikanth Gumma wrote: > > > > Hi, > > > I need some help regarding nagios. > > > We have around 500 Linux servers for which we are doing a ping and ssh monitoring only. The entire functionality is based on remote and no NRPE service is deployed. However I see very inconsistency on nagios functionality. sometimes I don't see any updates on the nagios console for more than one week. > > > Our Nagios is installed on CentOS6.2 OS and it's the latest version Nagios Core 3.4.3. and I could only see some messages like below in /var/log/messages > > > > > > 'SSH' on host 'xyz' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... > > > > > any help is highly appreciated. > > > > > Regards > Srikanth > > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 > > _______________________________________________ > 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 > ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ 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 From kae at midnighthax.com Thu Jan 3 12:31:36 2013 From: kae at midnighthax.com (Keith Edmunds) Date: Thu, 3 Jan 2013 11:31:36 +0000 Subject: Notifications Message-ID: <20130103113136.49c58a3c@ws.the.cage> Aim: to have any service or host notifications on a defined subset of hosts be sent to a specific contact group. Using host groups, we are able to send notifications of host problems to a specific contact group. We want to send notifications of service problems on those hosts to the same contact group. There doesn't seem to be a way to specify the contact group to notify for service problems according to the host group that the affected server belongs to. In case it isn't clear: imagine three servers, alpha, bravo and charlie. Alpha and bravo are in the "AB" hostgroup; all three servers run Apache. If Nagios detects a problem with Apache on any of the servers, it should notify the apache-contact-group. If the problem is on alpha or bravo, it should also notify the ab-contact-group; however, if the problem is on charlie, the ab-contact-group should not be notified. Can Nagios do this? Thanks, Keith ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ 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 From benny at bennyvision.com Thu Jan 3 15:44:44 2013 From: benny at bennyvision.com (C. Bensend) Date: Thu, 3 Jan 2013 08:44:44 -0600 Subject: Inconsistency of Nagios In-Reply-To: <73e63cf3-194a-48c1-a2bd-97107078bcbd@zimbra.okhysing.is> References: <73e63cf3-194a-48c1-a2bd-97107078bcbd@zimbra.okhysing.is> Message-ID: I think you'll have to write one... check_procs is not helpful in this case, as the daemon forks off many processes to run plugins. Just checking for number of Nagios processes won't help, as it won't be aware of parent/child relationships. Now, mind you, I *do* run check_procs on my Nagios servers just to make sure I don't have runaways. But it won't tell me if I have more than one daemon running. If you really want to work on this, you'll have to write a plugin that is able to follow the parent/child relationships (take a look at the ps man page) and is able to determine if there's more than one parent process. I *think* that is a decent direction to go. > Slightly off topic, but how best to write nagios check that checks for > this specific behavior (multiple instances of nagios running) ? > > > ----- Original Message ----- > From: "Mike Guthrie" > To: "Nagios Users List" > Sent: Wednesday, January 2, 2013 3:23:58 PM > Subject: Re: [Nagios-users] Inconsistency of Nagios > > > > Typically when I've seen behavior like this, it's because there are > multiple parent processes of Nagios running, so both instances are > launching checks, and reaping each others results. Try killing off all > Nagios processes, and then starting it fresh again to see if that resolves > the issue. > > /etc/init.d/nagios stop > killall -9 nagios > /etc/init.d/nagios start > > > > > On 1/2/2013 4:38 AM, Srikanth Gumma wrote: > > > > Hi, > > > I need some help regarding nagios. > > > We have around 500 Linux servers for which we are doing a ping and ssh > monitoring only. The entire functionality is based on remote and no NRPE > service is deployed. However I see very inconsistency on nagios > functionality. sometimes I don't see any updates on the nagios console for > more than one week. > > > Our Nagios is installed on CentOS6.2 OS and it's the latest version Nagios > Core 3.4.3. and I could only see some messages like below in > /var/log/messages > > > > > > 'SSH' on host 'xyz' looks like it was orphaned (results never came back). > I'm scheduling an immediate check of the service... > > > > > any help is highly appreciated. > > > > > Regards > Srikanth > > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122612 > > _______________________________________________ > 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 > > -- > > > Mike Guthrie > Technical Team > ___ > Nagios Enterprises, LLC > Email: mguthrie at nagios.com Web: www.nagios.com > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122612 > _______________________________________________ > 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 > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122712 > _______________________________________________ > 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 > -- "The very existence of flamethrowers proves that sometime, somewhere, someone said to themselves, 'You know, I want to set those people over there on fire, but I'm just not close enough to get the job done.'" -- George Carlin ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ 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 From work at paul.dubuc.org Thu Jan 3 16:15:46 2013 From: work at paul.dubuc.org (Paul Dubuc) Date: Thu, 03 Jan 2013 10:15:46 -0500 Subject: Notifications In-Reply-To: <20130103113136.49c58a3c@ws.the.cage> References: <20130103113136.49c58a3c@ws.the.cage> Message-ID: <50E5A0A2.4010003@paul.dubuc.org> Keith Edmunds wrote: > Aim: to have any service or host notifications on a defined subset of > hosts be sent to a specific contact group. > > Using host groups, we are able to send notifications of host problems to a > specific contact group. We want to send notifications of service problems > on those hosts to the same contact group. > > There doesn't seem to be a way to specify the contact group to notify > for service problems according to the host group that the affected server > belongs to. > > In case it isn't clear: imagine three servers, alpha, bravo and charlie. > Alpha and bravo are in the "AB" hostgroup; all three servers run Apache. > If Nagios detects a problem with Apache on any of the servers, it should > notify the apache-contact-group. If the problem is on alpha or bravo, it > should also notify the ab-contact-group; however, if the problem is on > charlie, the ab-contact-group should not be notified. > > Can Nagios do this? > > Thanks, > Keith Take a look at Nagios Business Process Intelligence (BPI). It might be what you need: http://exchange.nagios.org/directory/Addons/Components/Nagios-Business-Process-Intelligence-%28BPI%29/details It lets you define a service that is an aggregate of any combination of hosts and services that you define. All I think you would need to do then is define the appropriate contact for the aggregate services that you specify. ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ 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 From esteban at nuevaeralatam.com Thu Jan 3 22:28:22 2013 From: esteban at nuevaeralatam.com (Esteban Monge) Date: Thu, 3 Jan 2013 15:28:22 -0600 Subject: Javascript - Nagios CGIs In-Reply-To: References: <077de63948103400e6cc83441fda4635.squirrel@www.nuevaeralatam.com> Message-ID: > Hi Esteban. > > I believe it is possible since we have many nagios interfaces made by > users. Something like editing the source code of the web page should do > the > trick. > > 2013/1/3 Esteban Monge > >> Hi folks: >> >> Is it possible to insert Javascript code in Extra Actions icon for make >> a >> dropdown menu instead a link? >> >> The idea es add more than one link in the icon for different actions. >> >> Thanks >> OK... Can I obtain v?a PHP/HTML/JavaScript without modify CGI some variables, such IP or HOSTNAME? For example adding HTML code to SSI share files >> >> >> ------------------------------------------------------------------------------ >> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >> MVPs and experts. ON SALE this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_122712 >> _______________________________________________ >> 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 >> > > > > -- > Att.* > *** > Luis H. Forchesatto > Mail: luis_forchesatto at hotmail.com > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122712_______________________________________________ > 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 ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ 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 From sri4mailing at gmail.com Fri Jan 4 03:04:55 2013 From: sri4mailing at gmail.com (Srikanth Gumma) Date: Fri, 4 Jan 2013 10:04:55 +0800 Subject: Inconsistency of Nagios Message-ID: Thank you for all the inputs. If I understand correctly, I should create some plugin to kill all dependency process on a periodic interval. In my observation I did not see multiple parent process. Currently what I observe is whenever I see such sluggishness then I stop nagios service cleanup checkresult directory and start nagios again. Can this be debugged further? Regards Srikanth -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 -------------- next part -------------- _______________________________________________ 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 From esteban at nuevaeralatam.com Fri Jan 4 03:54:24 2013 From: esteban at nuevaeralatam.com (Esteban Monge) Date: Thu, 3 Jan 2013 20:54:24 -0600 Subject: Javascript - Nagios CGIs In-Reply-To: References: <077de63948103400e6cc83441fda4635.squirrel@www.nuevaeralatam.com> Message-ID: <68e3bb1978f2397c8655bd06c8435e88.squirrel@www.nuevaeralatam.com> >> Hi Esteban. >> >> I believe it is possible since we have many nagios interfaces made by >> users. Something like editing the source code of the web page should do >> the >> trick. >> >> 2013/1/3 Esteban Monge >> >>> Hi folks: >>> >>> Is it possible to insert Javascript code in Extra Actions icon for make >>> a >>> dropdown menu instead a link? >>> >>> The idea es add more than one link in the icon for different actions. >>> >>> Thanks >>> > > OK... Can I obtain v?a PHP/HTML/JavaScript without modify CGI some > variables, such IP or HOSTNAME? For example adding HTML code to SSI share > files > I make a SSI PHP script with pure CSS menu, I can adquire via URL the hostname. In the image can see the look, and for demonstrative purposes I printed the hostname. Now I need the IP, but via URL it's impossible, I have two options: Via MK livestatus, I know how do it, but isn't standard and need additional steps Via pure Nagios tricks... I don't know how, status.cgi, status.dat ?? ???Help appreciated!!! http://img717.imageshack.us/img717/323/shot201301032038332.jpg >>> >>> >>> ------------------------------------------------------------------------------ >>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >>> MVPs and experts. ON SALE this month only -- learn more at: >>> http://p.sf.net/sfu/learnmore_122712 >>> _______________________________________________ >>> 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 >>> >> >> >> >> -- >> Att.* >> *** >> Luis H. Forchesatto >> Mail: luis_forchesatto at hotmail.com >> ------------------------------------------------------------------------------ >> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >> MVPs and experts. ON SALE this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_122712_______________________________________________ >> 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 > > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122712 > _______________________________________________ > 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 > ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ 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 From benny at bennyvision.com Fri Jan 4 04:06:34 2013 From: benny at bennyvision.com (C. Bensend) Date: Thu, 3 Jan 2013 21:06:34 -0600 Subject: Inconsistency of Nagios In-Reply-To: References: Message-ID: <0521349883fcbd2b0f9483b15be72147.squirrel@webmail.stinkweasel.net> > If I understand correctly, I should create some plugin to kill all > dependency process on a periodic interval. In my observation I did not see > multiple parent process. My recommendation was to write a plugin to *detect* multiple parents, not kill them. > Currently what I observe is whenever I see such sluggishness then I stop > nagios service cleanup checkresult directory and start nagios again. However, with your further note above, I don't think you're getting multiple daemons running. Forgive me, I don't recall the full details of your installation - are you running any sort of NDO module? NDOUtils? Are you processing perfdata? If so, via what mechanism? -- "The very existence of flamethrowers proves that sometime, somewhere, someone said to themselves, 'You know, I want to set those people over there on fire, but I'm just not close enough to get the job done.'" -- George Carlin ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ 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 From atann at alphasrv.net Fri Jan 4 10:13:22 2013 From: atann at alphasrv.net (Andre Tann) Date: Fri, 4 Jan 2013 10:13:22 +0100 Subject: Tweaking Socket timeout In-Reply-To: <50E441BA.6020805@paul.dubuc.org> References: <201301020953.25422@inter.netz> <50E441BA.6020805@paul.dubuc.org> Message-ID: <201301041013.23031@inter.netz> Hi Paul, Paul Dubuc, Mittwoch, 2. Januar 2013: > Service and host check plugins are responsible for implementing their > own timeouts, not Nagios. This socket timeout must be specific to the > plugin you are using for the service. The timeouts in nagios.cfg are > backstops that prevent "stuck" plugins from tying up Nagios resources. > You should look at the command or service definition in your other > config files and/or the plugin itself to see where and how this timeout > is defined. thanks, this was the clue. I now changed the command definition to a timeout of 10 secs, and see - the service isn't flapping anymore. Thanks again! -- Andre Tann ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ 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 From mguthrie at nagios.com Fri Jan 4 16:16:41 2013 From: mguthrie at nagios.com (Mike Guthrie) Date: Fri, 04 Jan 2013 09:16:41 -0600 Subject: Inconsistency of Nagios In-Reply-To: <0521349883fcbd2b0f9483b15be72147.squirrel@webmail.stinkweasel.net> References: <0521349883fcbd2b0f9483b15be72147.squirrel@webmail.stinkweasel.net> Message-ID: <50E6F259.5050909@nagios.com> On 1/3/2013 9:06 PM, C. Bensend wrote: >> If I understand correctly, I should create some plugin to kill all >> dependency process on a periodic interval. In my observation I did not see >> multiple parent process. > My recommendation was to write a plugin to *detect* multiple parents, > not kill them. > >> Currently what I observe is whenever I see such sluggishness then I stop >> nagios service cleanup checkresult directory and start nagios again. Can you explain a little bit more on having to clean up the checkresult directory? You shouldn't ever have to do this manually, Nagios reaps the results from this directory every X number of seconds as defined in nagios.cfg. How large is your installation? What are the permissions on the leftover files in this directory? If the checkresults directory perpetually grows in the number of files, then that would probably explain the sluggishness, because directory scan alone would make Nagios have to work much harder... > However, with your further note above, I don't think you're getting > multiple daemons running. > > Forgive me, I don't recall the full details of your installation - > are you running any sort of NDO module? NDOUtils? Are you processing > perfdata? If so, via what mechanism? > > -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ 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 From jlgarrison at apu.edu Fri Jan 4 18:02:56 2013 From: jlgarrison at apu.edu (Justin Garrison) Date: Fri, 4 Jan 2013 09:02:56 -0800 Subject: SSL SNI option not returning expected results Message-ID: I recently updated my nagios plugins to version 1.4.16 so that I could verify certificates for one of our Apache servers using SNI. After successfully compiling the plugins and restarting nagios the check_http plugin is still not verifying the SSL certificate based on the service url. I am trying these commands from the terminal just to verify they are working before deploying nagios checks. Here is the command I am using to test the connection (obviously the hostename and URL were changed just because I'm paranoid) ./check_http --sni --ssl -H MY.APACHE.HOSTENAME -C 8 -u URL1.FOR.SERVICE This returns the certificate information that is installed for the host instead of the service. Is there something I'm doing wrong with this check? Does the nagios host need to be SNI aware some how? Thanks for the help -- Justin Garrison Systems Administrator -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 -------------- next part -------------- _______________________________________________ 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 From amoran at apple.com Fri Jan 4 19:09:00 2013 From: amoran at apple.com (Andy Moran) Date: Fri, 04 Jan 2013 10:09:00 -0800 Subject: parsing tac.cgi output In-Reply-To: References: Message-ID: Thanks for the suggestions! --Andy On Jan 3, 2013, at 3:09 AM, P?ll Gu?j?n Sigur?sson wrote: > Hi andy, > > as for the tac.cgi i think your best bet is to parse the html. > > Alternatively if you have pynag installed on the nagios server you can use this script: > > import pynag.Parsers > s = pynag.Parsers.status() > s.parse() > > all_services = s.data['servicestatus'] > unhandled_problems = [service for service in all_services if service['current_state'] != '0' and service['problem_has_been_acknowledged'] == '0' ] > > print len(unhandled_problems) > > > > If your script is not running on the nagios server itself, consider using mklivestatus to get the total number of problems (either shell script or pynag) > > Kind regards, > Pall Sigurdsson > > > ----- Original Message ----- > From: "Andy Moran" > To: "Nagios Users List" > Sent: Wednesday, January 2, 2013 7:00:41 PM > Subject: [Nagios-users] parsing tac.cgi output > > > Does tac.cgi have a way to output JSON or XML or another machine-parsable output? > > Specifically I'm looking to have an external script query the number of un-acknowledged critical problems in the nagios cluster. > > > Apologies if this has been asked before. > > Cheers! > > --Andy > > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122612 > _______________________________________________ > 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 > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122712 > _______________________________________________ > 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 ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ 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 From adam.mclean at rbc.com Fri Jan 4 21:24:24 2013 From: adam.mclean at rbc.com (Mclean, Adam) Date: Fri, 4 Jan 2013 15:24:24 -0500 Subject: Long output for NRPE 2.14 Message-ID: Has anyone had success porting the multi-line patch to NRPE 2.14? Specifically: https://dev.icinga.org/attachments/113/nrpe_multiline.patch I had success in 2.12, and 2.13, but 2.14 seems to break with the same patch content. 2.14 seems to include some rather critical patches, so I'd like to migrate to it, but don't want to lose the long output support provided by the above patch! Thanks! Adam. _______________________________________________________________________ This email may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this email or the information it contains by other than an intended recipient is unauthorized. If you received this email in error, please advise the sender (by return email or otherwise) immediately. You have consented to receive the attached electronically at the above-noted email address; please retain a copy of this confirmation for future reference. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce courriel ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez en aviser l'exp?diteur imm?diatement, par retour de courriel ou par un autre moyen. Vous avez accept? de recevoir le(s) document(s) ci-joint(s) par voie ?lectronique ? l'adresse courriel indiqu?e ci-dessus; veuillez conserver une copie de cette confirmation pour les fins de reference future. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 -------------- next part -------------- _______________________________________________ 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 From deibertine at yahoo.com Sun Jan 6 14:36:45 2013 From: deibertine at yahoo.com (Dei Bertine) Date: Sun, 6 Jan 2013 05:36:45 -0800 (PST) Subject: (no subject) Message-ID: <1357479405.29401.YahooMailNeo@web120803.mail.ne1.yahoo.com> http://fundacionvivi.org/wmnpw.php?srcm=srcm -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 -------------- next part -------------- _______________________________________________ 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 From deibertine at yahoo.com Sun Jan 6 21:25:40 2013 From: deibertine at yahoo.com (Dei Bertine) Date: Sun, 6 Jan 2013 12:25:40 -0800 (PST) Subject: (no subject) Message-ID: <1357503940.64222.YahooMailNeo@web120806.mail.ne1.yahoo.com> http://prestigeseoservices.com/css/dwncst.php?mjgy=mjgy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 -------------- next part -------------- _______________________________________________ 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 From cbeattie at geninfo.com Mon Jan 7 22:54:11 2013 From: cbeattie at geninfo.com (Chris Beattie) Date: Mon, 7 Jan 2013 16:54:11 -0500 Subject: Notifications In-Reply-To: <20130103113136.49c58a3c@ws.the.cage> References: <20130103113136.49c58a3c@ws.the.cage> Message-ID: <50EB4403.3090109@geninfo.com> On 1/3/2013 6:31 AM, Keith Edmunds wrote: > In case it isn't clear: imagine three servers, alpha, bravo and charlie. > Alpha and bravo are in the "AB" hostgroup; all three servers run Apache. > If Nagios detects a problem with Apache on any of the servers, it should > notify the apache-contact-group. If the problem is on alpha or bravo, it > should also notify the ab-contact-group; however, if the problem is on > charlie, the ab-contact-group should not be notified. > > Can Nagios do this? Nagios is very flexible in this regard. If your Apache service check definition contains a directive like "contact_groups apache-contact-group", try changing it to "contact_groups +apache-contact-group" instead. This signals Nagios to add the services's contact groups to the ones the service inherits from the host, rather than replace them. See "Implied Inheritance" and "Additive Inheritance" here: http://nagios.sourceforge.net/docs/3_0/objectinheritance.html -- -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. ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ 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 From Martin_Hugo at hboe.org Tue Jan 8 14:29:58 2013 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Tue, 8 Jan 2013 13:29:58 +0000 Subject: Nagios not working except for local host In-Reply-To: <50EB4403.3090109@geninfo.com> References: <20130103113136.49c58a3c@ws.the.cage> <50EB4403.3090109@geninfo.com> Message-ID: <70D7A4219FE365439DA53582BA6D8F2EF5E1FE0A@HCSD-MAIL1> Hello, My Nagios server died and I am having to rebuild (ran well for the best part of two years). I am running Nagios Core 3.4.3 on Ubuntu 12.04 and have added pnp4nagios 0.6.19. Nagios and pnp4nagios were installed from source. I believe I have configured it correctly but I have obviously missed something. My Nagios pre-flight check shows no errors (one warning about a host with no services assigned - which I am aware of), it correctly lists the number of hosts and services but, when I go to the web interface, it only shows the local host. Can anyone suggest where I might start troubleshooting this? Thanks very much. -- Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-921-7243 (Fax) ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ 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 From florian_ernst at gmx.net Tue Jan 8 14:53:03 2013 From: florian_ernst at gmx.net (Florian Ernst) Date: Tue, 8 Jan 2013 14:53:03 +0100 Subject: NRPE: Unable to read output; but works when run under strace ... In-Reply-To: <20121008183121.GA3889@fernst.no-ip.org> References: <20121008183121.GA3889@fernst.no-ip.org> Message-ID: <20130108135303.GA3836@fernst.no-ip.org> Hello all, following up to myself ... On Mon, Oct 08, 2012 at 08:31:21PM +0200, Florian Ernst wrote: > [...] > However, it got weirder: if I strace the nrpe process, everything works > as desired: > [...] > I found no further hints in the strace log, but this led me to assume > that there is some NRPE weirdness involved, and thus I'm writing here > instead of further digging through the system. > > Any ideas? Lacking any further clue as to what peculiarity might be responsible for this weird behavior, I decided to simply let the nrpe process permanently run under strace like strace -f -q -e none -o /dev/null ... The performance impact is minimal, and I finally get check results. Not really a solution, but it'll do. Cheers, Flo ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ 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 From nagios at flatto.net Tue Jan 8 15:16:16 2013 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 08 Jan 2013 14:16:16 +0000 Subject: Nagios not working except for local host In-Reply-To: <70D7A4219FE365439DA53582BA6D8F2EF5E1FE0A@HCSD-MAIL1> References: <20130103113136.49c58a3c@ws.the.cage> <50EB4403.3090109@geninfo.com> <70D7A4219FE365439DA53582BA6D8F2EF5E1FE0A@HCSD-MAIL1> Message-ID: <50EC2A30.3080109@flatto.net> On 08/01/13 13:29, Martin Hugo wrote: > Hello, > > My Nagios server died and I am having to rebuild (ran well for the best part of two years). I am running Nagios Core 3.4.3 on Ubuntu 12.04 and have added pnp4nagios 0.6.19. Nagios and pnp4nagios were installed from source. I believe I have configured it correctly but I have obviously missed something. > > My Nagios pre-flight check shows no errors (one warning about a host with no services assigned - which I am aware of), it correctly lists the number of hosts and services but, when I go to the web interface, it only shows the local host. > > Can anyone suggest where I might start troubleshooting this? > > Thanks very much. > Are you logged as guest or as nagiosadmin ? what changes have you made in the cgi.cfg ? ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ 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 From mark.frost1 at pepsico.com Tue Jan 8 15:12:41 2013 From: mark.frost1 at pepsico.com (Frost, Mark {BIS}) Date: Tue, 8 Jan 2013 09:12:41 -0500 Subject: Nagios not working except for local host In-Reply-To: <70D7A4219FE365439DA53582BA6D8F2EF5E1FE0A@HCSD-MAIL1> References: <20130103113136.49c58a3c@ws.the.cage> <50EB4403.3090109@geninfo.com> <70D7A4219FE365439DA53582BA6D8F2EF5E1FE0A@HCSD-MAIL1> Message-ID: Martin, Remember that the UI shows you hosts and services based on the user you're logged into the UI as (or the user that apache thinks you are and then passes that on to the Nagios CGIs). The hosts/services shown to a userid in the UI are based on either what Nagios thinks that user is a contact for (i.e. that id is a contact for a given host or service therefore you see it in the UI) or based on what settings you have for that user in your cgi.cfg file. So if you're logged in as "martin" in the UI and "martin" doesn't match a contact in Nagios, then you would want to change your cgi.cfg to give "martin" permissions to say view all hosts, etc. Mark -----Original Message----- From: Martin Hugo [mailto:Martin_Hugo at hboe.org] Sent: Tuesday, January 08, 2013 8:30 AM To: 'Nagios Users List' Subject: [Nagios-users] Nagios not working except for local host Hello, My Nagios server died and I am having to rebuild (ran well for the best part of two years). I am running Nagios Core 3.4.3 on Ubuntu 12.04 and have added pnp4nagios 0.6.19. Nagios and pnp4nagios were installed from source. I believe I have configured it correctly but I have obviously missed something. My Nagios pre-flight check shows no errors (one warning about a host with no services assigned - which I am aware of), it correctly lists the number of hosts and services but, when I go to the web interface, it only shows the local host. Can anyone suggest where I might start troubleshooting this? Thanks very much. -- Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-921-7243 (Fax) ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ 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 ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ 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 From Martin_Hugo at hboe.org Tue Jan 8 20:23:20 2013 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Tue, 8 Jan 2013 19:23:20 +0000 Subject: Nagios not working except for local host In-Reply-To: References: <20130103113136.49c58a3c@ws.the.cage> <50EB4403.3090109@geninfo.com> <70D7A4219FE365439DA53582BA6D8F2EF5E1FE0A@HCSD-MAIL1> Message-ID: <70D7A4219FE365439DA53582BA6D8F2EF5E206FC@HCSD-MAIL1> Thanks for the Reponses guys. I went back and reconfigured from source and now Nagios is working! So now it's on to pnp4nagios and then NRPE. Thanks again. -- Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-921-7243 (Fax) -----Original Message----- From: Frost, Mark {BIS} [mailto:mark.frost1 at pepsico.com] Sent: Tuesday, January 08, 2013 9:13 AM To: Nagios Users List Subject: Re: [Nagios-users] Nagios not working except for local host Martin, Remember that the UI shows you hosts and services based on the user you're logged into the UI as (or the user that apache thinks you are and then passes that on to the Nagios CGIs). The hosts/services shown to a userid in the UI are based on either what Nagios thinks that user is a contact for (i.e. that id is a contact for a given host or service therefore you see it in the UI) or based on what settings you have for that user in your cgi.cfg file. So if you're logged in as "martin" in the UI and "martin" doesn't match a contact in Nagios, then you would want to change your cgi.cfg to give "martin" permissions to say view all hosts, etc. Mark -----Original Message----- From: Martin Hugo [mailto:Martin_Hugo at hboe.org] Sent: Tuesday, January 08, 2013 8:30 AM To: 'Nagios Users List' Subject: [Nagios-users] Nagios not working except for local host Hello, My Nagios server died and I am having to rebuild (ran well for the best part of two years). I am running Nagios Core 3.4.3 on Ubuntu 12.04 and have added pnp4nagios 0.6.19. Nagios and pnp4nagios were installed from source. I believe I have configured it correctly but I have obviously missed something. My Nagios pre-flight check shows no errors (one warning about a host with no services assigned - which I am aware of), it correctly lists the number of hosts and services but, when I go to the web interface, it only shows the local host. Can anyone suggest where I might start troubleshooting this? Thanks very much. -- Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-921-7243 (Fax) ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ 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 ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ 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 ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ 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 From andrew at fulgent.co.uk Wed Jan 9 18:55:16 2013 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Wed, 9 Jan 2013 17:55:16 +0000 Subject: check_nt - MEMORY USAGE - incorrect results Message-ID: Hi all, Using the supplied check_nt plugin to check Memory Usage on Windows servers. Some report correctly, others report a complete load of old tosh!!! I have tried 3 different versions of Windows OS, the version seems to make no odds. Doesn't matter if 32 or 64 bit either. Some examples MY primary domain controller - Windows Server 2008 R2 (x64) - 8GB ram installed Output from the check appears correct: Memory usage: total:8205.64 Mb - used: 2902.96 Mb (35%) - free: 5302.67 Mb (65%) Another 2008 R2 (x64) server box (has SQL installed on it) - 12GB ram installed Output thinks its got 24GB: Memory usage: total:24573.16 Mb - used: 1796.71 Mb (7%) - free: 22776.45 Mb (93%) A Server 2003 Standard (x86) box (an internal test web server) - 512MB ram installed Output thinks its got over 1GB: Memory usage: total:1257.50 Mb - used: 333.30 Mb (27%) - free: 924.20 Mb (73%) A Server 2012 (x64) box (with HyperV installed) - 28GB ram installed Output thinks tis got 32GB: Memory usage: total:32500.80 Mb - used: 16709.37 Mb (51%) - free: 15791.43 Mb (49%) Anybody any ideas as to why check_nt is returning incorrect info. I know its incorrect but Nagios doesn't so where exactly is it reading these values from? Thanks in advance for anybodies input. Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 -------------- next part -------------- _______________________________________________ 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 From javier.garces at ehu.es Thu Jan 10 08:26:41 2013 From: javier.garces at ehu.es (Javier Garces Asensio) Date: Thu, 10 Jan 2013 08:26:41 +0100 Subject: ADAPTIVE CHECK CHANGE_SVC_CHECK_COMMAND Message-ID: <40548.1656235226$1357802948@news.gmane.org> Hello everybody I would like to use the external command change_svc_check_command to change dinamically the warning and critical values of the checks. However it doesn?t work I think the cause that it doesn't work is the modification introduced in the version 3.0.6 (Disabled adaptive check and eventhandler commands for security reasons ) as you can see in the URL: http://www.nagios.org/projects/nagiosco ... ry/core-3x I?m using the 3.2.1 version. In this version and also in the latest version 3.4.3, I can see the next source code in the base/commands.c file /* SECURITY PATCH - disable these for the time being */ switch(cmd) { case CMD_CHANGE_GLOBAL_HOST_EVENT_HANDLER: case CMD_CHANGE_GLOBAL_SVC_EVENT_HANDLER: case CMD_CHANGE_HOST_EVENT_HANDLER: case CMD_CHANGE_SVC_EVENT_HANDLER: case CMD_CHANGE_HOST_CHECK_COMMAND: case CMD_CHANGE_SVC_CHECK_COMMAND: return ERROR; } I guess if I delete the above code, the external command change_svc_check_command will work Is not recommended to enable this external command? Why was it disabled in the version 3.0.6? This is not resolved in the latest version? I haven?t found any official documentation about this Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 -------------- next part -------------- _______________________________________________ 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 From omar.saddiki at gmail.com Thu Jan 10 09:55:20 2013 From: omar.saddiki at gmail.com (omar saddiki) Date: Thu, 10 Jan 2013 08:55:20 +0000 Subject: check_nt - MEMORY USAGE - incorrect results In-Reply-To: References: Message-ID: this because in your server 2008 you will see that there is a virtual memory activated, go to Computer proprieties and see in performences you will have for exemple for " R2 (x64) server box (has SQL installed on it) ? 12GB ram installed " 12GB of virtual memory.Finaly, Nagios take the some of memories ( virual memory + RAM). 2013/1/9 Andrew Thompson > Hi all,**** > > ** ** > > Using the supplied check_nt plugin to check Memory Usage on Windows > servers.**** > > ** ** > > Some report correctly, others report a complete load of old tosh!!!**** > > ** ** > > I have tried 3 different versions of Windows OS, the version seems to make > no odds.**** > > Doesn?t matter if 32 or 64 bit either.**** > > ** ** > > ** ** > > ** ** > > Some examples**** > > ** ** > > ** ** > > ** ** > > MY primary domain controller ? Windows Server 2008 R2 (x64) ? 8GB ram > installed**** > > ** ** > > Output from the check appears correct:**** > > Memory usage: total:8205.64 Mb - used: 2902.96 Mb (35%) - free: 5302.67 Mb > (65%)**** > > ** ** > > ** ** > > ** ** > > Another 2008 R2 (x64) server box (has SQL installed on it) ? 12GB ram > installed**** > > ** ** > > Output thinks its got 24GB:**** > > Memory usage: total:24573.16 Mb - used: 1796.71 Mb (7%) - free: 22776.45 > Mb (93%) **** > > ** ** > > ** ** > > ** ** > > ** ** > > A Server 2003 Standard (x86) box (an internal test web server) ? 512MB ram > installed**** > > ** ** > > Output thinks its got over 1GB:**** > > Memory usage: total:1257.50 Mb - used: 333.30 Mb (27%) - free: 924.20 Mb > (73%)**** > > ** ** > > ** ** > > ** ** > > A Server 2012 (x64) box (with HyperV installed) ? 28GB ram installed**** > > ** ** > > Output thinks tis got 32GB:**** > > Memory usage: total:32500.80 Mb - used: 16709.37 Mb (51%) - free: 15791.43 > Mb (49%)**** > > ** ** > > ** ** > > ** ** > > ** ** > > Anybody any ideas as to why check_nt is returning incorrect info. I know > its incorrect but Nagios doesn?t so where exactly is it reading these > values from?**** > > ** ** > > Thanks in advance for anybodies input.**** > > ** ** > > Regards**** > > ** ** > > ** ** > > ** ** > > > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122612 > _______________________________________________ > 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 > -- Cordialement, Omar SADDIKI Master R?seaux et Syst?mes -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 -------------- next part -------------- _______________________________________________ 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 From nagiosusers at edcint.co.nz Thu Jan 10 10:20:50 2013 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Thu, 10 Jan 2013 20:20:50 +1100 Subject: check_nt - MEMORY USAGE - incorrect results In-Reply-To: References: Message-ID: <50EE87F2.1090407@edcint.co.nz> Try www.edcint.co.nz/checkwmiplus using the checkmem mode and see if it works ok for you On 10/01/2013 7:55 PM, omar saddiki wrote: > this because in your server 2008 you will see that there is a virtual > memory activated, go to Computer proprieties and see in performences > you will have for exemple for " R2 (x64) server box (has SQL installed > on it) -- 12GB ram installed " 12GB of virtual memory.Finaly, Nagios > take the some of memories ( virual memory + RAM). > > > > 2013/1/9 Andrew Thompson > > > Hi all, > > Using the supplied check_nt plugin to check Memory Usage on > Windows servers. > > Some report correctly, others report a complete load of old tosh!!! > > I have tried 3 different versions of Windows OS, the version seems > to make no odds. > > Doesn't matter if 32 or 64 bit either. > > Some examples > > MY primary domain controller -- Windows Server 2008 R2 (x64) -- > 8GB ram installed > > Output from the check appears correct: > > Memory usage: total:8205.64 Mb - used: 2902.96 Mb (35%) - free: > 5302.67 Mb (65%) > > > Another 2008 R2 (x64) server box (has SQL installed on it) -- 12GB > ram installed > > Output thinks its got 24GB: > > Memory usage: total:24573.16 Mb - used: 1796.71 Mb (7%) - free: > 22776.45 Mb (93%) > > A Server 2003 Standard (x86) box (an internal test web server) -- > 512MB ram installed > > Output thinks its got over 1GB: > > Memory usage: total:1257.50 Mb - used: 333.30 Mb (27%) - free: > 924.20 Mb (73%) > > A Server 2012 (x64) box (with HyperV installed) -- 28GB ram installed > > Output thinks tis got 32GB: > > Memory usage: total:32500.80 Mb - used: 16709.37 Mb (51%) - free: > 15791.43 Mb (49%) > > Anybody any ideas as to why check_nt is returning incorrect info. > I know its incorrect but Nagios doesn't so where exactly is it > reading these values from? > > Thanks in advance for anybodies input. > > Regards > > > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, > jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122612 > _______________________________________________ > 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 > > > > > -- > Cordialement, > > Omar SADDIKI > Master R?seaux et Syst?mes > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122712 > > > _______________________________________________ > 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 -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 -------------- next part -------------- _______________________________________________ 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 From benny at bennyvision.com Thu Jan 10 14:57:01 2013 From: benny at bennyvision.com (C. Bensend) Date: Thu, 10 Jan 2013 07:57:01 -0600 Subject: check_nt - MEMORY USAGE - incorrect results In-Reply-To: References: Message-ID: <5a5c0a4d2cb727a14d548fb66156097b.squirrel@webmail.stinkweasel.net> Not entirely accurate. I just started troubleshooting a Win2008 R2 system yesterday - it has 16GB of physical RAM + 16 GB pagefile for a total of 32GB of virtual memory. The system is using 10.9GB of physical RAM, yet check_nt tells me it's using 2.69GB. Completely wrong, even if check_nt was only talking about physical, only talking about virtual, or talking about the sum. Solution? Remove yet another checkcommand using that outdated program. Benny > this because in your server 2008 you will see that there is a virtual > memory activated, go to Computer proprieties and see in performences you > will have for exemple for " R2 (x64) server box (has SQL installed on it) > ? > 12GB ram installed " 12GB of virtual memory.Finaly, Nagios take the some > of > memories ( virual memory + RAM). > > > > 2013/1/9 Andrew Thompson > >> Hi all,**** >> >> ** ** >> >> Using the supplied check_nt plugin to check Memory Usage on Windows >> servers.**** >> >> ** ** >> >> Some report correctly, others report a complete load of old tosh!!!**** >> >> ** ** >> >> I have tried 3 different versions of Windows OS, the version seems to >> make >> no odds.**** >> >> Doesn?t matter if 32 or 64 bit either.**** >> >> ** ** >> >> ** ** >> >> ** ** >> >> Some examples**** >> >> ** ** >> >> ** ** >> >> ** ** >> >> MY primary domain controller ? Windows Server 2008 R2 (x64) ? 8GB ram >> installed**** >> >> ** ** >> >> Output from the check appears correct:**** >> >> Memory usage: total:8205.64 Mb - used: 2902.96 Mb (35%) - free: 5302.67 >> Mb >> (65%)**** >> >> ** ** >> >> ** ** >> >> ** ** >> >> Another 2008 R2 (x64) server box (has SQL installed on it) ? 12GB ram >> installed**** >> >> ** ** >> >> Output thinks its got 24GB:**** >> >> Memory usage: total:24573.16 Mb - used: 1796.71 Mb (7%) - free: 22776.45 >> Mb (93%) **** >> >> ** ** >> >> ** ** >> >> ** ** >> >> ** ** >> >> A Server 2003 Standard (x86) box (an internal test web server) ? 512MB >> ram >> installed**** >> >> ** ** >> >> Output thinks its got over 1GB:**** >> >> Memory usage: total:1257.50 Mb - used: 333.30 Mb (27%) - free: 924.20 Mb >> (73%)**** >> >> ** ** >> >> ** ** >> >> ** ** >> >> A Server 2012 (x64) box (with HyperV installed) ? 28GB ram installed**** >> >> ** ** >> >> Output thinks tis got 32GB:**** >> >> Memory usage: total:32500.80 Mb - used: 16709.37 Mb (51%) - free: >> 15791.43 >> Mb (49%)**** >> >> ** ** >> >> ** ** >> >> ** ** >> >> ** ** >> >> Anybody any ideas as to why check_nt is returning incorrect info. I know >> its incorrect but Nagios doesn?t so where exactly is it reading these >> values from?**** >> >> ** ** >> >> Thanks in advance for anybodies input.**** >> >> ** ** >> >> Regards**** >> >> ** ** >> >> ** ** >> >> ** ** >> >> >> ------------------------------------------------------------------------------ >> Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery >> and much more. Keep your Java skills current with LearnJavaNow - >> 200+ hours of step-by-step video tutorials by Java experts. >> SALE $49.99 this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_122612 >> _______________________________________________ >> 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 >> > > > > -- > Cordialement, > > Omar SADDIKI > Master R?seaux et Syst?mes > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122712_______________________________________________ > 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 -- "The very existence of flamethrowers proves that sometime, somewhere, someone said to themselves, 'You know, I want to set those people over there on fire, but I'm just not close enough to get the job done.'" -- George Carlin ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ 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 From swilkerson at nagios.com Thu Jan 10 15:03:11 2013 From: swilkerson at nagios.com (Scott Wilkerson) Date: Thu, 10 Jan 2013 08:03:11 -0600 Subject: check_nt - MEMORY USAGE - incorrect results In-Reply-To: References: Message-ID: <50EECA1F.6060505@nagios.com> check_nt 's MEMUSE includes the page file. If you use checkMem via NRPE you can choose only physical http://www.nsclient.org/nscp/wiki/CheckSystem/checkMem Scott Wilkerson Technical Support Specialist ___ Email: swilkerson at nagios.com Web: www.nagios.com On 1/9/2013 11:55 AM, Andrew Thompson wrote: > > Hi all, > > Using the supplied check_nt plugin to check Memory Usage on Windows > servers. > > Some report correctly, others report a complete load of old tosh!!! > > I have tried 3 different versions of Windows OS, the version seems to > make no odds. > > Doesn't matter if 32 or 64 bit either. > > Some examples > > MY primary domain controller -- Windows Server 2008 R2 (x64) -- 8GB > ram installed > > Output from the check appears correct: > > Memory usage: total:8205.64 Mb - used: 2902.96 Mb (35%) - free: > 5302.67 Mb (65%) > > > Another 2008 R2 (x64) server box (has SQL installed on it) -- 12GB ram > installed > > Output thinks its got 24GB: > > Memory usage: total:24573.16 Mb - used: 1796.71 Mb (7%) - free: > 22776.45 Mb (93%) > > A Server 2003 Standard (x86) box (an internal test web server) -- > 512MB ram installed > > Output thinks its got over 1GB: > > Memory usage: total:1257.50 Mb - used: 333.30 Mb (27%) - free: 924.20 > Mb (73%) > > A Server 2012 (x64) box (with HyperV installed) -- 28GB ram installed > > Output thinks tis got 32GB: > > Memory usage: total:32500.80 Mb - used: 16709.37 Mb (51%) - free: > 15791.43 Mb (49%) > > Anybody any ideas as to why check_nt is returning incorrect info. I > know its incorrect but Nagios doesn't so where exactly is it reading > these values from? > > Thanks in advance for anybodies input. > > Regards > > > > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122612 > > > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 -------------- next part -------------- _______________________________________________ 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 From ftlnagios at gmail.com Thu Jan 10 15:50:44 2013 From: ftlnagios at gmail.com (FTL Nagios) Date: Thu, 10 Jan 2013 14:50:44 -0000 Subject: check_nt - MEMORY USAGE - incorrect results In-Reply-To: <50EECA1F.6060505@nagios.com> References: <50EECA1F.6060505@nagios.com> Message-ID: <000001cdef41$df0fcdc0$9d2f6940$@gmail.com> Thankyou I will look at this instead. Thanks to all for your input and help From: Scott Wilkerson [mailto:swilkerson at nagios.com] Sent: 10 January 2013 14:03 To: Nagios Users List Subject: Re: [Nagios-users] check_nt - MEMORY USAGE - incorrect results check_nt 's MEMUSE includes the page file. If you use checkMem via NRPE you can choose only physical http://www.nsclient.org/nscp/wiki/CheckSystem/checkMem Scott Wilkerson Technical Support Specialist ___ Email: swilkerson at nagios.com Web: www.nagios.com On 1/9/2013 11:55 AM, Andrew Thompson wrote: Hi all, Using the supplied check_nt plugin to check Memory Usage on Windows servers. Some report correctly, others report a complete load of old tosh!!! I have tried 3 different versions of Windows OS, the version seems to make no odds. Doesn't matter if 32 or 64 bit either. Some examples MY primary domain controller - Windows Server 2008 R2 (x64) - 8GB ram installed Output from the check appears correct: Memory usage: total:8205.64 Mb - used: 2902.96 Mb (35%) - free: 5302.67 Mb (65%) Another 2008 R2 (x64) server box (has SQL installed on it) - 12GB ram installed Output thinks its got 24GB: Memory usage: total:24573.16 Mb - used: 1796.71 Mb (7%) - free: 22776.45 Mb (93%) A Server 2003 Standard (x86) box (an internal test web server) - 512MB ram installed Output thinks its got over 1GB: Memory usage: total:1257.50 Mb - used: 333.30 Mb (27%) - free: 924.20 Mb (73%) A Server 2012 (x64) box (with HyperV installed) - 28GB ram installed Output thinks tis got 32GB: Memory usage: total:32500.80 Mb - used: 16709.37 Mb (51%) - free: 15791.43 Mb (49%) Anybody any ideas as to why check_nt is returning incorrect info. I know its incorrect but Nagios doesn't so where exactly is it reading these values from? Thanks in advance for anybodies input. Regards ---------------------------------------------------------------------------- -- Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 -------------- next part -------------- _______________________________________________ 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 From stevejenkins at gmail.com Thu Jan 10 20:39:22 2013 From: stevejenkins at gmail.com (Steve Jenkins) Date: Thu, 10 Jan 2013 11:39:22 -0800 Subject: New check_openmanage error after updating to OMSA 7.2.0-4 Message-ID: Updated to OMSA 7.2.0.4 on a CentOS 6.3 x86_64 box today, and just got this new error when trying to run the check_openmanage nagios plugin: # /usr/local/nagios/libexec/check_openmanage Memory module 2 [DIMM3, 4096 MB]: Single-bit warning error rate exceeded, Single-bit failure error rate exceeded Cache Battery 0 in controller 0 is Learning (Active) [probably harmless] INTERNAL ERROR: Use of uninitialized value in string ne at /usr/local/nagios/libexec/check_openmanage line 1656. I'm running check_openmanage 3.7.8 (installed via the repos). I see the latest version is 3.7.9 on Trond's website. Any ideas if that will fix the issue? Googling the error produced nothing. Thanks, SteveJ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 -------------- next part -------------- _______________________________________________ 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 From stevejenkins at gmail.com Thu Jan 10 20:46:15 2013 From: stevejenkins at gmail.com (Steve Jenkins) Date: Thu, 10 Jan 2013 11:46:15 -0800 Subject: New check_openmanage error after updating to OMSA 7.2.0-4 In-Reply-To: References: Message-ID: On Thu, Jan 10, 2013 at 11:39 AM, Steve Jenkins wrote: > I see the latest version is 3.7.9 on Trond's website. Any ideas if that > will fix the issue? Googling the error produced nothing. > And... to answer my own question, yes - 3.7.9 does indeed fix this. New version is probably already in the repos, waiting out the testing period. But at least now this error message will be in the archives, so Google can find it an help the next guy. :) Thanks, SteveJ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 -------------- next part -------------- _______________________________________________ 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 From t.h.amundsen at usit.uio.no Thu Jan 10 22:39:08 2013 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Thu, 10 Jan 2013 22:39:08 +0100 Subject: New check_openmanage error after updating to OMSA 7.2.0-4 In-Reply-To: (Steve Jenkins's message of "Thu, 10 Jan 2013 11:46:15 -0800") References: Message-ID: <15twqvklnur.fsf@tux.uio.no> Steve Jenkins writes: > And... to answer my own question, yes - 3.7.9 does indeed fix > this. New version is probably already in the repos, waiting out the > testing period. Not sure which repos you're referring to, but I'll assume Fedora and/or Fedora EPEL. I didn't get around to submitting updates until today. They should arrive in the testing repos in a couple of days. The updates need to stay in testing for a week for Fedora and two weeks for EPEL before they can be pushed to stable. If you can't wait, you can download the RPMs via the Fedora build system, you'll find links here: https://admin.fedoraproject.org/updates/search/nagios-plugins-openmanage When it has arrived in testing (and in your local mirror), you can install it with (example for EPEL): yum --enablerepo=epel-testing update nagios-plugins-openmanage Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ 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 From stevejenkins at gmail.com Fri Jan 11 01:37:31 2013 From: stevejenkins at gmail.com (Steve Jenkins) Date: Thu, 10 Jan 2013 16:37:31 -0800 Subject: New check_openmanage error after updating to OMSA 7.2.0-4 In-Reply-To: <15twqvklnur.fsf@tux.uio.no> References: <15twqvklnur.fsf@tux.uio.no> Message-ID: On Thu, Jan 10, 2013 at 1:39 PM, Trond Hasle Amundsen < t.h.amundsen at usit.uio.no> wrote: > Not sure which repos you're referring to, but I'll assume Fedora and/or > Fedora EPEL. > Yep - those are the ones I was referring to. :) > I didn't get around to submitting updates until today. They should > arrive in the testing repos in a couple of days. The updates need to > stay in testing for a week for Fedora and two weeks for EPEL before they > can be pushed to stable. If you can't wait, you can download the RPMs > via the Fedora build system, you'll find links here: > > https://admin.fedoraproject.org/updates/search/nagios-plugins-openmanage > > When it has arrived in testing (and in your local mirror), you can > install it with (example for EPEL): > > yum --enablerepo=epel-testing update nagios-plugins-openmanage > Thanks, Trond. I'm actually the Fedora packager for OpenDKIM ( https://admin.fedoraproject.org/updates/search/opendkim) so I'm often dealing with those same deadlines. :) I'll keep an eye out for it to be pushed to testing! Thanks and keep up the great work! :) SteveJ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 -------------- next part -------------- _______________________________________________ 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 From Samuel.Kidman at panres.com Fri Jan 11 03:51:47 2013 From: Samuel.Kidman at panres.com (Samuel Kidman) Date: Fri, 11 Jan 2013 02:51:47 +0000 Subject: Service Alert History - "No history information was found for this service in this archived log file" Message-ID: Hello I am having an issue where Nagios is not finding alert history in the nagios log files. eg. I have a service called cpu on host PR-GGM-CR-DC01. prl at PR-PRO-CR-NAG02:/usr/local/nagios/var/archives$ grep 'PR-GGM-CR-DC01;cpu' nagios-01-11-2013-00.log [1357747200] CURRENT SERVICE STATE: PR-GGM-CR-DC01;cpu;OK;HARD;1;VM_STAT OK - One minute average CPU usage is 4.94% prl at PR-PRO-CR-NAG02:/usr/local/nagios/var/archives$ grep 'PR-GGM-CR-DC01;cpu' nagios-01-10-2013-00.log [1357660800] CURRENT SERVICE STATE: PR-GGM-CR-DC01;cpu;OK;HARD;1;VM_STAT OK - One minute average CPU usage is 4.99% Yet when I visit alert history for this service I get the No history information message. Anyone know what is going on? Regards, Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 -------------- next part -------------- _______________________________________________ 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 From bob_the_junkie at hotmail.com Thu Jan 10 20:44:10 2013 From: bob_the_junkie at hotmail.com (Bob The Junkie) Date: Thu, 10 Jan 2013 19:44:10 -0000 Subject: Check_Openmanage not ignoring non-certified drives Message-ID: Hi there, I'm using Nagios and Check_Openmange to keep an eye on some Dell R710 servers we've recently acquired, and I'm having problems trying to stop warnings with non-dell certified drives appearing in the alert log. I've separated out the different components on the servers to check into their own nagios checks - so my config files appear as such: In nagios: SERVICES.CFG Check_command check_dell_components!memory Check_command check_dell_components!alertlog COMMANDS.CFG Command_name Check_dell_components Command_line check_nrpe -H $HOSTADDRESS$ -p 5666 -t 30 -c Check_OpenManage -a " -only $ARG1$" On each Server in nsclient.ini: Check_OpenManage = scripts\\check_openmanage.exe $ARG1$ --perfdata The problem I'm having is that in one of my checks that checks the health of the alert log, I'm getting a consistent warning message (Alert log content: 0 critical, 6 non-critical, 36 ok ). I've traced this down to the 6 non-dell certified drives in the server, and I can indeed see within OMSA that the only 6 warnings all state "Controller event log: PD 04(e0x20/s4) is not a certified drive: Controller 0 (PERC 6/i Integrated)". So far, so good. Reading through the documentation I can see the Check_Openmanage includes a blacklisting option specifically for this event "pdisk_cert - Suppress warning message about non-certified physical disk" but no matter what I try, I can't seem to get Check_Openmanage to ignore these problems. An example of the command I'm running on the command line is: check_openmanage.exe -s -a -b pdisk_cert=all Which returns: WARNING: Alert log content: 0 critical, 6 non-critical, 36 ok Now I'm assuming the problem here is being caused by the Alert Log generating the errors, and not the physical disk directly causing the errors, which is why blacklisting the certificate problem on the physical disk isn't doing me any good. Which leads me onto my question - is there anything I can do to ignore these errors (and thus stop Nagios from complaining) apart from excluding the alert log when I do my checks? Many thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 -------------- next part -------------- _______________________________________________ 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 From jlgarrison at apu.edu Fri Jan 11 19:05:27 2013 From: jlgarrison at apu.edu (Justin Garrison) Date: Fri, 11 Jan 2013 10:05:27 -0800 Subject: check_http --ssl --sni returning host certificate Message-ID: I am running red hat 5.6 with nagios core 3.2.3 and plugins 1.4.16 When I run the command check_http --sni --ssl -H apache-vhost.com -f follow -C 8 I get the apache host certificate instead of the vhost certificate The server is on apache 2.2.15 with sni enabled. The proper certificate works inside a browser but no matter which vhost I use to test they always return the host certificate information. Is there something else that needs to be configured in nagios or on the apache server to verify individual vhost certificates? Thank you -- Justin Garrison Systems Administrator -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 -------------- next part -------------- _______________________________________________ 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 From leolage at mandic.com.br Fri Jan 11 18:58:20 2013 From: leolage at mandic.com.br (Leonardo - Mandic) Date: Fri, 11 Jan 2013 15:58:20 -0200 Subject: Nagios Exploit In-Reply-To: References: Message-ID: <50F052BC.2010605@mandic.com.br> Hello, Anybody have more informations about this exploit of Nagios? http://pastebin.com/FJUNyTaj Leonardo -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 -------------- next part -------------- _______________________________________________ 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 From Edwin.Zoeller at ama-assn.org Fri Jan 11 19:25:09 2013 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Fri, 11 Jan 2013 18:25:09 +0000 Subject: Status Output Message-ID: I would like to know if the is a way to show more of the status message when a service goes critical. This would be helpful when email is sent out giving more information of the error. Thanks, Ed -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 -------------- next part -------------- _______________________________________________ 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 From mguthrie at nagios.com Fri Jan 11 20:29:14 2013 From: mguthrie at nagios.com (Mike Guthrie) Date: Fri, 11 Jan 2013 13:29:14 -0600 Subject: Nagios Exploit In-Reply-To: <50F052BC.2010605@mandic.com.br> References: <50F052BC.2010605@mandic.com.br> Message-ID: <50F0680A.8000604@nagios.com> Fixed in the Nagios 3.4.4 release candidate, as well as in the Core 4 trunk. Announced last week: > All, > > I have uploaded a release candidate tarball for Nagios Core 3.4.4 to > SourceForge. If you are so inclined, please download a copy from > https://sourceforge.net/projects/nagios/files/nagios-3.x/nagios-3.4.4/ > and give it a test run. Any feedback would be appreciated. I plan to > create the release mid-week next week. > > The change log is as follows: > > * Fixed bug #408: service checks get duplicated on reload (Eric Stanley) > * Fixed bug #401: segmentation fault on Solaris when parsing unknown > timeperiod directives. (Eric Stanley) > * Added NULL pointer checks to CGI code. (Eric Stanley) > * Fixed buffer overflow vulnerability in CGI code. Thanks to Neohapsis > (http://archives.neohapsis.com/archives/fulldisclosure/2012-12/0108.html) for > finding this. (Eric Stanley) > > Thanks, > > Eric On 1/11/2013 11:58 AM, Leonardo - Mandic wrote: > Hello, > > Anybody have more informations about this exploit of Nagios? > > http://pastebin.com/FJUNyTaj > > Leonardo > > > ------------------------------------------------------------------------------ > Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and > much more. Get web development skills now with LearnDevNow - > 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. > SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122812 > > > _______________________________________________ > 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 -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 -------------- next part -------------- _______________________________________________ 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 From averno at gsn.com Fri Jan 11 21:50:47 2013 From: averno at gsn.com (Aharon Verno) Date: Fri, 11 Jan 2013 20:50:47 +0000 Subject: Different sender address for recoveries vs alerts Message-ID: <7B8B5E962E47A64F80C6FD789EE1E13A99DF7A4D@mailboxes.worldwinner.com> I'm currently running Nagios v3.3.1 and have been trying to find a way to set different sender addresses for recoveries and alerts. I was wondering if there's an option that I overlooked that lets you easily do this. An example of my notification string for a page is this: /usr/bin/printf "%b" "Notification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\nDate/Time: $LONGDATETIME$\n" \ | /bin/mail \ -s "$NOTIFICATIONTYPE$: Host: $HOSTNAME$ - $HOSTSTATE$" $CONTACTEMAIL$ -- \ -f The thought is to change the sender address so that when pages come through in the middle of the night the recovery page can be set to a non-obnoxious tone since that one doesn't need to wake you up. If anyone has done something like this before please let me know and if there's some documentation on how to do it somewhere that would be great. Aharon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 -------------- next part -------------- _______________________________________________ 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 From esteban at nuevaeralatam.com Sat Jan 12 16:48:24 2013 From: esteban at nuevaeralatam.com (Esteban Monge) Date: Sat, 12 Jan 2013 09:48:24 -0600 Subject: Nagios Exploit In-Reply-To: <50F0680A.8000604@nagios.com> References: <50F052BC.2010605@mandic.com.br> <50F0680A.8000604@nagios.com> Message-ID: <12e01bfb54d6a18d819080af57701961.squirrel@www.nuevaeralatam.com> > Fixed in the Nagios 3.4.4 release candidate, as well as in the Core 4 > trunk. Announced last week: > >> All, >> >> I have uploaded a release candidate tarball for Nagios Core 3.4.4 to >> SourceForge. If you are so inclined, please download a copy from >> https://sourceforge.net/projects/nagios/files/nagios-3.x/nagios-3.4.4/ >> and give it a test run. Any feedback would be appreciated. I plan to >> create the release mid-week next week. >> >> The change log is as follows: >> >> * Fixed bug #408: service checks get duplicated on reload (Eric Stanley) >> * Fixed bug #401: segmentation fault on Solaris when parsing unknown >> timeperiod directives. (Eric Stanley) >> * Added NULL pointer checks to CGI code. (Eric Stanley) >> * Fixed buffer overflow vulnerability in CGI code. Thanks to Neohapsis >> (http://archives.neohapsis.com/archives/fulldisclosure/2012-12/0108.html) >> for >> finding this. (Eric Stanley) >> >> Thanks, >> >> Eric > In security concerns is a good practice put versions affected. What versions are affected? > > > > > On 1/11/2013 11:58 AM, Leonardo - Mandic wrote: >> Hello, >> >> Anybody have more informations about this exploit of Nagios? >> >> http://pastebin.com/FJUNyTaj >> >> Leonardo >> >> >> ------------------------------------------------------------------------------ >> Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and >> much more. Get web development skills now with LearnDevNow - >> 350+ hours of step-by-step video tutorials by Microsoft MVPs and >> experts. >> SALE $99.99 this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_122812 >> >> >> _______________________________________________ >> 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 > > > -- > > > Mike Guthrie > Technical Team > ___ > Nagios Enterprises, LLC > Email: mguthrie at nagios.com > Web: www.nagios.com > > ------------------------------------------------------------------------------ > Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and > much more. Get web development skills now with LearnDevNow - > 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. > SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122812_______________________________________________ > 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 ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912 _______________________________________________ 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 From justinp at norchemlab.com Sun Jan 13 00:51:18 2013 From: justinp at norchemlab.com (Justin T Pryzby) Date: Sat, 12 Jan 2013 16:51:18 -0700 Subject: Different sender address for recoveries vs alerts In-Reply-To: <7B8B5E962E47A64F80C6FD789EE1E13A99DF7A4D@mailboxes.worldwinner.com> References: <7B8B5E962E47A64F80C6FD789EE1E13A99DF7A4D@mailboxes.worldwinner.com> Message-ID: <20130112235117.GA25460@norchemlab.com> It looks like you've already got the mail command? You just need to specify two nagios commands, one for failures, and one for recoveries, and use escalations for your text alerts, instead of in the service. Alternately, you could specify two contacts for every service (probably in a template), one for failures, and one for recoveries. The recovery contact can specify a different host/service_notification_commands. *alternately*, you dynamically update the sender address based on the HOSTSTATE (or such), probably in a shell script: fromaddr=$fail_addr [ "$HOSTSTATE" = OK ] && fromaddr=$fail_addr ... Note that either requires setting nagios enable_environment_macros, or otherwise getting HOSTSTATE into the script (command line options, environment variables specified in the command_line, like command_line HOSTSTATE=$HOSTSTATE$ \ SERVICESTATE=$SERVICESTATE$ \ /usr/local/sbin/nagios-alert If I misunderstood, and you're trying to get the from address, then the following applies: sendmail -f specifies (or overrides) the SMTP envelope-sender, and mail(1) (at least for bsd-mailx from debian) has: mail [-dEIinv] [-a header] [-b bcc-addr] [-c cc-addr] [-s subject] to-addr ... [-- sendmail-options ...] So I use mail -- -f nagios at loki to 1) make the "from" string shorter in text messages; and, 2) use postfix sender_dependent_relayhost_maps to avoid our usual relayhost for nagios alerts. Justin On Fri, Jan 11, 2013 at 08:50:47PM +0000, Aharon Verno wrote: > I'm currently running Nagios v3.3.1 and have been trying to find a > way to set different sender addresses for recoveries and alerts. I > was wondering if there's an option that I overlooked that lets you > easily do this. An example of my notification string for a page is > this: > > /usr/bin/printf "%b" "Notification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\nDate/Time: $LONGDATETIME$\n" \ > | /bin/mail \ > -s "$NOTIFICATIONTYPE$: Host: $HOSTNAME$ - $HOSTSTATE$" $CONTACTEMAIL$ -- \ > -f > > The thought is to change the sender address so that when pages come > through in the middle of the night the recovery page can be set to a > non-obnoxious tone since that one doesn't need to wake you up. If > anyone has done something like this before please let me know and if > there's some documentation on how to do it somewhere that would be > great. ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912 _______________________________________________ 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 From goldcup at ix.netcom.com Sun Jan 13 01:04:19 2013 From: goldcup at ix.netcom.com (doug) Date: Sat, 12 Jan 2013 19:04:19 -0500 Subject: check_nt fails after recent windows 2008 r2 updates Message-ID: <1358035459.17417.9.camel@p8p67.debsystems.com> After just applying some new windows updates, a few of my check_nt commands are now failing. # /usr/lib/nagios/plugins/check_nt -H XXX -p 12489 -s password -v USEDDISKSPACE -l d -w 80 -c 90 Free disk space : Invalid drive Drive is valid, this is just failing today after windows updates. I updated my nsclient++ to nscp-0.4.1.73-x64.msi still fails. # /usr/lib/nagios/plugins/check_nt -H XXX -p 12489 -s password -v UPTIME System Uptime - 0 day(s) 0 hour(s) 0 minute(s) This data is invalid, was working fine. # /usr/lib/nagios/plugins/check_nt -H XXX -p 12489 -s password -v MEMUSE -w 80 -c 90 Segmentation fault This was working fine before the update as well. Some of the other tests are not returning valid data as well. Any ideas? ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 _______________________________________________ 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 From tom at limepepper.co.uk Mon Jan 14 03:58:14 2013 From: tom at limepepper.co.uk (Tom Hodder) Date: Mon, 14 Jan 2013 02:58:14 +0000 Subject: after upgrading 3.2.3 to 3.4.4, openid users no longer able to see Host or Service status detail Message-ID: Hi, Since upgrading, my authenticated openid users can no longer see Host or Service status details; "It appears as though you do not have permission to view information for any of the services you requested..." I am running similar configuration options as previously, cgi authentication is on; use_authentication=1 authorized_for_system_information=* authorized_for_configuration_information=* authorized_for_system_commands=* authorized_for_all_services=* authorized_for_all_hosts=* authorized_for_all_service_commands=* authorized_for_all_host_commands=* I've manually killed the old processes to check for hangers-on, and these users are explicitly listed as "contact" objects in contacts.cfg like so; define contact { use default-contact contact_name https://www.google.com/accounts/o8/id?id=AItOawnTVy0slAaQLXPai61aW4hU9UL2jwdmyxX } The users show as logged in in the portal; "Current Network Status Last Updated: Sun Jan 13 18:55:06 PST 2013 Updated every 90 seconds Nagios? Core? 3.4.4 - www.nagios.org Logged in as https://www.google.com/accounts/o8/id?id=AItOawnTVy0slAaQLXPai61aW4hU9Ul2jwdmyxU" and seem to have access to the other configurable levels such as system_information, and configuration_information Any suggestions? Cheers, Tom ps. so the log file is not very informative, and the cgi do not seem to be logged to nagios.log (thought they are logged in httpd.log) ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ 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 From tom at limepepper.co.uk Mon Jan 14 04:31:38 2013 From: tom at limepepper.co.uk (Tom Hodder) Date: Mon, 14 Jan 2013 03:31:38 +0000 Subject: after upgrading 3.2.3 to 3.4.4, openid users no longer able to see Host or Service status detail In-Reply-To: References: Message-ID: On 14 January 2013 02:58, Tom Hodder wrote: > Hi, > > Since upgrading, my authenticated openid users can no longer see Host > or Service status details; Ah, I found it! So while perusing the "Contact Groups" in the System->configuration in the cgi, it was fairly obvious that the objects being displayed were out of date and from the old installation. So deleting the object.cache file while restarting seemed to fix the problem. ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ 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 From t.h.amundsen at usit.uio.no Mon Jan 14 11:02:27 2013 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Mon, 14 Jan 2013 11:02:27 +0100 Subject: Check_Openmanage not ignoring non-certified drives In-Reply-To: (Bob The Junkie's message of "Thu, 10 Jan 2013 19:44:10 -0000") References: Message-ID: <15ty5fwhyks.fsf@tux.uio.no> "Bob The Junkie" writes: > I m using Nagios and Check_Openmange to keep an eye on some Dell R710 servers > we ve recently acquired, and I m having problems trying to stop warnings with > non-dell certified drives appearing in the alert log. > > I ve separated out the different components on the servers to check into their > own nagios checks so my config files appear as such: > > In nagios: > > SERVICES.CFG > > > > Check_command check_dell_components!memory > > > > Check_command check_dell_components!alertlog > > COMMANDS.CFG > > Command_name Check_dell_components > > Command_line check_nrpe H $HOSTADDRESS$ -p 5666 t 30 c Check_OpenManage a > only $ARG1$ > > On each Server in nsclient.ini: > > Check_OpenManage = scripts\\check_openmanage.exe $ARG1$ --perfdata > > The problem I m having is that in one of my checks that checks the health of > the alert log, I m getting a consistent warning message (Alert log content: 0 > critical, 6 non-critical, 36 ok ). I ve traced this down to the 6 non-dell > certified drives in the server, and I can indeed see within OMSA that the only > 6 warnings all state Controller event log: PD 04(e0x20/s4) is not a certified > drive: Controller 0 (PERC 6/i Integrated) . > > So far, so good. Reading through the documentation I can see the > Check_Openmanage includes a blacklisting option specifically for this event > pdisk_cert - Suppress warning message about non-certified physical disk but no > matter what I try, I can t seem to get Check_Openmanage to ignore these > problems. An example of the command I m running on the command line is: > > check_openmanage.exe -s -a -b pdisk_cert=all > > Which returns: > > WARNING: Alert log content: 0 critical, 6 non-critical, 36 ok > > Now I m assuming the problem here is being caused by the Alert Log generating > the errors, and not the physical disk directly causing the errors, which is why > blacklisting the certificate problem on the physical disk isn t doing me any > good. > > Which leads me onto my question is there anything I can do to ignore these > errors (and thus stop Nagios from complaining) apart from excluding the alert > log when I do my checks? Hi, Your analysis is correct. The check_openmanage plugin's check of the log content is limited to counting the number of critical, warning and ok messages. It doesn't do any log parsing. The intended usage of the log checking is as a precausion, if you're concerned about missing some temporary problem. After all, the plugin does active checking and will only report the state of the hardware right now. In your case I think that the easiest solution would be to stop using the log checking with check_openmanage, and either use a fully fledged log parsing plugin (such as check_logfiles) or write your own simple plugin where you just filter out the certificate stuff. Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ 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 From Julian_Grunnell at tdwh.co.uk Mon Jan 14 15:41:18 2013 From: Julian_Grunnell at tdwh.co.uk (Julian_Grunnell at tdwh.co.uk) Date: Mon, 14 Jan 2013 14:41:18 +0000 Subject: service escalations Message-ID: Hi - can someone confirm if the following scenario regards service escalations is correct? I have a service check that simply performs a TCP check, if it fails it will email the contact with a defined notification_interval of 5mins. I also have a serviceescalation defined as follows: define serviceescalation{ hostgroup_name desktopsnahisservers service_description DESKTOP SNA SERVICE TCP 4097 first_notification 3 last_notification 0 notification_interval 5 contacts me_at_home } If the TCP check continues to fail the service escalation contact starts to get alerts but the actual contact for the defined service doesn't. Is this behaviour to be expected? As a solution I've simply added the defined service contact to also be a contact under the serviceescalation section as well. I'm running Nagios 3.4.3. Thanks - Julian. Julian Grunnell | Unix Analyst, Infrastructure | TD Direct Investing T: +44 (0) 113 346 2824 | M: +44 (0) 7889 352527 ----------------------------------------------- Consider the environment: Please don't print this e-mail unless you really need to. Confidentiality:? This email and its attachments are intended for the above named only and may be confidential.? If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Viruses:? Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure that they are actually virus-free. Brokerage services provided by TD Direct Investing (Europe) Limited (a subsidiary of The Toronto-Dominion Bank).? Authorised and regulated by the Financial Services Authority (FSA registered number 141282), member of the London Stock Exchange and the PLUS market. Incorporated in England and Wales under registration number 2101863.? Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX.?Banking services provided by TD Bank N.V. authorised and regulated by De Nederlandsche Bank and the Financial Services Authority for UK Business (FSA registered number 216791).? Incorporated in the Netherlands and registered as a branch in England and Wales under branch registration number BR006780. ------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 -------------- next part -------------- _______________________________________________ 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 From nagios at flatto.net Mon Jan 14 16:04:07 2013 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 14 Jan 2013 15:04:07 +0000 Subject: service escalations In-Reply-To: References: Message-ID: <50F41E67.2010303@flatto.net> On 14/01/13 14:41, Julian_Grunnell at tdwh.co.uk wrote: > > Hi - can someone confirm if the following scenario regards service > escalations is correct? > > I have a service check that simply performs a TCP check, if it fails > it will email the contact with a defined notification_interval of 5mins. > > I also have a serviceescalation defined as follows: > > define serviceescalation{ > hostgroup_name desktopsnahisservers > service_description DESKTOP SNA SERVICE TCP 4097 > first_notification 3 > last_notification 0 > notification_interval 5 > contacts me_at_home > } > > If the TCP check continues to fail the service escalation contact > starts to get alerts but the actual contact for the defined service > doesn't. > > Is this behaviour to be expected? > > As a solution I've simply added the defined service contact to also be > a contact under the serviceescalation section as well. > > I'm running Nagios 3.4.3. > > Thanks - Julian. > > Julian Grunnell | Unix Analyst, Infrastructure | TD Direct Investing > T: +44 (0) 113 346 2824 | M: +44 (0) 7889 352527 Escalations are added and expand the capability of notifications , when the escalation logics is activated the normal notification logic is "suspended" and the escalation is the way nagios is processing the alerts. So if after the 3rd alert only the escalation alert is received - then the logic is working as it should . Assaf -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 -------------- next part -------------- _______________________________________________ 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 From eliezer at ngtech.co.il Mon Jan 14 16:41:28 2013 From: eliezer at ngtech.co.il (Eliezer Croitoru) Date: Mon, 14 Jan 2013 17:41:28 +0200 Subject: NRPE: Unable to read output; but works when run under strace ... In-Reply-To: <20130108135303.GA3836@fernst.no-ip.org> References: <20121008183121.GA3889@fernst.no-ip.org> <20130108135303.GA3836@fernst.no-ip.org> Message-ID: <50F42728.1070106@ngtech.co.il> I would try to run a basic script which logs the nrpe environment into a file. it will make sure what is available to you and what not. test if: there are environment vars.. there is a STDOUT\IN\ERR available etc.. #!/usr/bin/env ruby f = File.open("/tmp/nrpetest.log","a") f.sync = true f.puts "ENVIROMENTAR VARS\n===========" ENV.each {|k,p| f.puts "#{k} = #{p}"} f.puts "STD DATA\n==========" f.puts "stdout exists?: #{$stdout}" if $stdout f.puts "stdout is tty?: #{$stdout.isatty}" begin $stdout.write_nonblock "0" f.puts "Wrote 0 to stdout" rescue => e f.puts "didnt wrote to stdout" f.puts e.message f.puts e.backtrace.inspect end end modify the above to make sure what is the cause of this problem. you can also try to access stdout\err Regards, Eliezer On 1/8/2013 3:53 PM, Florian Ernst wrote: > Hello all, > > following up to myself ... > > On Mon, Oct 08, 2012 at 08:31:21PM +0200, Florian Ernst wrote: >> [...] >> However, it got weirder: if I strace the nrpe process, everything works >> as desired: >> [...] >> I found no further hints in the strace log, but this led me to assume >> that there is some NRPE weirdness involved, and thus I'm writing here >> instead of further digging through the system. >> >> Any ideas? > > Lacking any further clue as to what peculiarity might be responsible for > this weird behavior, I decided to simply let the nrpe process > permanently run under strace like > strace -f -q -e none -o /dev/null ... > > The performance impact is minimal, and I finally get check results. Not > really a solution, but it'll do. > > Cheers, > Flo ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ 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 From cbeattie at geninfo.com Mon Jan 14 17:03:09 2013 From: cbeattie at geninfo.com (Chris Beattie) Date: Mon, 14 Jan 2013 11:03:09 -0500 Subject: service escalations In-Reply-To: References: Message-ID: <50F42C3D.8050300@geninfo.com> On 1/14/2013 9:41 AM, Julian_Grunnell at tdwh.co.uk wrote: > > If the TCP check continues to fail the service escalation contact starts > to get alerts but the actual contact for the defined service doesn't. Try changing "contacts me_at_home" to "contacts +me_at_home". -- -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. ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ 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 From florian_ernst at gmx.net Mon Jan 14 20:10:48 2013 From: florian_ernst at gmx.net (Florian Ernst) Date: Mon, 14 Jan 2013 20:10:48 +0100 Subject: NRPE: Unable to read output; but works when run under strace ... In-Reply-To: <50F42728.1070106@ngtech.co.il> References: <20121008183121.GA3889@fernst.no-ip.org> <20130108135303.GA3836@fernst.no-ip.org> <50F42728.1070106@ngtech.co.il> Message-ID: <20130114191048.GD19838@fernst.no-ip.org> Hello Eliezer, thanks for your reply. On Mon, Jan 14, 2013 at 05:41:28PM +0200, Eliezer Croitoru wrote: > I would try to run a basic script which logs the nrpe environment into a > file. > it will make sure what is available to you and what not. > > test if: > [...] > modify the above to make sure what is the cause of this problem. > you can also try to access stdout\err As mentioned in the original post? "indeed the desired text output is generated [by the plugin] but somehow gets discarded [by NRPE]". However, "if I strace the nrpe process, everything works as desired". The latter is what irks me. The plugins themselves are running fine. Cheers, Flo ? http://sourceforge.net/mailarchive/message.php?msg_id=29939293 ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ 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 From stevejenkins at gmail.com Mon Jan 14 20:43:14 2013 From: stevejenkins at gmail.com (Steve Jenkins) Date: Mon, 14 Jan 2013 11:43:14 -0800 Subject: Version Check Incorrect Message-ID: Just installed 3.4.4 and noticed this: http://www.nagios.org/checkforupdates/?version=3.4.4&product=nagioscore SteveJ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 -------------- next part -------------- _______________________________________________ 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 From Martin_Hugo at hboe.org Mon Jan 14 20:51:32 2013 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Mon, 14 Jan 2013 19:51:32 +0000 Subject: Nagios Permissions Error ? Message-ID: <70D7A4219FE365439DA53582BA6D8F2EF5E2B4E6@HCSD-MAIL1> Hi Everyone, I have recently rebuilt Nagios 3.4.3 on Ubuntu 12.04 and am having a problem with a couple of plugins that I think is related to a permissions issue. I installed from source as root (sudo su). I can run ./usr/local/nagios/libexec/check_iftraffic4.pl -H -C -i F24 -b 100 -u m from the command line as root no problem, however the web interface shows critical (nul). If I try to run the same command logged in as any other user, I get Can't locate Net/DNS.pm in @INC (@INC contains: /root/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /root/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at ./usr/local/nagios/libexec/check_iftraffic4.pl line 247. BEGIN failed--compilation aborted at ./usr/local/nagios/libexec/check_iftraffic4.pl line 247. Net::DNS is installed. Any thoughts? -- Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-921-7243 (Fax) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 -------------- next part -------------- _______________________________________________ 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 From mguthrie at nagios.com Mon Jan 14 21:09:52 2013 From: mguthrie at nagios.com (Mike Guthrie) Date: Mon, 14 Jan 2013 14:09:52 -0600 Subject: Version Check Incorrect In-Reply-To: References: Message-ID: <50F46610.60905@nagios.com> Should be fixed now, thanks! On 1/14/2013 1:43 PM, Steve Jenkins wrote: > Just installed 3.4.4 and noticed this: > > http://www.nagios.org/checkforupdates/?version=3.4.4&product=nagioscore > > SteveJ > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > > > _______________________________________________ > 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 -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 -------------- next part -------------- _______________________________________________ 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 From stevejenkins at gmail.com Mon Jan 14 22:09:03 2013 From: stevejenkins at gmail.com (Steve Jenkins) Date: Mon, 14 Jan 2013 13:09:03 -0800 Subject: Version Check Incorrect In-Reply-To: <50F46610.60905@nagios.com> References: <50F46610.60905@nagios.com> Message-ID: On Mon, Jan 14, 2013 at 12:09 PM, Mike Guthrie wrote: > Should be fixed now, thanks! > No prob! Confirmed that it's fixed there, but on my Nagios install home page I still get: Nagios? Core? Version 3.4.4 January 12, 2013 Check for updates A new version of Nagios Core is available! Visit nagios.org to download Nagios 3.4.3. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 -------------- next part -------------- _______________________________________________ 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 From sunil at sunil.cc Mon Jan 14 22:16:53 2013 From: sunil at sunil.cc (Sunil Sankar) Date: Tue, 15 Jan 2013 02:46:53 +0530 Subject: Nagios Permissions Error ? In-Reply-To: References: <70D7A4219FE365439DA53582BA6D8F2EF5E2B4E6@HCSD-MAIL1> Message-ID: Please install apt-get install libnet-dns-perl On Tue, Jan 15, 2013 at 2:35 AM, Sunil Sankar wrote: > This is a due to missing cpan module > > On Tue, Jan 15, 2013 at 1:21 AM, Martin Hugo wrote: > >> Hi Everyone,**** >> >> ** ** >> >> I have recently rebuilt Nagios 3.4.3 on Ubuntu 12.04 and am having a >> problem with a couple of plugins that I think is related to a permissions >> issue.**** >> >> ** ** >> >> I installed from source as root (sudo su).**** >> >> ** ** >> >> I can run ./usr/local/nagios/libexec/check_iftraffic4.pl -H >> -C -i F24 -b 100 -u m from the command line as root no >> problem, however the web interface shows critical (nul).**** >> >> ** ** >> >> If I try to run the same command logged in as any other user, I get **** >> >> ** ** >> >> Can't locate Net/DNS.pm in @INC (@INC contains: >> /root/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /root/perl5/lib/perl5 >> /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 >> /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 >> /usr/local/lib/site_perl .) at ./usr/local/nagios/libexec/ >> check_iftraffic4.pl line 247.**** >> >> BEGIN failed--compilation aborted at ./usr/local/nagios/libexec/ >> check_iftraffic4.pl line 247.**** >> >> ** ** >> >> Net::DNS is installed.**** >> >> ** ** >> >> Any thoughts?**** >> >> ** ** >> >> -- **** >> >> Martin T. Hugo**** >> >> Network Administrator**** >> >> Hilliard City Schools**** >> >> 614-921-7102 (Ph)**** >> >> 614-921-7243 (Fax)**** >> >> ** ** >> >> >> ------------------------------------------------------------------------------ >> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >> MVPs and experts. SALE $99.99 this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_122412 >> _______________________________________________ >> 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 >> > > > > -- > Regards > Sunil Sankar -- Regards Sunil Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 -------------- next part -------------- _______________________________________________ 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 From sunil at sunil.cc Mon Jan 14 22:05:49 2013 From: sunil at sunil.cc (Sunil Sankar) Date: Tue, 15 Jan 2013 02:35:49 +0530 Subject: Nagios Permissions Error ? In-Reply-To: <70D7A4219FE365439DA53582BA6D8F2EF5E2B4E6@HCSD-MAIL1> References: <70D7A4219FE365439DA53582BA6D8F2EF5E2B4E6@HCSD-MAIL1> Message-ID: This is a due to missing cpan module On Tue, Jan 15, 2013 at 1:21 AM, Martin Hugo wrote: > Hi Everyone,**** > > ** ** > > I have recently rebuilt Nagios 3.4.3 on Ubuntu 12.04 and am having a > problem with a couple of plugins that I think is related to a permissions > issue.**** > > ** ** > > I installed from source as root (sudo su).**** > > ** ** > > I can run ./usr/local/nagios/libexec/check_iftraffic4.pl -H > -C -i F24 -b 100 -u m from the command line as root no > problem, however the web interface shows critical (nul).**** > > ** ** > > If I try to run the same command logged in as any other user, I get **** > > ** ** > > Can't locate Net/DNS.pm in @INC (@INC contains: > /root/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /root/perl5/lib/perl5 > /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 > /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 > /usr/local/lib/site_perl .) at ./usr/local/nagios/libexec/ > check_iftraffic4.pl line 247.**** > > BEGIN failed--compilation aborted at ./usr/local/nagios/libexec/ > check_iftraffic4.pl line 247.**** > > ** ** > > Net::DNS is installed.**** > > ** ** > > Any thoughts?**** > > ** ** > > -- **** > > Martin T. Hugo**** > > Network Administrator**** > > Hilliard City Schools**** > > 614-921-7102 (Ph)**** > > 614-921-7243 (Fax)**** > > ** ** > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > 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 > -- Regards Sunil Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 -------------- next part -------------- _______________________________________________ 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 From mguthrie at nagios.com Mon Jan 14 22:32:33 2013 From: mguthrie at nagios.com (Mike Guthrie) Date: Mon, 14 Jan 2013 15:32:33 -0600 Subject: Version Check Incorrect In-Reply-To: References: <50F46610.60905@nagios.com> Message-ID: <50F47971.6050108@nagios.com> On 1/14/2013 3:09 PM, Steve Jenkins wrote: > On Mon, Jan 14, 2013 at 12:09 PM, Mike Guthrie > wrote: > > Should be fixed now, thanks! > > > No prob! Confirmed that it's fixed there, but on my Nagios install > home page I still get: If I remember correctly, the update check happens upon a restart of the monitoring engine, and if the update check hasn't happened in the last day, so it may take a day or so for it to update in the UI. > > Nagios^? Core^^(TM) > Version 3.4.4 > January 12, 2013 > Check for updates > > A new version of Nagios Core is available! > Visit nagios.org to download Nagios > 3.4.3. > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > > > _______________________________________________ > 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 -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 -------------- next part -------------- _______________________________________________ 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 From Martin_Hugo at hboe.org Mon Jan 14 22:44:23 2013 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Mon, 14 Jan 2013 21:44:23 +0000 Subject: Nagios Permissions Error ? In-Reply-To: References: <70D7A4219FE365439DA53582BA6D8F2EF5E2B4E6@HCSD-MAIL1> Message-ID: <70D7A4219FE365439DA53582BA6D8F2EF5E2C8B9@HCSD-MAIL1> Thanks very much, that was it. -- Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-921-7243 (Fax) From: Sunil Sankar [mailto:sunil at sunil.cc] Sent: Monday, January 14, 2013 4:17 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios Permissions Error ? Please install apt-get install libnet-dns-perl On Tue, Jan 15, 2013 at 2:35 AM, Sunil Sankar > wrote: This is a due to missing cpan module On Tue, Jan 15, 2013 at 1:21 AM, Martin Hugo > wrote: Hi Everyone, I have recently rebuilt Nagios 3.4.3 on Ubuntu 12.04 and am having a problem with a couple of plugins that I think is related to a permissions issue. I installed from source as root (sudo su). I can run ./usr/local/nagios/libexec/check_iftraffic4.pl -H -C -i F24 -b 100 -u m from the command line as root no problem, however the web interface shows critical (nul). If I try to run the same command logged in as any other user, I get Can't locate Net/DNS.pm in @INC (@INC contains: /root/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /root/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at ./usr/local/nagios/libexec/check_iftraffic4.pl line 247. BEGIN failed--compilation aborted at ./usr/local/nagios/libexec/check_iftraffic4.pl line 247. Net::DNS is installed. Any thoughts? -- Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-921-7243 (Fax) ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ 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 -- Regards Sunil Sankar -- Regards Sunil Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 -------------- next part -------------- _______________________________________________ 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 From lkennedy at crayola.com Mon Jan 14 22:20:16 2013 From: lkennedy at crayola.com (lkennedy at crayola.com) Date: Mon, 14 Jan 2013 16:20:16 -0500 Subject: Nagios Permissions Error ? Message-ID: Look at two things: Where your perl modules are installed... You have some installed in root' home dir and regular user won't be able to access them. Does this module require root level permissions as some network socket related modules do? Lee ----- Original Message ----- From: Martin Hugo [Martin_Hugo at hboe.org] Sent: 01/14/2013 07:51 PM GMT To: 'Nagios Users List' Subject: [Nagios-users] Nagios Permissions Error ? Hi Everyone, I have recently rebuilt Nagios 3.4.3 on Ubuntu 12.04 and am having a problem with a couple of plugins that I think is related to a permissions issue. I installed from source as root (sudo su). I can run ./usr/local/nagios/libexec/check_iftraffic4.pl -H -C -i F24 -b 100 -u m from the command line as root no problem, however the web interface shows critical (nul). If I try to run the same command logged in as any other user, I get Can't locate Net/DNS.pm in @INC (@INC contains: /root/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /root/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at ./usr/local/nagios/libexec/check_iftraffic4.pl line 247. BEGIN failed--compilation aborted at ./usr/local/nagios/libexec/check_iftraffic4.pl line 247. Net::DNS is installed. Any thoughts? -- Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-921-7243 (Fax) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 -------------- next part -------------- _______________________________________________ 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 -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 -------------- next part -------------- _______________________________________________ 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 From Samuel.Kidman at panres.com Tue Jan 15 01:57:43 2013 From: Samuel.Kidman at panres.com (Samuel Kidman) Date: Tue, 15 Jan 2013 00:57:43 +0000 Subject: FW: Service Alert History - "No history information was found for this service in this archived log file" In-Reply-To: References: Message-ID: Hello This is a repost, I would really just appreciate some hints to get me started with troubleshooting. Or if I should use NDOmod and log and report on the status history in a database? Regards From: Samuel Kidman [mailto:Samuel.Kidman at panres.com] Sent: Friday, 11 January 2013 10:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Service Alert History - "No history information was found for this service in this archived log file" Hello I am having an issue where Nagios is not finding alert history in the nagios log files. eg. I have a service called cpu on host PR-GGM-CR-DC01. prl at PR-PRO-CR-NAG02:/usr/local/nagios/var/archives$ grep 'PR-GGM-CR-DC01;cpu' nagios-01-11-2013-00.log [1357747200] CURRENT SERVICE STATE: PR-GGM-CR-DC01;cpu;OK;HARD;1;VM_STAT OK - One minute average CPU usage is 4.94% prl at PR-PRO-CR-NAG02:/usr/local/nagios/var/archives$ grep 'PR-GGM-CR-DC01;cpu' nagios-01-10-2013-00.log [1357660800] CURRENT SERVICE STATE: PR-GGM-CR-DC01;cpu;OK;HARD;1;VM_STAT OK - One minute average CPU usage is 4.99% Yet when I visit alert history for this service I get the No history information message. Anyone know what is going on? Regards, Sam ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ 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 From mark.elsen at gmail.com Tue Jan 15 07:24:22 2013 From: mark.elsen at gmail.com (Mark Elsen) Date: Tue, 15 Jan 2013 07:24:22 +0100 Subject: Version Check Incorrect In-Reply-To: <50F46610.60905@nagios.com> References: <50F46610.60905@nagios.com> Message-ID: >Nagios version incorrect, Tx for your efforts - yet the download menu for Nagios Core, advertises 3.4.4. as being 3.4.3; - The ChangeLog file does not contain any 3.4.4. information (ref : http://www.nagios.org/download/core/thanks?t=1358230874) M. On Mon, Jan 14, 2013 at 9:09 PM, Mike Guthrie wrote: > Should be fixed now, thanks! > > > > On 1/14/2013 1:43 PM, Steve Jenkins wrote: > > Just installed 3.4.4 and noticed this: > > http://www.nagios.org/checkforupdates/?version=3.4.4&product=nagioscore > > SteveJ > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at:http://p.sf.net/sfu/learnmore_122412 > > > > _______________________________________________ > Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://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 > > > > -- > > > Mike Guthrie > Technical Team > ___ > Nagios Enterprises, LLC > Email: mguthrie at nagios.com > Web: www.nagios.com > > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 -------------- next part -------------- _______________________________________________ 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 From bruno.martins at gruporumos.com Tue Jan 15 13:11:28 2013 From: bruno.martins at gruporumos.com (Bruno Martins) Date: Tue, 15 Jan 2013 12:11:28 +0000 Subject: pfSense Event Handler Message-ID: <044E5B27D6C7E844B90EC93525278C344CEADDAE@grexc01.rumos.com.pt> Hello list, I was wondering if anyone ever had the need of creating an event handler for Nagios, which "restarts" an IPsec VPN tunnel (in pfSense), after a DOWN HARD state occurs. Thanks, Bruno Martins -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 -------------- next part -------------- _______________________________________________ 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 From mguthrie at nagios.com Tue Jan 15 16:14:21 2013 From: mguthrie at nagios.com (Mike Guthrie) Date: Tue, 15 Jan 2013 09:14:21 -0600 Subject: Version Check Incorrect In-Reply-To: References: <50F46610.60905@nagios.com> Message-ID: <50F5724D.5010000@nagios.com> On 1/15/2013 12:24 AM, Mark Elsen wrote: > >Nagios version incorrect, > > Tx for your efforts - yet the download menu for Nagios Core, > advertises 3.4.4. as being 3.4.3; > - The ChangeLog file does not contain any > 3.4.4. information Updates made, thanks for the heads up! > > (ref : http://www.nagios.org/download/core/thanks?t=1358230874) > > M. > > > On Mon, Jan 14, 2013 at 9:09 PM, Mike Guthrie > wrote: > > Should be fixed now, thanks! > > > > On 1/14/2013 1:43 PM, Steve Jenkins wrote: >> Just installed 3.4.4 and noticed this: >> >> http://www.nagios.org/checkforupdates/?version=3.4.4&product=nagioscore >> >> SteveJ >> >> >> ------------------------------------------------------------------------------ >> Master Visual Studio, SharePoint, SQL,ASP.NET , C# 2012, HTML5, CSS, >> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >> MVPs and experts. SALE $99.99 this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_122412 >> >> >> _______________________________________________ >> 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 > > > -- > > > Mike Guthrie > Technical Team > ___ > Nagios Enterprises, LLC > Email:mguthrie at nagios.com > Web:www.nagios.com > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET , > C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills > current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > 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 > > > > > ------------------------------------------------------------------------------ > Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS > and more. Get SQL Server skills now (including 2012) with LearnDevNow - > 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. > SALE $99.99 this month only - learn more at: > http://p.sf.net/sfu/learnmore_122512 > > > _______________________________________________ > 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 -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 -------------- next part -------------- _______________________________________________ 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 From andrew at fulgent.co.uk Tue Jan 15 18:51:35 2013 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Tue, 15 Jan 2013 17:51:35 +0000 Subject: Service check goes HARD too quick if multiple service are in problem state Message-ID: Hi, I have had this problem previously and posted here but not go nowhere with it. Ill have another bash..... Basically my nagios machine is checking too frequently and firing out alerts too quickly Its ignoring the retry_interval value, the max_check_attempts value and ingoring the notification_interval value in the escalations. I have check interval of 5 minutes in OK state Retry interval of 3 minutes when in problem state Notification interval of 3 minutes I believe that below is the problem and multiple service checks in problem state at the same time is casuing this. Ive just seen this on 1 of my hosts: It appears its accumulating the service checks (even though they are different checks) into a final HARD state. Prior to 17:18 all was fine on this host!!! Then at 17:18 a SQL check went to warning state and to SOFT 1 Checked again at 17:21 which is the 3 minute interval I have told it too when in problem and its still warning so onto SOFT2 Then a different service check on that host goes critical - but for the first time 17:22 memory usage and it puts this to HARD 3 - even though this actual check for memory should be SOFT1 An alert then got sent straight out for the Memory check even though it was actually only check 1/3 on that particular service Here is the copy and past from the History of the host [01-15-2013 17:18:24] SERVICE ALERT: SERVER;SQL LOCK TIMEOUTS;WARNING;SOFT;1;WARNING - 2.3067 lock timeouts / sec for _Total, 2.0667 lock timeouts / sec for Key, 0.0000 lock timeouts / sec for RID, 0.2400 lock timeouts / sec for Page, 0.0000 lock timeouts / sec for Object, 0.0000 lock timeouts / sec for Metadata, 0.0000 lock timeouts / sec for HoBT, 0.0000 lock timeouts / sec for File, 0.0000 lock timeouts / sec for Extent, 0.0000 lock timeouts / sec for Database, 0.0000 lock timeouts / sec for Application, 0.0000 lock timeouts / sec for AllocUnit [01-15-2013 17:21:24] SERVICE ALERT: SERVER;SQL LOCK TIMEOUTS;WARNING;SOFT;2;WARNING - 1.3056 lock timeouts / sec for _Total, 1.1833 lock timeouts / sec for Key, 0.0000 lock timeouts / sec for RID, 0.1222 lock timeouts / sec for Page, 0.0000 lock timeouts / sec for Object, 0.0000 lock timeouts / sec for Metadata, 0.0000 lock timeouts / sec for HoBT, 0.0000 lock timeouts / sec for File, 0.0000 lock timeouts / sec for Extent, 0.0000 lock timeouts / sec for Database, 0.0000 lock timeouts / sec for Application, 0.0000 lock timeouts / sec for AllocUnit [01-15-2013 17:22:04] SERVICE ALERT: SERVER;MEMORY USAGE;CRITICAL;HARD;3;CRITICAL: physical memory: Total: 10G - Used: 9.81G (98%) - Free: 192M (2%) > critical Does anybody please have any idea why my server is checking too frequently and alerting too frequently and why its totting up different service checks? This machine has done nothing but not work right since it was loaded a couple months ago. Im using the come config files on it as I did on the previous box I had - only difference was that was running 3.3.1 - I had none of these problems on that install. This is a Nagios 3.4.1 install on a Ubuntu 12.04 desktop 32 bit OS Thanks in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 -------------- next part -------------- _______________________________________________ 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 From justinp at norchemlab.com Tue Jan 15 19:02:13 2013 From: justinp at norchemlab.com (Justin T Pryzby) Date: Tue, 15 Jan 2013 11:02:13 -0700 Subject: Service check goes HARD too quick if multiple service are in problem state In-Reply-To: References: Message-ID: <20130115180213.GA13078@norchemlab.com> You could check that the check intervals show up right in objects.cache. You could also try stopping nagios (check with ps that you don't have multiple daemons running), removing the generated files and restarting (note that this will cause notifications to be sent from scratch; you may want to disable them first). /var/cache/nagios3/ objects.cache status.dat /var/lib/nagios3/ retention.dat On Tue, Jan 15, 2013 at 05:51:35PM +0000, Andrew Thompson wrote: > Hi, > > I have had this problem previously and posted here but not go nowhere with it. > > Ill have another bash..... > > Basically my nagios machine is checking too frequently and firing out alerts too quickly > > Its ignoring the retry_interval value, the max_check_attempts value and ingoring the notification_interval value in the escalations. > > I have check interval of 5 minutes in OK state > Retry interval of 3 minutes when in problem state > Notification interval of 3 minutes > > I believe that below is the problem and multiple service checks in problem state at the same time is casuing this. > > > Ive just seen this on 1 of my hosts: > > It appears its accumulating the service checks (even though they are different checks) into a final HARD state. > > Prior to 17:18 all was fine on this host!!! > > > Then at 17:18 a SQL check went to warning state and to SOFT 1 > > Checked again at 17:21 which is the 3 minute interval I have told it too when in problem and its still warning so onto SOFT2 > > Then a different service check on that host goes critical - but for the first time > > 17:22 memory usage and it puts this to HARD 3 - even though this actual check for memory should be SOFT1 > > An alert then got sent straight out for the Memory check even though it was actually only check 1/3 on that particular service > > Here is the copy and past from the History of the host > > [01-15-2013 17:18:24] > SERVICE ALERT: SERVER;SQL LOCK TIMEOUTS;WARNING;SOFT;1;WARNING - 2.3067 lock timeouts / sec for _Total, 2.0667 lock timeouts / sec for Key, 0.0000 lock timeouts / sec for RID, 0.2400 lock timeouts / sec for Page, 0.0000 lock timeouts / sec for Object, 0.0000 lock timeouts / sec for Metadata, 0.0000 lock timeouts / sec for HoBT, 0.0000 lock timeouts / sec for File, 0.0000 lock timeouts / sec for Extent, 0.0000 lock timeouts / sec for Database, 0.0000 lock timeouts / sec for Application, 0.0000 lock timeouts / sec for AllocUnit > [01-15-2013 17:21:24] > SERVICE ALERT: SERVER;SQL LOCK TIMEOUTS;WARNING;SOFT;2;WARNING - 1.3056 lock timeouts / sec for _Total, 1.1833 lock timeouts / sec for Key, 0.0000 lock timeouts / sec for RID, 0.1222 lock timeouts / sec for Page, 0.0000 lock timeouts / sec for Object, 0.0000 lock timeouts / sec for Metadata, 0.0000 lock timeouts / sec for HoBT, 0.0000 lock timeouts / sec for File, 0.0000 lock timeouts / sec for Extent, 0.0000 lock timeouts / sec for Database, 0.0000 lock timeouts / sec for Application, 0.0000 lock timeouts / sec for AllocUnit > > [01-15-2013 17:22:04] > SERVICE ALERT: SERVER;MEMORY USAGE;CRITICAL;HARD;3;CRITICAL: physical memory: Total: 10G - Used: 9.81G (98%) - Free: 192M (2%) > critical > > > > Does anybody please have any idea why my server is checking too frequently and alerting too frequently and why its totting up different service checks? > > This machine has done nothing but not work right since it was loaded a couple months ago. > Im using the come config files on it as I did on the previous box I had - only difference was that was running 3.3.1 - I had none of these problems on that install. > > > This is a Nagios 3.4.1 install on a Ubuntu 12.04 desktop 32 bit OS ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ 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 From AdcockJ at leoncountyfl.gov Tue Jan 15 22:42:27 2013 From: AdcockJ at leoncountyfl.gov (Jon Adcock) Date: Tue, 15 Jan 2013 16:42:27 -0500 Subject: Nagios Update Check Is Not Running Message-ID: <50F586F3020000750001A14D@gwia2.leoncountyfl.gov> I noticed that the main.php page update_available blue flag never appears for me when a new version of Nagios is available. I do have check_for_updates=1, but I see the following at the top of the Nagios status.dat file: info { created=1358284500 version=3.4.1 last_update_check=1340002591 update_available=1 last_version=3.3.1 new_version=3.4.1 } What that tells me is that the Nagios function (that checks to see if there is an update available) hasn't run since 6/18.2012 6:56:31 GMT (1340002591). I am seeing similar indications on my other Nagios servers. 1) Is there a way to force Nagios to CHECK NOW? 2) Does the update_check log it's results somewhere? 3) Do you have any recommendations on how I should approach this problem? I am running Nagios v3.4.1 on one server and v3.4.3 on the other two. They are running on SLES 10 SP3 64-bit. Jon Adcock Network Systems Administrator Leon County MIS 301 S. Monroe St. Tallahassee, FL 32301 Office: (850) 606-5518 http://www.leoncountyfl.gov "People Focused. Performance Driven." Thank you for your e-mail. Please note that under Florida's Public Records laws, most written communications to or from county staff or officials regarding county business are public records available to the public and media upon request. Your e-mail communications may therefore be subject to public disclosure. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 -------------- next part -------------- _______________________________________________ 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 From ae at op5.se Wed Jan 16 08:43:17 2013 From: ae at op5.se (Andreas Ericsson) Date: Wed, 16 Jan 2013 08:43:17 +0100 Subject: Nagios Update Check Is Not Running In-Reply-To: <50F586F3020000750001A14D@gwia2.leoncountyfl.gov> References: <50F586F3020000750001A14D@gwia2.leoncountyfl.gov> Message-ID: <50F65A15.9060105@op5.se> On 01/15/2013 10:42 PM, Jon Adcock wrote: > > I noticed that the main.php page update_available blue flag never appears for me when a new version of Nagios is available. I do have check_for_updates=1, but I see the following at the top of the Nagios status.dat file: > info { > created=1358284500 > version=3.4.1 > last_update_check=1340002591 > update_available=1 > last_version=3.3.1 > new_version=3.4.1 > } > > What that tells me is that the Nagios function (that checks to see if there is an update available) hasn't run since 6/18.2012 6:56:31 GMT (1340002591). I am seeing similar indications on my other Nagios servers. Yes. This is my fault. I'm one of the core maintainers, but I also take care of maintaining the nagios package for op5. Pretty much the only thing we change in our version is to disable update checks with a hardcoded return statement in the function that issues the actual check, since our customers get their updates from us in the form of RPM packages. Once upon a time a patch spilled over to the Nagios repository that had that change, so the update check was broken sometime between 3.3.1 and 3.4.4. I believe it's fixed in 3.4.4 though, with kudos to Eric Stanley for fixing the problem. > 1) Is there a way to force Nagios to CHECK NOW? Not that I know of, and it wouldn't work with the hardcoded "avoid update checks at all cost" patch in place anyway. > 2) Does the update_check log it's results somewhere? Only in the status_file. > 3) Do you have any recommendations on how I should approach this problem? > Upgrade to the latest version manually and then the update checks should start working again. I'm really sorry for the inconvenience. -- Andreas Ericsson andreas.ericsson at 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. ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ 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 From ftlnagios at gmail.com Wed Jan 16 10:34:45 2013 From: ftlnagios at gmail.com (FTL Nagios) Date: Wed, 16 Jan 2013 09:34:45 -0000 Subject: Service check goes HARD too quick if multiple service are in problem state In-Reply-To: <20130115180213.GA13078@norchemlab.com> References: <20130115180213.GA13078@norchemlab.com> Message-ID: <000001cdf3cc$b8f14530$2ad3cf90$@gmail.com> My objects.cache file seems to contain all of the right information. Output from ps -ef | grep nagios reads nagios at SERVER:~$ ps -ef | grep nagios nagios 984 1 0 Jan09 ? 00:12:54 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 1889 1 0 Jan09 ? 00:00:00 /usr/bin/gnome-keyring-daemon --daemonize --login nagios 1900 1654 0 Jan09 ? 00:00:00 gnome-session --session=gnome-classic nagios 1941 1900 0 Jan09 ? 00:00:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session gnome-session --session=gnome-classic nagios 1944 1 0 Jan09 ? 00:00:00 /usr/bin/dbus-launch --exit-with-session gnome-session --session=gnome-classic nagios 1945 1 0 Jan09 ? 00:00:06 //bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session nagios 1961 1900 0 Jan09 ? 00:00:15 /usr/lib/gnome-settings-daemon/gnome-settings-daemon nagios 1970 1 0 Jan09 ? 00:00:00 /usr/lib/gvfs/gvfsd nagios 1972 1 0 Jan09 ? 00:00:00 /usr/lib/gvfs//gvfs-fuse-daemon -f /home/nagios/.gvfs nagios 1981 1 0 Jan09 ? 00:00:00 /usr/lib/gnome-settings-daemon/gsd-printer nagios 1985 1900 0 Jan09 ? 00:00:03 metacity nagios 1999 1 0 Jan09 ? 00:00:00 /usr/lib/i386-linux-gnu/gconf/gconfd-2 nagios 2001 1900 0 Jan09 ? 00:00:18 gnome-panel nagios 2005 1 0 Jan09 ? 00:00:00 /usr/lib/dconf/dconf-service nagios 2010 1900 0 Jan09 ? 00:00:00 bluetooth-applet nagios 2011 1900 0 Jan09 ? 00:00:00 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 nagios 2012 1900 0 Jan09 ? 00:00:10 nautilus -n nagios 2017 1900 0 Jan09 ? 00:00:00 /usr/lib/gnome-settings-daemon/gnome-fallback-mount-helper nagios 2019 1900 0 Jan09 ? 00:00:00 nm-applet nagios 2025 1 0 Jan09 ? 00:00:00 /usr/lib/gvfs/gvfs-gdu-volume-monitor nagios 2038 1 0 Jan09 ? 00:00:00 /usr/lib/gnome-applets/trashapplet nagios 2042 1 0 Jan09 ? 00:00:09 /usr/lib/gvfs/gvfs-afc-volume-monitor nagios 2045 1 0 Jan09 ? 00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor nagios 2053 1 0 Jan09 ? 00:00:26 /usr/lib/indicator-applet/indicator-applet-complete nagios 2058 1 0 Jan09 ? 00:00:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0 nagios 2085 1 0 Jan09 ? 00:00:00 /usr/lib/indicator-session/indicator-session-service nagios 2087 1 0 Jan09 ? 00:00:00 /usr/lib/indicator-application/indicator-application-service nagios 2092 1 0 Jan09 ? 00:00:00 /usr/lib/indicator-printers/indicator-printers-service nagios 2095 1 0 Jan09 ? 00:00:00 /usr/lib/indicator-sound/indicator-sound-service nagios 2097 1 0 Jan09 ? 00:00:00 /usr/lib/indicator-datetime/indicator-datetime-service nagios 2100 1 0 Jan09 ? 00:00:00 /usr/lib/indicator-messages/indicator-messages-service nagios 2119 1 0 Jan09 ? 00:00:00 /usr/lib/geoclue/geoclue-master nagios 2124 1 0 Jan09 ? 00:00:00 /usr/lib/ubuntu-geoip/ubuntu-geoip-provider nagios 2139 1 0 Jan09 ? 00:00:00 /usr/lib/gvfs/gvfsd-burn --spawner :1.7 /org/gtk/gvfs/exec_spaw/1 nagios 2143 1 0 Jan09 ? 00:00:00 /usr/lib/gvfs/gvfsd-metadata nagios 2173 1900 0 Jan09 ? 00:00:00 /usr/lib/gnome-disk-utility/gdu-notification-daemon nagios 2239 1900 0 Jan09 ? 00:00:00 telepathy-indicator nagios 2245 1 0 Jan09 ? 00:00:00 /usr/lib/telepathy/mission-control-5 nagios 2250 1 0 Jan09 ? 00:00:00 /usr/lib/gnome-online-accounts/goa-daemon nagios 2265 1900 0 Jan09 ? 00:00:15 gnome-screensaver nagios 2266 1900 0 Jan09 ? 00:00:05 zeitgeist-datahub nagios 2274 1 0 Jan09 ? 00:00:00 /usr/bin/zeitgeist-daemon nagios 2280 1 0 Jan09 ? 00:00:00 /usr/lib/zeitgeist/zeitgeist-fts nagios 2288 2280 0 Jan09 ? 00:00:00 /bin/cat nagios 2294 2293 0 Jan09 ? 00:00:00 /bin/sh -c /usr/local/nagios/libexec/check_SMS_daemon.sh >/dev/null 2>&1 >/dev/null 2>&1 # JOB_ID_2 nagios 2295 2294 0 Jan09 ? 00:00:00 /bin/sh /usr/local/nagios/libexec/check_SMS_daemon.sh nagios 2297 2295 1 Jan09 ? 02:13:35 /usr/bin/gammu-smsd nagios 2460 1900 0 Jan09 ? 00:00:05 update-notifier nagios 2702 1 0 Jan09 ? 00:00:00 /usr/lib/at-spi2-core/at-spi-bus-launcher nagios 2762 1900 0 Jan09 ? 00:00:00 /usr/lib/deja-dup/deja-dup/deja-dup-monitor nagios 4005 1 0 Jan09 ? 00:00:02 gnome-terminal nagios 4010 4005 0 Jan09 ? 00:00:00 gnome-pty-helper nagios 14027 4005 0 Jan15 pts/3 00:00:00 bash nagios 18084 1 0 09:24 ? 00:00:00 /usr/bin/pulseaudio --start --log-target=syslog nagios 18085 18084 0 09:24 ? 00:00:00 /usr/lib/pulseaudio/pulse/gconf-helper nagios 18659 14027 0 09:26 pts/3 00:00:00 ps -ef nagios 18660 14027 0 09:26 pts/3 00:00:00 grep --color=auto nagios nagios 24025 1 0 07:57 ? 00:00:04 /usr/bin/python /usr/bin/update-manager --no-focus-on-map nagios 29231 1 0 Jan15 ? 00:00:00 /usr/lib/notify-osd/notify-osd What will deleting those files you mentioned do? Thanks in advance -----Original Message----- From: Justin T Pryzby [mailto:justinp at norchemlab.com] Sent: 15 January 2013 18:02 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Service check goes HARD too quick if multiple service are in problem state You could check that the check intervals show up right in objects.cache. You could also try stopping nagios (check with ps that you don't have multiple daemons running), removing the generated files and restarting (note that this will cause notifications to be sent from scratch; you may want to disable them first). /var/cache/nagios3/ objects.cache status.dat /var/lib/nagios3/ retention.dat On Tue, Jan 15, 2013 at 05:51:35PM +0000, Andrew Thompson wrote: > Hi, > > I have had this problem previously and posted here but not go nowhere with it. > > Ill have another bash..... > > Basically my nagios machine is checking too frequently and firing out > alerts too quickly > > Its ignoring the retry_interval value, the max_check_attempts value and ingoring the notification_interval value in the escalations. > > I have check interval of 5 minutes in OK state Retry interval of 3 > minutes when in problem state Notification interval of 3 minutes > > I believe that below is the problem and multiple service checks in problem state at the same time is casuing this. > > > Ive just seen this on 1 of my hosts: > > It appears its accumulating the service checks (even though they are different checks) into a final HARD state. > > Prior to 17:18 all was fine on this host!!! > > > Then at 17:18 a SQL check went to warning state and to SOFT 1 > > Checked again at 17:21 which is the 3 minute interval I have told it > too when in problem and its still warning so onto SOFT2 > > Then a different service check on that host goes critical - but for > the first time > > 17:22 memory usage and it puts this to HARD 3 - even though this > actual check for memory should be SOFT1 > > An alert then got sent straight out for the Memory check even though > it was actually only check 1/3 on that particular service > > Here is the copy and past from the History of the host > > [01-15-2013 17:18:24] > SERVICE ALERT: SERVER;SQL LOCK TIMEOUTS;WARNING;SOFT;1;WARNING - > 2.3067 lock timeouts / sec for _Total, 2.0667 lock timeouts / sec for > Key, 0.0000 lock timeouts / sec for RID, 0.2400 lock timeouts / sec > for Page, 0.0000 lock timeouts / sec for Object, 0.0000 lock timeouts > / sec for Metadata, 0.0000 lock timeouts / sec for HoBT, 0.0000 lock > timeouts / sec for File, 0.0000 lock timeouts / sec for Extent, 0.0000 > lock timeouts / sec for Database, 0.0000 lock timeouts / sec for > Application, 0.0000 lock timeouts / sec for AllocUnit > [01-15-2013 17:21:24] > SERVICE ALERT: SERVER;SQL LOCK TIMEOUTS;WARNING;SOFT;2;WARNING - > 1.3056 lock timeouts / sec for _Total, 1.1833 lock timeouts / sec for > Key, 0.0000 lock timeouts / sec for RID, 0.1222 lock timeouts / sec > for Page, 0.0000 lock timeouts / sec for Object, 0.0000 lock timeouts > / sec for Metadata, 0.0000 lock timeouts / sec for HoBT, 0.0000 lock > timeouts / sec for File, 0.0000 lock timeouts / sec for Extent, 0.0000 > lock timeouts / sec for Database, 0.0000 lock timeouts / sec for > Application, 0.0000 lock timeouts / sec for AllocUnit > > [01-15-2013 17:22:04] > SERVICE ALERT: SERVER;MEMORY USAGE;CRITICAL;HARD;3;CRITICAL: physical > memory: Total: 10G - Used: 9.81G (98%) - Free: 192M (2%) > critical > > > > Does anybody please have any idea why my server is checking too frequently and alerting too frequently and why its totting up different service checks? > > This machine has done nothing but not work right since it was loaded a couple months ago. > Im using the come config files on it as I did on the previous box I had - only difference was that was running 3.3.1 - I had none of these problems on that install. > > > This is a Nagios 3.4.1 install on a Ubuntu 12.04 desktop 32 bit OS ---------------------------------------------------------------------------- -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ 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 ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ 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 From ae at op5.se Fri Jan 18 13:37:07 2013 From: ae at op5.se (Andreas Ericsson) Date: Fri, 18 Jan 2013 13:37:07 +0100 Subject: Embedded Perl in Nagios 4 In-Reply-To: <50F93223.5080802@edcint.co.nz> References: <50D0313F.5080302@op5.se> <50F93223.5080802@edcint.co.nz> Message-ID: <50F941F3.6050105@op5.se> On 01/18/2013 12:29 PM, Matthew Jurgens wrote: > Hi Andreas > > op5 sponsor the Check WMI Plus plugin (http://edcint.co.nz/checkwmiplus/?q=donations_and_sponsorship). > Its a large perl plugin where the lack of embedded perl would approx double the amount of CPU that it uses. Actually, it's a large perl shim around a C binary called "wmic". Most of the time it uses is spent in network latency because there's no way the shim can get the compiled binary to do all its work for it in a single session. check_wmi is one of the (very many) plugins where embedded perl wouldn't improve things in any way what so ever, and the only way to get real performance out of it is to rewrite the wmic binary so that it can handle communication with the perl plugin, or so that wmic itself is turned into a plugin. Where embedded perl *does* matter is for perl plugins that utilize a large set of perl libraries. For those cases, embedded perl can cut execution time of plugins down to as much as 25% of the original cpu and I/O cost. However, the new worker model is still up to 12 times more efficient than the old one, so at best you're looking at a tiebreak for running perl plugins. > There are people using it so much (multiple tens of thousands of invocations per day) that they already notice the amount of CPU that it consumes. > I'm sure they do, and patches to make language-specific workers work fine out of the box are ofcourse welcome, along with the code to make such workers fly. > I'm hoping the op5 can assist with a solution to the Nagios 4 problem of no embedded Perl. It's not a problem that Nagios 4 has no embedded perl. It used to be a problem that Nagios 3 with embedded perl enabled leaked so much memory that the system became unusable after a day or two of running. This is (potentially) a performance issue caused by a single plugin being heavily used in spite of it being crap code that just wraps a second program. > Why has it been taken out anyway? For all the reasons stated above. > There are a lot of plugins out there that use Perl. > And for the most part it's still faster to run checks with Nagios 4 without embedded perl than it is to run checks with Nagios 3 with embedded perl compiled in and enabled. The only exception is where large and heavy plugins written in perl are extensively and almost exclusively used, and the perl loadtime dominates the time it takes for the plugin to run. That's not the case with check_wmi. For a workaround, you may want to look into mod_gearman. It's one of the unofficially blessed eventbroker modules that are known to work well with Nagios 4, and as a happy coincidence it still supports embedded perl. I know for a fact that Nagios 4 with mod_gearman works very well, and if you put your perl-based checks in a single service group and let mod_gearman handle only those, you'll have a system that can easily handle tens of thousands of checks without breaking a sweat. As a final note; Embedded perl *may* yet come back to Nagios. If it does, it will be as a multi-stage rocket that goes like this: 1. Make Nagios recognize different script languages. 2. Make Nagios' worker process manager capable of distributing checks based on scripting language. 3. Build a special-purpose worker that supports perl caching and whatnot and get it included in Nagios. Given that it's done properly and the code holds good quality, I'd be more than happy to take patches that implements script recognition and a perl-worker. Note that the worker will have to be able to handle the case when plugins can't be executed by it since they don't conform to whatever rules the embedded perl layer chucks up. It will, however, *never* be in the plain core worker, which is meant to be as stable and simple as possible. -- Andreas Ericsson andreas.ericsson at 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. ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ 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 From natewlew at gmail.com Fri Jan 18 18:33:31 2013 From: natewlew at gmail.com (Nathan Lewis) Date: Fri, 18 Jan 2013 11:33:31 -0600 Subject: Show Host Display Name in Web Interface Message-ID: Does anyone know how I could show the display_name or alias as the main display for a host? I would like to give a unique name to a host and a generic display name that is human readable. The reason I want to do this is because devices on our network can be re-purposed. When I rename a host in Nagios I tend to loose history and pnp data. If I give a host a display name in Nagios XI or Nagios Core, the only place I see it is on the host detail page. It would make sense for this to be the opposite. Since this does not seem to be the default functionality, what is the purpose of display_name? Thanks for your time. I can't seem to find an answer to this using a web search. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 -------------- next part -------------- _______________________________________________ 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 From esteban at nuevaeralatam.com Fri Jan 18 20:10:50 2013 From: esteban at nuevaeralatam.com (Esteban Monge) Date: Fri, 18 Jan 2013 13:10:50 -0600 Subject: EMnu... a little menu for expand Nagios Message-ID: Hello: I present a little menu for expand actions in Nagios. The idea is that you can make ping o traceroute via pure PHP directly from Web CGIs or add more actions to Nagios in a pretty way. This script adds a little menu in Host Extended Info and Service Extended Info. At the moment you need a little of knowledge in PHP and HTML for make modifications. I wrote a attempt of documentation but I dont write good english. You need livestatus. By default comes with ping and traceroute, you can enable in services Dokuwiki documenting. Can check the script in: https://gitorious.org/emnu/ A little screenshot: http://img717.imageshack.us/img717/323/shot201301032038332.jpg If have a recommendations or suggestions are welcome ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ 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 From Peter.Shankland at ricoh-rpl.com Sat Jan 19 05:01:02 2013 From: Peter.Shankland at ricoh-rpl.com (Peter.Shankland at ricoh-rpl.com) Date: Sat, 19 Jan 2013 04:01:02 +0000 Subject: AUTO: Peter Shankland is out of the office. (returning 22/01/2013) Message-ID: I am out of the office until 22/01/2013. Please contact Tom Barnes if the request is urgent: Tom Barnes tom.barnes at ricoh-rpl.com 01952 205362 Regards. Note: This is an automated response to your message "[Nagios-users] EMnu... a little menu for expand Nagios" sent on 18/01/2013 19:10:50. This is the only notification you will receive while this person is away. ________________________________________ Peter Shankland TECHNICAL SPECIALIST IT DEPARTMENT Ricoh UK Products Limited Priorslee Telford, TF2 9NS UK Tel: +44 (0) 1952 290090 DD:+44 (0) 1952 205160 F:+44 (0) 1952 213100 M:+44 (0) 7919 444077 Peter.Shankland at ricoh-rpl.com (Embedded image moved to file: pic04031.gif) (Embedded image moved to file: pic12052.jpg) Please do not print this email unless absolutely necessary in order to save paper and energy, and you will contribute to resource conservation and CO2 reduction. This email including attachments is intended for the addressee(s) only. It may be labelled confidential/ private and contain confidential/private information. Please respect the wishes of the sender in the way you treat this email and the information contained within. If in doubt clarify the wishes of the sender before acting. If you have received this email in error, you may not review, copy or forward this message in whole or in part. Ricoh UK Products employees should delete from their system and notify us of the error via the ISMS Security Incident Reporting database. External recipients should delete from their system and alert us via email, advising the name of the sender and the time and date of receipt. Any views expressed in this email may not necessarily reflect those of Ricoh UK Products Ltd. You should ensure that the onward transmission, opening or use of this message or attachments will not adversely affect your system or data and carry out anti-virus checks before downloading. Internet communications are not secure and therefore Ricoh UK Products Ltd accepts no responsibility for any direct, indirect or consequential damage resulting from the transmission of this message. Registered in England No. 1763860 Registered Office: Ricoh UK Products Limited, Priorslee, Telford, Shropshire, TF2 9NS -------------- next part -------------- A non-text attachment was scrubbed... Name: pic04031.gif Type: image/gif Size: 2190 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic12052.jpg Type: image/jpeg Size: 7544 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912 -------------- next part -------------- _______________________________________________ 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 From yu.watanabe at jp.fujitsu.com Mon Jan 21 07:36:37 2013 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Mon, 21 Jan 2013 15:36:37 +0900 Subject: Monitoring Oracle tablespace created with autoextension option Message-ID: <201301210636.AA06062@S2007337.jp.fujitsu.com> Hello all. I would like to ask for help to people in this mailinglist. We are trying to monitor Oracle Database which is installed on the Windows Server. * Sorry that we cannot reveal the details of the versions at this moment. Nagios (v 3.0.6) is installed in the Linux box (RHEL 5.2). I am considerding to monitor the Oracle Table space but hesitating which plugin to use. The table is created with the autoextension option. We found "check_oracle_health" but is this the most recommended plugin to monitor Oracle installed on the Windows Server? Also , if there are any better plugin , it would be helpful if you can share us the information. Thanks, Yu Watanabe ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ 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 From pitchfork at ederdrom.de Mon Jan 21 10:43:43 2013 From: pitchfork at ederdrom.de (Joerg Linge) Date: Mon, 21 Jan 2013 10:43:43 +0100 Subject: Monitoring Oracle tablespace created with autoextension option In-Reply-To: <201301210636.AA06062@S2007337.jp.fujitsu.com> References: <201301210636.AA06062@S2007337.jp.fujitsu.com> Message-ID: Am 21.01.2013 um 07:36 schrieb Yu Watanabe : > Hello all. > > I would like to ask for help to people in this mailinglist. > > We are trying to monitor Oracle Database which is installed on the Windows Server. > * Sorry that we cannot reveal the details of the versions at this moment. > > Nagios (v 3.0.6) is installed in the Linux box (RHEL 5.2). > > I am considerding to monitor the Oracle Table space but hesitating which > plugin to use. The table is created with the autoextension option. > > We found "check_oracle_health" but is this the most recommended plugin > to monitor Oracle installed on the Windows Server? yes it is (IMHO) Joerg ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ 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 From sunil at sunil.cc Mon Jan 21 15:52:28 2013 From: sunil at sunil.cc (Sunil Sankar) Date: Mon, 21 Jan 2013 20:22:28 +0530 Subject: Monitoring Oracle tablespace created with autoextension option In-Reply-To: References: <201301210636.AA06062@S2007337.jp.fujitsu.com> Message-ID: you can also go with op5 check_oracle which can do a lot of things .Please find the below feature list The plugin can monitor: - database availability (tnsping) - login or dummy login - cache hit ratio - tablespace usage - datafile usage - total number of datafiles - available extents per table or tablespace - log archiving enabled or not - backupmode - user defined query, match for string or numeric value - locks - broken transactions - failed transactions - transactions in the deferred error queue - invalid transactions http://git.op5.org/git/?p=nagios/op5plugins.git;a=blob_plain;f=check_oracle.pl;hb=HEAD On Mon, Jan 21, 2013 at 3:13 PM, Joerg Linge wrote: > > Am 21.01.2013 um 07:36 schrieb Yu Watanabe : > > > Hello all. > > > > I would like to ask for help to people in this mailinglist. > > > > We are trying to monitor Oracle Database which is installed on the > Windows Server. > > * Sorry that we cannot reveal the details of the versions at this moment. > > > > Nagios (v 3.0.6) is installed in the Linux box (RHEL 5.2). > > > > I am considerding to monitor the Oracle Table space but hesitating which > > plugin to use. The table is created with the autoextension option. > > > > We found "check_oracle_health" but is this the most recommended plugin > > to monitor Oracle installed on the Windows Server? > > yes it is (IMHO) > > Joerg > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > 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 > -- Regards Sunil Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 -------------- next part -------------- _______________________________________________ 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 From yu.watanabe at jp.fujitsu.com Fri Jan 25 03:08:45 2013 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Fri, 25 Jan 2013 11:08:45 +0900 Subject: Monitoring remote server oracle from nagios server using check_oracle_health Message-ID: <201301250208.AA06078@S2007337.jp.fujitsu.com> Hi all. I have some trouble executing check_oracle_health. It would be helpful if someone can help me out. I have successfully compiled both ORACLE DBD and check_oracle_health on a nagios server. And as a test , I am trying to execute tnsping to the remote oracle server. Whenever I execute the plugin , I get the follwoing error. check_oracle_health --connect=xe --user=system --password=root --mode=connection-time CRITICAL - cannot connect to xe. ORA-12154: TNS:could not resolve the connect identifier specified (DBD ERROR: OCIServerAttach) The error it self is obvious that its because remote ip address is not defined. Does anyone know where can you defien the info about address or hostname? Thanks, Yu ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ 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 From orthogonous at gmail.com Fri Jan 25 03:55:13 2013 From: orthogonous at gmail.com (Lachlan Bowes) Date: Fri, 25 Jan 2013 12:55:13 +1000 Subject: multiple passive updates for the 'OK' state not triggering service notifications Message-ID: Hi All I have a passive service setup in nagios. I have many things sending passive updates to this service. I need to be able to trigger a service notification for this service for every update. Currently if I send (for example) 3 critical passive updates I will get 3 service notifications. If however, I send 3 'OK' passive updates, I will get 1 service notification. This is due to the fact that the ok status is a soft status. I've experimented with volatile services and stalking options to no avail. I'd like to do what I need in nagios itself but I think I may have to write something to sit next to nagios for this. Does anyone on this list have any experience with this? Regards, Ortho -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d -------------- next part -------------- _______________________________________________ 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 From Peter.Shankland at ricoh-rpl.com Fri Jan 25 05:01:07 2013 From: Peter.Shankland at ricoh-rpl.com (Peter.Shankland at ricoh-rpl.com) Date: Fri, 25 Jan 2013 04:01:07 +0000 Subject: AUTO: Peter Shankland is out of the office. (returning 11/02/2013) Message-ID: I am out of the office until 11/02/2013. Please contact Tom Barnes if the request is urgent: Tom Barnes tom.barnes at ricoh-rpl.com 01952 205362 Regards. Note: This is an automated response to your message "[Nagios-users] Monitoring remote server oracle from nagios server using check_oracle_health" sent on 25/01/2013 02:08:45. This is the only notification you will receive while this person is away. ________________________________________ Peter Shankland TECHNICAL SPECIALIST IT DEPARTMENT Ricoh UK Products Limited Priorslee Telford, TF2 9NS UK Tel: +44 (0) 1952 290090 DD:+44 (0) 1952 205160 F:+44 (0) 1952 213100 M:+44 (0) 7919 444077 Peter.Shankland at ricoh-rpl.com (Embedded image moved to file: pic14989.gif) (Embedded image moved to file: pic32702.jpg) Please do not print this email unless absolutely necessary in order to save paper and energy, and you will contribute to resource conservation and CO2 reduction. This email including attachments is intended for the addressee(s) only. It may be labelled confidential/ private and contain confidential/private information. Please respect the wishes of the sender in the way you treat this email and the information contained within. If in doubt clarify the wishes of the sender before acting. If you have received this email in error, you may not review, copy or forward this message in whole or in part. Ricoh UK Products employees should delete from their system and notify us of the error via the ISMS Security Incident Reporting database. External recipients should delete from their system and alert us via email, advising the name of the sender and the time and date of receipt. Any views expressed in this email may not necessarily reflect those of Ricoh UK Products Ltd. You should ensure that the onward transmission, opening or use of this message or attachments will not adversely affect your system or data and carry out anti-virus checks before downloading. Internet communications are not secure and therefore Ricoh UK Products Ltd accepts no responsibility for any direct, indirect or consequential damage resulting from the transmission of this message. Registered in England No. 1763860 Registered Office: Ricoh UK Products Limited, Priorslee, Telford, Shropshire, TF2 9NS -------------- next part -------------- A non-text attachment was scrubbed... Name: pic14989.gif Type: image/gif Size: 2190 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic32702.jpg Type: image/jpeg Size: 7544 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d -------------- next part -------------- _______________________________________________ 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 From sjcarr at gmail.com Fri Jan 25 10:03:40 2013 From: sjcarr at gmail.com (Steven Carr) Date: Fri, 25 Jan 2013 09:03:40 +0000 Subject: Monitoring remote server oracle from nagios server using check_oracle_health In-Reply-To: <201301250208.AA06078@S2007337.jp.fujitsu.com> References: <201301250208.AA06078@S2007337.jp.fujitsu.com> Message-ID: What do you have in your tnsnames.ora file for the database you are trying to connect to? http://www.orafaq.com/wiki/Tnsnames.ora http://docs.oracle.com/cd/B28359_01/network.111/b28317/tnsnames.htm Steve On 25 January 2013 02:08, Yu Watanabe wrote: > Hi all. > > I have some trouble executing check_oracle_health. It would be helpful if > someone can help me out. > > I have successfully compiled both ORACLE DBD and check_oracle_health on a > nagios server. > And as a test , I am trying to execute tnsping to the remote oracle server. > > Whenever I execute the plugin , I get the follwoing error. > > check_oracle_health --connect=xe --user=system --password=root > --mode=connection-time > CRITICAL - cannot connect to xe. ORA-12154: TNS:could not resolve the > connect identifier specified (DBD ERROR: OCIServerAttach) > > The error it self is obvious that its because remote ip address is not > defined. > > Does anyone know where can you defien the info about address or hostname? > > Thanks, > Yu > > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnnow-d2d > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d -------------- next part -------------- _______________________________________________ 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 From NOC at eurofmc.com Fri Jan 25 10:49:21 2013 From: NOC at eurofmc.com (Network Operation Center FMC Luxemburg) Date: Fri, 25 Jan 2013 10:49:21 +0100 Subject: Plugin ODBC? Message-ID: <51025521.6060503@eurofmc.com> Update : check_odbc -H [server] -u [usr ODBC] -p [password connector ODBC] -d [database] of course... ---------------------- Hi everybody, Somebody knows a Nagios plugin for testing ODBC connexion? The test should be : check_odbc -H [server] -u [usr ODBC] -p [password connector ODBC] and should be return : OKor CRITICAL. Any idea? Fran?ois -- Network Operation Center LUXEMBURG E-mail: NOC at eurofmc.com -------------------------------------------------------------------- _DISCLAIMER_: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, copy, distribute, disclose, print, or rely on this e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d -------------- next part -------------- _______________________________________________ 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 From NOC at eurofmc.com Fri Jan 25 10:24:26 2013 From: NOC at eurofmc.com (Network Operation Center FMC Luxemburg) Date: Fri, 25 Jan 2013 10:24:26 +0100 Subject: Plugin ODBC? Message-ID: <51024F4A.7020602@eurofmc.com> Hi everybody, Somebody knows a Nagios plugin for testing ODBC connexion? The test should be : check_odbc -H [server] -u [usr ODBC] -p [password connector ODBC] and should be return : OKor CRITICAL. Any idea? Fran?ois -- Network Operation Center LUXEMBURG E-mail: NOC at eurofmc.com -------------------------------------------------------------------- _DISCLAIMER_: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, copy, distribute, disclose, print, or rely on this e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d -------------- next part -------------- _______________________________________________ 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 From wi2009i at gmail.com Tue Jan 29 17:08:51 2013 From: wi2009i at gmail.com (Gerd Radecke) Date: Tue, 29 Jan 2013 17:08:51 +0100 Subject: Additive inheritance from multiple templates behavior Message-ID: Hi, I'm currently experementing with inheritance from multiple templates (as it is recommened at http://nagios.sourceforge.net/docs/3_0/objectinheritance.html) and I stumbled across a rather unexpected behavior. My example configuration looks like this: ----------- define host { use generic-host name tempTwo hostgroups +hg_two contact_groups +cg_two register 0 } define host { use generic-host name tempOne hostgroups +hg_one contact_groups +cg_one register 0 } define host { use tempOne,tempTwo host_name example address 127.0.0.1 } ------------------- I'm not getting any erros when parsing the config. However, the results are odd: 1. My host "example" is now a member of two hostgroups: hg_one and hg_two. That seemed logical to me as both templates only append another member to the hostgroups list. 2. Yet, the host has only one contactgroup: cg_one. 3. If I change the use line in the example host to "use tempTwo, tempOne", the only notification group will be cg_two. 4. If I add yet another template (tempThree with analog hg_three and cg_three) the result is as expected: all three hostgroups are applied but only the first contactgroup. Can someone explain to me why these two behaviors differ? I would think that the behavior shown by the hostgroup is correct (and http://www.mentby.com/Group/nagios-users/object-definitions-with-multiple-templates.htmlwould support that). So is the behavior of the contact_group inheritance a bug or did I miss something in the documentation? Cheers, Gerd Radecke -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d -------------- next part -------------- _______________________________________________ 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 From work at paul.dubuc.org Thu Jan 31 15:55:23 2013 From: work at paul.dubuc.org (Paul Dubuc) Date: Thu, 31 Jan 2013 09:55:23 -0500 Subject: "distributable" downtime delete commands? Message-ID: <510A85DB.70109@paul.dubuc.org> Among the enhancements listed for Nagios 3.3.1: 3.3.1. - 07/25/2011 ENHANCEMENTS * Downtime delete commands made "distributable" by deleting by host group name, host name or start time/comment (Opsview team) Where are these commands documented? I don't see them in the online documentation: http://old.nagios.org/developerinfo/externalcommands/commandlist.php?category_id=6&version_id=0&btnSubmit=Update only lists delete commands that require a downtime ID. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan From paxindustria at gmail.com Thu Jan 31 16:56:43 2013 From: paxindustria at gmail.com (Alaric) Date: Thu, 31 Jan 2013 10:56:43 -0500 Subject: Log Rotations Issue Message-ID: <2CD65BBB-C9DD-46A8-9A17-105A94EA4BEF@gmail.com> Hi, I was hoping that someone on this list might have some insight to an issue that I recently ran into after upgrading my Nagios core installation to 3.4.4 (out of the EPEL Repo) After upgrading, log rotation stopped on one of my two servers, and perfdata_file_processing_commands stopped working, and whatever Job that sets 'CURRENT HOST STATE' in the main nagios logs stopped working. I upgraded both my Dev server, and my Production server, and only my Prod servers seems to have the issue. Both run the same code, and both have the same configs. I'm confident the configs as the same, as both get the configs deployed via puppet. I've googled around quite a bit, and haven't had any luck figuring it out. Has anyone seen anything similar? My feeling, based on the behavior of my Dev server is that it's not a problem with the code, but that something got "stuck" but I'm darned if I can figure out what. I've cleared out the logs, restarted nagios, rebooted the server. Audited configs and checked the debug output. Any help is much appreciated! -a ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ 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 From Martin_Hugo at hboe.org Thu Jan 31 17:09:23 2013 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Thu, 31 Jan 2013 16:09:23 +0000 Subject: Log Rotations Issue In-Reply-To: <2CD65BBB-C9DD-46A8-9A17-105A94EA4BEF@gmail.com> References: <2CD65BBB-C9DD-46A8-9A17-105A94EA4BEF@gmail.com> Message-ID: <70D7A4219FE365439DA53582BA6D8F2EF5E45A13@HCSD-MAIL1> Hi Alaric, I had a similar issue and never did figure it out. Unfortunately, I only had one server but it was virtual so I just built a new one from scratch and transferred my configs. Sometimes expediency demands undesirable methods. -- Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-921-7243 (Fax) -----Original Message----- From: Alaric [mailto:paxindustria at gmail.com] Sent: Thursday, January 31, 2013 10:57 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Log Rotations Issue Hi, I was hoping that someone on this list might have some insight to an issue that I recently ran into after upgrading my Nagios core installation to 3.4.4 (out of the EPEL Repo) After upgrading, log rotation stopped on one of my two servers, and perfdata_file_processing_commands stopped working, and whatever Job that sets 'CURRENT HOST STATE' in the main nagios logs stopped working. I upgraded both my Dev server, and my Production server, and only my Prod servers seems to have the issue. Both run the same code, and both have the same configs. I'm confident the configs as the same, as both get the configs deployed via puppet. I've googled around quite a bit, and haven't had any luck figuring it out. Has anyone seen anything similar? My feeling, based on the behavior of my Dev server is that it's not a problem with the code, but that something got "stuck" but I'm darned if I can figure out what. I've cleared out the logs, restarted nagios, rebooted the server. Audited configs and checked the debug output. Any help is much appreciated! -a ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ 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 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ 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 From nagios at flatto.net Thu Jan 31 17:32:40 2013 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 31 Jan 2013 16:32:40 +0000 Subject: Log Rotations Issue In-Reply-To: <2CD65BBB-C9DD-46A8-9A17-105A94EA4BEF@gmail.com> References: <2CD65BBB-C9DD-46A8-9A17-105A94EA4BEF@gmail.com> Message-ID: <510A9CA8.30000@flatto.net> On 31/01/13 15:56, Alaric wrote: > Hi, > > I was hoping that someone on this list might have some insight to an issue that I recently ran into after upgrading my Nagios core installation to 3.4.4 (out of the EPEL Repo) After upgrading, log rotation stopped on one of my two servers, and perfdata_file_processing_commands stopped working, and whatever Job that sets 'CURRENT HOST STATE' in the main nagios logs stopped working. > > I upgraded both my Dev server, and my Production server, and only my Prod servers seems to have the issue. Both run the same code, and both have the same configs. > I'm confident the configs as the same, as both get the configs deployed via puppet. I've googled around quite a bit, and haven't had any luck figuring it out. Has anyone seen anything similar? > My feeling, based on the behavior of my Dev server is that it's not a problem with the code, but that something got "stuck" but I'm darned if I can figure out what. I've cleared out the logs, restarted nagios, rebooted the server. Audited configs and checked the debug output. > > Any help is much appreciated! > > > -a > > > > What is the difference in the volume of activity on those servers , it could be that you found an issue related the the amount of checks or traffic generated to the the log. If the internal log rotation is faulty - have you considered using logrotate as a dirty hack to fix your issue ? ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ 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 From paxindustria at gmail.com Thu Jan 31 17:53:18 2013 From: paxindustria at gmail.com (Alaric) Date: Thu, 31 Jan 2013 11:53:18 -0500 Subject: Log Rotations Issue In-Reply-To: <510A9CA8.30000@flatto.net> References: <2CD65BBB-C9DD-46A8-9A17-105A94EA4BEF@gmail.com> <510A9CA8.30000@flatto.net> Message-ID: <48A0D582-CE8F-456D-995D-32062A73DB65@gmail.com> On Jan 31, 2013, at 11:32 AM, Assaf Flatto wrote: > On 31/01/13 15:56, Alaric wrote: >> Hi, >> >> I was hoping that someone on this list might have some insight to an issue that I recently ran into after upgrading my Nagios core installation to 3.4.4 (out of the EPEL Repo) After upgrading, log rotation stopped on one of my two servers, and perfdata_file_processing_commands stopped working, and whatever Job that sets 'CURRENT HOST STATE' in the main nagios logs stopped working. >> >> I upgraded both my Dev server, and my Production server, and only my Prod servers seems to have the issue. Both run the same code, and both have the same configs. >> I'm confident the configs as the same, as both get the configs deployed via puppet. I've googled around quite a bit, and haven't had any luck figuring it out. Has anyone seen anything similar? >> My feeling, based on the behavior of my Dev server is that it's not a problem with the code, but that something got "stuck" but I'm darned if I can figure out what. I've cleared out the logs, restarted nagios, rebooted the server. Audited configs and checked the debug output. >> >> Any help is much appreciated! >> >> >> -a >> >> >> >> > What is the difference in the volume of activity on those servers , it > could be that you found an issue related the the amount of checks or > traffic generated to the the log. > > If the internal log rotation is faulty - have you considered using > logrotate as a dirty hack to fix your issue ? > While logrotate or a cronjob will clean up the actual files, part of what I'm trying to troubleshoot what looks like the failure of some internal nagios processes, for example, some processes nightly normally adds these enteries into the top of the log: [1359608400] CURRENT HOST STATE: example1;UP;HARD;1;FPING OK - 10.1.2.3 (loss=0%, rta=1.210000 ms) Which goes missing, even if I manually rotate the logs... The difference in volume seems pretty low i've been trying to keep dev and prod as similar as possible: Host Service Checks from Dev: # Active Host / Service Checks: 1486 / 7219 # Passive Host / Service Checks: 0 / 0 Host Service Checks form Prod: # Active Host / Service Checks: 1564 / 8264 # Passive Host / Service Checks: 0 / 84 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ 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 From paxindustria at gmail.com Thu Jan 31 17:54:56 2013 From: paxindustria at gmail.com (Alaric) Date: Thu, 31 Jan 2013 11:54:56 -0500 Subject: Log Rotations Issue In-Reply-To: <70D7A4219FE365439DA53582BA6D8F2EF5E45A13@HCSD-MAIL1> References: <2CD65BBB-C9DD-46A8-9A17-105A94EA4BEF@gmail.com> <70D7A4219FE365439DA53582BA6D8F2EF5E45A13@HCSD-MAIL1> Message-ID: On Jan 31, 2013, at 11:09 AM, Martin Hugo wrote: > Hi Alaric, > > I had a similar issue and never did figure it out. Unfortunately, I only had one server but it was virtual so I just built a new one from scratch and transferred my configs. > > Sometimes expediency demands undesirable methods. > > -- > Martin T. Hugo > Network Administrator > Hilliard City Schools > 614-921-7102 (Ph) > 614-921-7243 (Fax) > > > Yikes, I was hoping I wouldn't have to do a complete rebuild! ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ 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 From phil.randal at hoopleltd.co.uk Thu Jan 31 18:53:08 2013 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Thu, 31 Jan 2013 17:53:08 +0000 Subject: Log Rotations Issue In-Reply-To: <2CD65BBB-C9DD-46A8-9A17-105A94EA4BEF@gmail.com> References: <2CD65BBB-C9DD-46A8-9A17-105A94EA4BEF@gmail.com> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B854175861F@HC-EXMBX03.herefordshire.gov.uk> I'm seeing the same issue here :-( Phil -----Original Message----- From: Alaric [mailto:paxindustria at gmail.com] Sent: 31 January 2013 15:57 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Log Rotations Issue Hi, I was hoping that someone on this list might have some insight to an issue that I recently ran into after upgrading my Nagios core installation to 3.4.4 (out of the EPEL Repo) After upgrading, log rotation stopped on one of my two servers, and perfdata_file_processing_commands stopped working, and whatever Job that sets 'CURRENT HOST STATE' in the main nagios logs stopped working. I upgraded both my Dev server, and my Production server, and only my Prod servers seems to have the issue. Both run the same code, and both have the same configs. I'm confident the configs as the same, as both get the configs deployed via puppet. I've googled around quite a bit, and haven't had any luck figuring it out. Has anyone seen anything similar? My feeling, based on the behavior of my Dev server is that it's not a problem with the code, but that something got "stuck" but I'm darned if I can figure out what. I've cleared out the logs, restarted nagios, rebooted the server. Audited configs and checked the debug output. Any help is much appreciated! -a ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ 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 ?Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. monitors its email service. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ 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