From jthorpe at Conexim.com.au Mon Aug 1 01:34:29 2011 From: jthorpe at Conexim.com.au (Jonathan Thorpe) Date: Sun, 31 Jul 2011 23:34:29 +0000 Subject: Determine previous service state in notification script Message-ID: <98518DB27649AF4EAFB2E355F71E605059AA5F1B@ISRV-EXCH-1.conexim.local> Hi All, I run a Nagios 2.6 installation and have a custom notification script for sending out SMSes. A common complaint I have from people on-call is the fact they receive warnings for servers that reach warning level for storage. What I'd like to do is customise my notification script so that it only sends storage warnings (and their accompanying recoveries) as SMSes during business hours only. Effectively, I'd like it to do the following (only for services of type "STORAGE"): OK -> WARNING: No Alert WARNING -> OK: No Alert WARNING -> CRITICAL: Alert CRITICAL -> WARNING: Alert OK -> CRITICAL: Alert CRITICAL -> OK: Alert I have no problem implementing this functionality, provided I can work out what the previous state is. Is there a way through the Nagios API that would allow me to query what the previous state was before the current level, or would I be better off tracking this through the notification script? Thanks, Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey -------------- 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 jcasale at activenetwerx.com Mon Aug 1 02:24:12 2011 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Mon, 1 Aug 2011 00:24:12 +0000 Subject: Determine previous service state in notification script In-Reply-To: <98518DB27649AF4EAFB2E355F71E605059AA5F1B@ISRV-EXCH-1.conexim.local> References: <98518DB27649AF4EAFB2E355F71E605059AA5F1B@ISRV-EXCH-1.conexim.local> Message-ID: >What I'd like to do is customise my notification script so that it only sends storage >warnings (and their accompanying recoveries) as SMSes during business hours only. How comes you don't simply make a service template for these checks, or simply add the notification particulars to the storage based services? My guess is a one time tweak of the service def to a new template might allow you to solve this and adjust easily in the future. jlc ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ 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 jthorpe at Conexim.com.au Mon Aug 1 03:32:02 2011 From: jthorpe at Conexim.com.au (Jonathan Thorpe) Date: Mon, 1 Aug 2011 01:32:02 +0000 Subject: Determine previous service state in notification script Message-ID: <98518DB27649AF4EAFB2E355F71E605059AA6126@ISRV-EXCH-1.conexim.local> Hi Joseph, Thanks for the reply. This would make sense, however I still want to make sure we get email notifications when warnings occur. Unless there's a way we can do this with a services template as well? Thanks, Jonathan >What I'd like to do is customise my notification script so that it only sends storage >warnings (and their accompanying recoveries) as SMSes during business hours only. How comes you don't simply make a service template for these checks, or simply add the notification particulars to the storage based services? My guess is a one time tweak of the service def to a new template might allow you to solve this and adjust easily in the future. jlc ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ 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 jcasale at activenetwerx.com Mon Aug 1 04:01:59 2011 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Mon, 1 Aug 2011 02:01:59 +0000 Subject: Determine previous service state in notification script In-Reply-To: <98518DB27649AF4EAFB2E355F71E605059AA6126@ISRV-EXCH-1.conexim.local> References: <98518DB27649AF4EAFB2E355F71E605059AA6126@ISRV-EXCH-1.conexim.local> Message-ID: >This would make sense, however I still want to make sure we get email notifications when warnings occur. > >Unless there's a way we can do this with a services template as well? Well, Never done it, but maybe two contacts per tech, one for after hours and one during hours with different notification options enabled. The email etc can be the same but the warnings for the new service definition you would use will phase out after hours for the contact in question by means of the different notification options and periods associated to each contact. Ultimately the only the service that would mask Warnings after hours will be the ones that leverage this config, Storage Checks. Seems like it should work:) jlc ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ 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 eagles051387 at gmail.com Mon Aug 1 08:27:48 2011 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Mon, 01 Aug 2011 08:27:48 +0200 Subject: check http port 80 warning on a site that actually exists. In-Reply-To: <005c01cc4f1f$ddfd5790$99f806b0$@iname.com> References: <4E2D5F0E.1040405@gmail.com> <005c01cc4f1f$ddfd5790$99f806b0$@iname.com> Message-ID: <4E364764.3030204@gmail.com> The site is www.ludicash.com nagios is returning the following HTTP WARNING: HTTP/1.1 404 Not Found - 492 bytes in 0.164 second response time Could it be though that they might be using a nonstandard web port? On 31/07/2011 03:19, Frank Bulk wrote: > Can you share the URL? > > Frank > > -----Original Message----- > From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] > Sent: Monday, July 25, 2011 7:18 AM > To: Nagios Users List > Subject: [Nagios-users] check http port 80 warning on a site that actually > exists. > > I am workign with a site which i have being monitored by nagios, and for > some reason when check_http runs it gets a 404, but if you go to the > domain the page exists and the site exists. > > Would this be a false positive, and if so how can i fix it. > > Also another interesting matter is that when i try and run the script to > check http from command line it times out even after increasing the time > out timefrom the default 10 seconds to 20 for instance. Any ideas would > be greatly appreciated. > > ---------------------------------------------------------------------------- > -- > Storage Efficiency Calculator > This modeling tool is based on patent-pending intellectual property that > has been used successfully in hundreds of IBM storage optimization engage- > ments, worldwide. Store less, Store more with what you own, Move data to > the right place. Try It Now! > http://www.accelacomm.com/jaw/sfnl/114/51427378/ > _______________________________________________ > 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 > > > ------------------------------------------------------------------------------ > Got Input? Slashdot Needs You. > Take our quick survey online. Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > _______________________________________________ > 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 ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ 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 henti at geekware.co.za Mon Aug 1 10:48:54 2011 From: henti at geekware.co.za (Henti Smith) Date: Mon, 1 Aug 2011 10:48:54 +0200 Subject: check http port 80 warning on a site that actually exists. In-Reply-To: <4E364764.3030204@gmail.com> References: <4E2D5F0E.1040405@gmail.com> <005c01cc4f1f$ddfd5790$99f806b0$@iname.com> <4E364764.3030204@gmail.com> Message-ID: It looks like this is not a HTTP server. A HTTP/HEAD/1.0 request returns : HEAD / HTTP/1.0 HTTP/1.1 404 Not Found Content-Length: 315 Content-Type: text/html; charset=us-ascii Server: Microsoft-HTTPAPI/2.0 Date: Mon, 01 Aug 2011 08:36:34 GMT Connection: close >From : http://msdn.microsoft.com/en-us/library/aa364510(v=vs.85).aspx The HTTP Server API enables applications to communicate over HTTP without using Microsoft Internet Information Server (IIS). Applications can register to receive HTTP requests for particular URLs, receive HTTP requests, and send HTTP responses. The HTTP Server API includes SSL support so that applications can exchange data over secure HTTP connections without IIS. It is also designed to work with I/O completion ports Hence it's not giving a valid response to a HTTP/1.0 request and the plugin returns 404 Not found. possibly use a tcp check as this is not a HTTP server ? On Mon, Aug 1, 2011 at 8:27 AM, Jonathan Aquilina wrote: > The site is www.ludicash.com > > nagios is returning the following > > HTTP WARNING: HTTP/1.1 404 Not Found - 492 bytes in 0.164 second > response time > > Could it be though that they might be using a nonstandard web port? > > On 31/07/2011 03:19, Frank Bulk wrote: >> Can you share the URL? >> >> Frank >> >> -----Original Message----- >> From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] >> Sent: Monday, July 25, 2011 7:18 AM >> To: Nagios Users List >> Subject: [Nagios-users] check http port 80 warning on a site that actually >> exists. >> >> I am workign with a site which i have being monitored by nagios, and for >> some reason when check_http runs it gets a 404, but if you go to the >> domain the page exists and the site exists. >> >> Would this be a false positive, and if so how can i fix it. >> >> Also another interesting matter is that when i try and run the script to >> check http from command line it times out even after increasing the time >> out timefrom the default 10 seconds to 20 for instance. Any ideas would >> be greatly appreciated. >> >> ---------------------------------------------------------------------------- >> -- >> Storage Efficiency Calculator >> This modeling tool is based on patent-pending intellectual property that >> has been used successfully in hundreds of IBM storage optimization engage- >> ments, worldwide. ?Store less, Store more with what you own, Move data to >> the right place. Try It Now! >> http://www.accelacomm.com/jaw/sfnl/114/51427378/ >> _______________________________________________ >> 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 >> >> >> ------------------------------------------------------------------------------ >> Got Input? ? Slashdot Needs You. >> Take our quick survey online. ?Come on, we don't ask for help often. >> Plus, you'll get a chance to win $100 to spend on ThinkGeek. >> http://p.sf.net/sfu/slashdot-survey >> _______________________________________________ >> 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 > > > ------------------------------------------------------------------------------ > Got Input? ? Slashdot Needs You. > Take our quick survey online. ?Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > _______________________________________________ > 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 > ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ 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 eagles051387 at gmail.com Mon Aug 1 10:58:51 2011 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Mon, 01 Aug 2011 10:58:51 +0200 Subject: check http port 80 warning on a site that actually exists. In-Reply-To: References: <4E2D5F0E.1040405@gmail.com> <005c01cc4f1f$ddfd5790$99f806b0$@iname.com> <4E364764.3030204@gmail.com> Message-ID: <4E366ACB.3050709@gmail.com> Would you say this is a false positive? On 01/08/2011 10:48, Henti Smith wrote: > It looks like this is not a HTTP server. > > A HTTP/HEAD/1.0 request returns : > > > HEAD / HTTP/1.0 > > HTTP/1.1 404 Not Found > Content-Length: 315 > Content-Type: text/html; charset=us-ascii > Server: Microsoft-HTTPAPI/2.0 > Date: Mon, 01 Aug 2011 08:36:34 GMT > Connection: close > > > From : http://msdn.microsoft.com/en-us/library/aa364510(v=vs.85).aspx > > The HTTP Server API enables applications to communicate over HTTP > without using Microsoft Internet Information Server (IIS). > Applications can register to receive HTTP requests for particular > URLs, receive HTTP requests, and send HTTP responses. The HTTP Server > API includes SSL support so that applications can exchange data over > secure HTTP connections without IIS. It is also designed to work with > I/O completion ports > > Hence it's not giving a valid response to a HTTP/1.0 request and the > plugin returns 404 Not found. > > possibly use a tcp check as this is not a HTTP server ? > On Mon, Aug 1, 2011 at 8:27 AM, Jonathan Aquilina > wrote: >> The site is www.ludicash.com >> >> nagios is returning the following >> >> HTTP WARNING: HTTP/1.1 404 Not Found - 492 bytes in 0.164 second >> response time >> >> Could it be though that they might be using a nonstandard web port? >> >> On 31/07/2011 03:19, Frank Bulk wrote: >>> Can you share the URL? >>> >>> Frank >>> >>> -----Original Message----- >>> From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] >>> Sent: Monday, July 25, 2011 7:18 AM >>> To: Nagios Users List >>> Subject: [Nagios-users] check http port 80 warning on a site that actually >>> exists. >>> >>> I am workign with a site which i have being monitored by nagios, and for >>> some reason when check_http runs it gets a 404, but if you go to the >>> domain the page exists and the site exists. >>> >>> Would this be a false positive, and if so how can i fix it. >>> >>> Also another interesting matter is that when i try and run the script to >>> check http from command line it times out even after increasing the time >>> out timefrom the default 10 seconds to 20 for instance. Any ideas would >>> be greatly appreciated. >>> >>> ---------------------------------------------------------------------------- >>> -- >>> Storage Efficiency Calculator >>> This modeling tool is based on patent-pending intellectual property that >>> has been used successfully in hundreds of IBM storage optimization engage- >>> ments, worldwide. Store less, Store more with what you own, Move data to >>> the right place. Try It Now! >>> http://www.accelacomm.com/jaw/sfnl/114/51427378/ >>> _______________________________________________ >>> 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 >>> >>> >>> ------------------------------------------------------------------------------ >>> Got Input? Slashdot Needs You. >>> Take our quick survey online. Come on, we don't ask for help often. >>> Plus, you'll get a chance to win $100 to spend on ThinkGeek. >>> http://p.sf.net/sfu/slashdot-survey >>> _______________________________________________ >>> 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 >> >> ------------------------------------------------------------------------------ >> Got Input? Slashdot Needs You. >> Take our quick survey online. Come on, we don't ask for help often. >> Plus, you'll get a chance to win $100 to spend on ThinkGeek. >> http://p.sf.net/sfu/slashdot-survey >> _______________________________________________ >> 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 >> > ------------------------------------------------------------------------------ > Got Input? Slashdot Needs You. > Take our quick survey online. Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > _______________________________________________ > 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 ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ 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 pete at stuff-done.co.uk Mon Aug 1 11:26:10 2011 From: pete at stuff-done.co.uk (Pete Dewell) Date: Mon, 01 Aug 2011 10:26:10 +0100 Subject: check http port 80 warning on a site that actually exists. In-Reply-To: References: <4E2D5F0E.1040405@gmail.com> <005c01cc4f1f$ddfd5790$99f806b0$@iname.com> <4E364764.3030204@gmail.com> Message-ID: <4E367132.2010602@stuff-done.co.uk> My guess is that the server is possibly set up to always respond with a 404 on the IP address. check_http -H www.ludicash.com check_http -H www.ludicash.com -S both return OK. If you set up your host definition with the FQDN in the "address" field rather than the IP address, it should work OK. I do this on several OWA servers/certificates that I monitor, and haven't had any problems so far. Pete Dewell On 01/08/2011 09:48, Henti Smith wrote: > It looks like this is not a HTTP server. > > A HTTP/HEAD/1.0 request returns : > > > HEAD / HTTP/1.0 > > HTTP/1.1 404 Not Found > Content-Length: 315 > Content-Type: text/html; charset=us-ascii > Server: Microsoft-HTTPAPI/2.0 > Date: Mon, 01 Aug 2011 08:36:34 GMT > Connection: close > >> From : http://msdn.microsoft.com/en-us/library/aa364510(v=vs.85).aspx > > The HTTP Server API enables applications to communicate over HTTP > without using Microsoft Internet Information Server (IIS). > Applications can register to receive HTTP requests for particular > URLs, receive HTTP requests, and send HTTP responses. The HTTP Server > API includes SSL support so that applications can exchange data over > secure HTTP connections without IIS. It is also designed to work with > I/O completion ports > > Hence it's not giving a valid response to a HTTP/1.0 request and the > plugin returns 404 Not found. > > possibly use a tcp check as this is not a HTTP server ? > On Mon, Aug 1, 2011 at 8:27 AM, Jonathan Aquilina > wrote: >> The site is www.ludicash.com >> >> nagios is returning the following >> >> HTTP WARNING: HTTP/1.1 404 Not Found - 492 bytes in 0.164 second >> response time >> >> Could it be though that they might be using a nonstandard web port? >> >> On 31/07/2011 03:19, Frank Bulk wrote: >>> Can you share the URL? >>> >>> Frank >>> >>> -----Original Message----- >>> From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] >>> Sent: Monday, July 25, 2011 7:18 AM >>> To: Nagios Users List >>> Subject: [Nagios-users] check http port 80 warning on a site that actually >>> exists. >>> >>> I am workign with a site which i have being monitored by nagios, and for >>> some reason when check_http runs it gets a 404, but if you go to the >>> domain the page exists and the site exists. >>> >>> Would this be a false positive, and if so how can i fix it. >>> >>> Also another interesting matter is that when i try and run the script to >>> check http from command line it times out even after increasing the time >>> out timefrom the default 10 seconds to 20 for instance. Any ideas would >>> be greatly appreciated. >>> >>> ---------------------------------------------------------------------------- >>> -- >>> Storage Efficiency Calculator >>> This modeling tool is based on patent-pending intellectual property that >>> has been used successfully in hundreds of IBM storage optimization engage- >>> ments, worldwide. Store less, Store more with what you own, Move data to >>> the right place. Try It Now! >>> http://www.accelacomm.com/jaw/sfnl/114/51427378/ >>> _______________________________________________ >>> 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 >>> >>> >>> ------------------------------------------------------------------------------ >>> Got Input? Slashdot Needs You. >>> Take our quick survey online. Come on, we don't ask for help often. >>> Plus, you'll get a chance to win $100 to spend on ThinkGeek. >>> http://p.sf.net/sfu/slashdot-survey >>> _______________________________________________ >>> 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 >> >> >> ------------------------------------------------------------------------------ >> Got Input? Slashdot Needs You. >> Take our quick survey online. Come on, we don't ask for help often. >> Plus, you'll get a chance to win $100 to spend on ThinkGeek. >> http://p.sf.net/sfu/slashdot-survey >> _______________________________________________ >> 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 >> > > ------------------------------------------------------------------------------ > Got Input? Slashdot Needs You. > Take our quick survey online. Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > _______________________________________________ > 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 -- Pete Dewell | Stuff Done pete at stuff-done.co.uk ** The information contained in this message, including any attachment, is confidential and may be privileged or otherwise protected from disclosure. The information is intended only for the person or entity to which it is addressed. If you are not the intended recipient, please contact the sender and delete this message from your system. Any review, re-transmission, distribution or other use of this information by persons or entities other than the intended recipient is prohibited. * ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ 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 henti at geekware.co.za Mon Aug 1 11:24:55 2011 From: henti at geekware.co.za (Henti Smith) Date: Mon, 1 Aug 2011 11:24:55 +0200 Subject: check http port 80 warning on a site that actually exists. In-Reply-To: <4E366ACB.3050709@gmail.com> References: <4E2D5F0E.1040405@gmail.com> <005c01cc4f1f$ddfd5790$99f806b0$@iname.com> <4E364764.3030204@gmail.com> <4E366ACB.3050709@gmail.com> Message-ID: On Mon, Aug 1, 2011 at 10:58 AM, Jonathan Aquilina wrote: > Would you say this is a false positive? No. It's a positive response to your check. The check is a "HTTP" check, and the server is not a responding with a valid HTTP response, hence you need to find a different way of checking it. Henti ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ 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 jlgibbs at utica.edu Mon Aug 1 15:37:43 2011 From: jlgibbs at utica.edu (Jeremy Gibbs) Date: Mon, 01 Aug 2011 09:37:43 -0400 Subject: Nagios 3.3.1 compile error Message-ID: I am running FreeBSD version 8.1. I have Nagios core 3.2.3 compiled and installed. I ran ./configure --sysconfdir=/etc/nagios --localstatedir=/var/nagios --with-command-group=nagcmd and make all then make install. Make install is where I get this error. for file in includes/rss/*; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes/rss; done install: includes/rss/extlib: Inappropriate file type or format *** Error code 71 Stop in /usr/src/nagios/3.3.1/html. *** Error code 1 Stop in /usr/src/nagios/3.3.1. Any ideas? -- Jeremy L. Gibbs Systems Administrator Utica College Integrated Information Technology Services (315) 223-2383 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey -------------- 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 michael.friedrich at univie.ac.at Mon Aug 1 16:49:38 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Mon, 01 Aug 2011 16:49:38 +0200 Subject: Nagios 3.3.1 compile error In-Reply-To: References: Message-ID: <4E36BD02.7050707@univie.ac.at> Jeremy Gibbs wrote: > I am running FreeBSD version 8.1. I have Nagios core 3.2.3 compiled > and installed. I ran > > ./configure --sysconfdir=/etc/nagios --localstatedir=/var/nagios > --with-command-group=nagcmd > > and > > make all > > then > > make install. > > Make install is where I get this error. > > for file in includes/rss/*; do /usr/bin/install -c -m 664 -o nagios > -g nagios $file /usr/local/nagios/share/includes/rss; done > install: includes/rss/extlib: Inappropriate file type or format > *** Error code 71 > > Stop in /usr/src/nagios/3.3.1/html. > *** Error code 1 > > Stop in /usr/src/nagios/3.3.1. > > Any ideas? search for "[Nagios-users] nagios Make Install error on 3.3.1" in the mailing lists archives ... > > -- > Jeremy L. Gibbs > Systems Administrator > Utica College > Integrated Information Technology Services > (315) 223-2383 > > > ------------------------------------------------------------------------------ > Got Input? Slashdot Needs You. > Take our quick survey online. Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > > > _______________________________________________ > 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 -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey -------------- 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 mark.elsen at gmail.com Mon Aug 1 17:01:56 2011 From: mark.elsen at gmail.com (Mark Elsen) Date: Mon, 1 Aug 2011 17:01:56 +0200 Subject: nagios 3.3.1 ./configure error In-Reply-To: <1312206178.6668.YahooMailNeo@web38603.mail.mud.yahoo.com> References: <1311836563.25515.YahooMailNeo@web38602.mail.mud.yahoo.com> <1312197821.96016.YahooMailNeo@web38604.mail.mud.yahoo.com> <1312202622.34434.YahooMailNeo@web38604.mail.mud.yahoo.com> <1312206178.6668.YahooMailNeo@web38603.mail.mud.yahoo.com> Message-ID: Forwarding this to the list, as another post indicates, this might be a 'broader' problem : (check for further list-replies) : On Mon, Aug 1, 2011 at 3:42 PM, Bereket Zeselassie wrote: > i appreciate ur help. > configured it without perl and it went good until i 'make install' which gives me the > following output. > cd ./base && make install > make[1]: Entering directory `/home/hiluhi/software/open_source/nagios/nagios/base' > make install-basic > make[2]: Entering directory `/home/hiluhi/software/open_source/nagios/nagios/base' > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin > /usr/bin/install -c -m 774 -o nagios -g nagios nagios /usr/local/nagios/bin > /usr/bin/install -c -m 774 -o nagios -g nagios nagiostats /usr/local/nagios/bin > make[2]: Leaving directory `/home/hiluhi/software/open_source/nagios/nagios/base' > make strip-post-install > make[2]: Entering directory `/home/hiluhi/software/open_source/nagios/nagios/base' > /usr/bin/strip /usr/local/nagios/bin/nagios > /usr/bin/strip /usr/local/nagios/bin/nagiostats > make[2]: Leaving directory `/home/hiluhi/software/open_source/nagios/nagios/base' > make[1]: Leaving directory `/home/hiluhi/software/open_source/nagios/nagios/base' > cd ./cgi && make install > make[1]: Entering directory `/home/hiluhi/software/open_source/nagios/nagios/cgi' > make install-basic > make[2]: Entering directory `/home/hiluhi/software/open_source/nagios/nagios/cgi' > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/sbin > for file in *.cgi; do \ > ????????/usr/bin/install -c -m 775 -o nagios -g nagios $file /usr/local/nagios/sbin; \ > ????done > make[2]: Leaving directory `/home/hiluhi/software/open_source/nagios/nagios/cgi' > make strip-post-install > make[2]: Entering directory `/home/hiluhi/software/open_source/nagios/nagios/cgi' > for file in *.cgi; do \ > ????????/usr/bin/strip /usr/local/nagios/sbin/$file; \ > ????done > make[2]: Leaving directory `/home/hiluhi/software/open_source/nagios/nagios/cgi' > make[1]: Leaving directory `/home/hiluhi/software/open_source/nagios/nagios/cgi' > cd ./html && make install > make[1]: Entering directory `/home/hiluhi/software/open_source/nagios/nagios/html' > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/media > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/stylesheets > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/contexthelp > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs/images > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images/logos > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes/rss > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes/rss/extlib > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/ssi > /usr/bin/install -c -m 664 -o nagios -g nagios robots.txt /usr/local/nagios/share > rm -f /usr/local/nagios/share/index.html > rm -f /usr/local/nagios/share/main.html > rm -f /usr/local/nagios/share/side.html > for file in *.php; \ > ????do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share; done > for file in stylesheets/*.css; \ > ????do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/stylesheets; done > for file in contexthelp/*.html; \ > ????do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/contexthelp; done > for file in images/*.gif; \ > ????do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done > for file in images/*.jpg; \ > ????do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done > for file in images/*.png; \ > ????do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done > for file in images/*.ico; \ > ????do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done > for file in images/logos/*.*; \ > ????do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images/logos; done > for file in includes/*.*; \ > ????do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes; done > for file in includes/rss/*; \ > ????do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes/rss; done > /usr/bin/install: omitting directory `includes/rss/extlib' > /usr/bin/install: omitting directory `includes/rss/htdocs' > /usr/bin/install: omitting directory `includes/rss/scripts' > make[1]: *** [install] Error 1 > make[1]: Leaving directory `/home/hiluhi/software/open_source/nagios/nagios/html' > make: *** [install] Error 2 > root at ubuntu11:~/software/open_source/nagios/nagios# > > ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ 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 Mon Aug 1 20:10:14 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Mon, 01 Aug 2011 14:10:14 -0400 Subject: [Nagios-devel] Bug?: Custom notifications ignore contact notification options In-Reply-To: <4E34C33B.4010105@LINworks.de> References: <4E307C6F.3030806@paul.dubuc.org> <4E34C33B.4010105@LINworks.de> Message-ID: <4E36EC06.8000702@paul.dubuc.org> Jochen Bern wrote: > On 07/27/2011 11:00 PM, Paul M. Dubuc wrote: >> I just discovered what looks like a possible bug in the "Send custom >> host/service notification" command in Nagios 3.2.3. [...] The command >> description says that "Custom notifications normally follow the regular >> notification logic in Nagios. [...]" >> I didn't use either the Forced or Broadcast option and the OK status >> notification goes to contacts that have only 'c' (critical) or 'd' (down) for >> their service/host_notification_options and escalation_options. Is this a >> bug? Seems like this should only happen if the Broadcast option is checked. > > FWIW: Nagios suppresses regular OK/RECOVERY notifications unless the > contact in question did get a notification for the preceding non-OK > state. In your case, there *was no* preceding non-OK state, so if the > analogy were taken *that* far, CUSTOM notifications for services in an > OK state would *never* get sent. I don't think you'd want that. ;-) > > CUSTOM notifications carry the current state as additional information, > not as their raison d'?tre - pretty much like FLAPPINGSTART and -STOP > notifications. The reach of FLAPPING* notifications is controlled by > their own notification_option, 'f'. It would certainly be possible to > define a new notification_option for CUSTOM notifications, but unless > you can restrict the semantics of such notifications to something > narrower than "whatever the guy was thinking when he typed the > gobbledygook into the comment field", I fail to see how a contact could > be really sure that such notifications will never be relevant to him. > > Regards, > J. Bern Thanks for the response. I'm still puzzled, thought. If it makes sense to override the regular notification logic for custom notifications, what is the point of having the Broadcast option? Paul Dubuc ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 Jochen.Bern at LINworks.de Mon Aug 1 20:38:45 2011 From: Jochen.Bern at LINworks.de (Jochen Bern) Date: Mon, 01 Aug 2011 20:38:45 +0200 Subject: Bug?: Custom notifications ignore contact notification options In-Reply-To: <4E36EC06.8000702@paul.dubuc.org> References: <4E307C6F.3030806@paul.dubuc.org> <4E34C33B.4010105@LINworks.de> <4E36EC06.8000702@paul.dubuc.org> Message-ID: <4E36F2B5.5040806@LINworks.de> On 08/01/2011 08:10 PM, Paul M. Dubuc wrote: > Thanks for the response. I'm still puzzled, thought. If it makes sense > to override the regular notification logic for custom notifications, > what is the point of having the Broadcast option? To re-quote the doc from your initial request: > "Custom notifications normally follow the regular notification logic in > Nagios. Selecting the Forced option will force the notification to be sent > out, regardless of the time restrictions, whether or not notifications are > enabled, etc. Selecting the Broadcast option causes the notification to be > sent out to all normal (non-escalated) and escalated contacts. These options > allow you to override the normal notification logic if you need to get an > important message out." And if I may paraphrase http://nagios.sourceforge.net/docs/3_0/notifications.html myself: The available filters which control who might have a notification sent to him are: 1. program-wide notification disable switch (not relevant here) 2. host/service-specific notification disable switch 3. downtime or flapping in effect 4. several notification_options 5. several notification_periods 6. first_notification_delay & notification_interval (not relevant here) 7. match of the # of the notification-to-be to the escalation rules 8. PROBLEM/RECOVERY matching (probably not relevant here) According to the docs' wording - I never ran tests or inspected the code yet, mind you -, "Forced" should override 2., 5., and some other unspecified filters :-}, while "Broadcast" should override 7.. The filter whose relevance we've been discussing is 4.. Kind regards, J. Bern -- Jochen Bern, Systemingenieur --- LINworks GmbH Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt PGP (1024D/4096g) FP = D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C27 Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202 Unternehmenssitz Weiterstadt, Gesch?ftsf?hrer Metin Dogan, Oliver Michel ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 From michael.wenig at ww-informatik.de Tue Aug 2 16:07:39 2011 From: michael.wenig at ww-informatik.de (Wenig, Michael (IT/I4Z)) Date: Tue, 2 Aug 2011 16:07:39 +0200 Subject: Check Swap in/out rate instead of percentage free? Message-ID: <632DAB77DEC92645BB9AD18656CF59DE06398854@EXCH03CL60.ww-intern.de> Hi all, We want to know when one of our servers is swapping as a swapping server is a normally dead server :-) Currently we have the "normal" swap checks which generates a warning when more than 5% swap are used and a critical when more than 10% are used. This works ok until one time someone needs a little bit of swap. The swap gets used but never unused (as linux does not remove something as long it is not needed). So we get warnings and criticals while just some parts of swap are used but not "active" (in terms of it is actively read from). I think it would be more sufficient to not monitor how much swap is in use but to check if pages are read from swap in some period of time. Such as warning: if some pages were read out of swap critical: if in all of the last three measurement-periods pages were read I can acces the "absolute" swap out-page count by e.g. cat /proc/vmstat | grep pswpout | cut -d " " -f2 which gives me the number of pages swapped out since the last boot. So I would need to save this to some file and read it back. I searched for a plugin which already does this (or a similar) kind of check but I did not found anything. So now I am wondering: - did I just miss a plugin - do I think completely wrong and my opinion is bullshit? So the questions: - does this kind of check make sense? - is there any plugin which does this already? Regards Michael PS: We are using Nagios on SLES11 and RHEL6 ******************************************************************************* Diese eMail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese eMail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This email may contain confidential and/or privileged information. If you are not the intended recipient (or have received this email in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this email is strictly forbidden. ******************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 up at 3.am Tue Aug 2 19:30:13 2011 From: up at 3.am (up at 3.am) Date: Tue, 2 Aug 2011 13:30:13 -0400 Subject: nrpe, xinetd and LDAP problem Message-ID: <3dc11f6d4ced3ba771c48aee44ad4b0a.squirrel@ssl.pil.net> Hi: I have been trying to track down the fix for this for a while. We have a Nagios server monitoring a few dozen servers. Most of these servers authenticate users against a separate (CentOS Directory Server). We ONLY use LDAP for user/group authentication. It was configured via authconfig and even has a backup LDAP server. Whenever there is a problem with the primary LDAP server, all of the NRPE clients timeout on their services. Note that the "nagios" user and group exists in the local auth files on all these servers...there is no need for NRPE or xinetd to use LDAP: Aug 2 12:03:18 client1 xinetd[32012]: nss_ldap: failed to bind to LDAP server ldap://ldap1.domain.com/: Can't contact LDAP server Aug 2 12:03:18 client1 xinetd[32012]: nss_ldap: reconnected to LDAP server ldap://ldap2.domain.com/ Aug 2 12:03:18 client1 nrpe[32012]: Error: Could not complete SSL handshake. 5 The message then repeats in the log several times and we all get paged (texted) hundreds of times :-( I looked around and found that others have had this issue, but I don't see a fix. Is it an xinetd problem? Should we run nrpe standalone? Here was somebody else having a similar issue (except we don't have a per_source_limit problem): http://www.linuxquestions.org/questions/linux-server-73/nrpe-ldap-and-ssl-787246/ ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 fohnet.co.uk Tue Aug 2 21:36:54 2011 From: noc at fohnet.co.uk (Richard Clark) Date: Tue, 2 Aug 2011 20:36:54 +0100 Subject: Check Swap in/out rate instead of percentage free? In-Reply-To: <632DAB77DEC92645BB9AD18656CF59DE06398854@EXCH03CL60.ww-intern.de> References: <632DAB77DEC92645BB9AD18656CF59DE06398854@EXCH03CL60.ww-intern.de> Message-ID: <-5881390100974300571@unknownmsgid> On 2 Aug 2011, at 15:58, "Wenig, Michael (IT/I4Z)" < michael.wenig at ww-informatik.de> wrote: Hi all, We want to know when one of our servers is swapping as a swapping server is a normally dead server :-) Currently we have the "normal" swap checks which generates a warning when more than 5% swap are used and a critical when more than 10% are used. This works ok until one time someone needs a little bit of swap. The swap gets used but never unused (as linux does not remove something as long it is not needed). So we get warnings and criticals while just some parts of swap are used but not "active" (in terms of it is actively read from). I think it would be more sufficient to not monitor how much swap is in use but to check if pages are read from swap in some period of time. Such as warning: if some pages were read out of swap critical: if in all of the last three measurement-periods pages were read I can acces the "absolute" swap out-page count by e.g. cat /proc/vmstat | grep pswpout | cut -d " " -f2 which gives me the number of pages swapped out since the last boot. So I would need to save this to some file and read it back. I searched for a plugin which already does this (or a similar) kind of check but I did not found anything. So now I am wondering: - did I just miss a plugin - do I think completely wrong and my opinion is bullshit? So the questions: - does this kind of check make sense? - is there any plugin which does this already? Apologies if you're already doing/aware of this: Most Linux distros tend to have a default kernel swappiness setting of between 40-60%. This is fine for a desktop, but for servers I tend to set this to 0 - basically telling the kernel to only use swap if it really has to. another option (slightly hacky imo) is to periodically empty the swap in times where free RAM is plentiful by using swapon/swapoff. -- Richard Clark richard at fohnet.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 up at 3.am Tue Aug 2 22:57:33 2011 From: up at 3.am (up at 3.am) Date: Tue, 2 Aug 2011 16:57:33 -0400 Subject: Check Swap in/out rate instead of percentage free? In-Reply-To: <-5881390100974300571@unknownmsgid> References: <632DAB77DEC92645BB9AD18656CF59DE06398854@EXCH03CL60.ww-intern.de> <-5881390100974300571@unknownmsgid> Message-ID: <61d30e78f77d69131d941668c70eea91.squirrel@ssl.pil.net> > I think it would be more sufficient to not monitor how much swap is in use > but to check if pages are read from swap in some period of time. Such as > > warning: if some pages were read out of swap > critical: if in all of the last three measurement-periods pages were read > > I can acces the "absolute" swap out-page count by e.g. > > cat /proc/vmstat | grep pswpout | cut -d " " -f2 > > which gives me the number of pages swapped out since the last boot. So I > would need to save this to some file and read it back. I am new to the list, so sorry if this is out of order...you should be able to write a plugin using mostly what you have above, without outputting to a file...I think this would do it (replace 100 with the number of pages you want as a threshold): ----- #!/bin/bash PAGES=`grep pswpout /proc/vmstat | cut -d " " -f2` if [ $PAGES -gt 100 ]; then echo "Swapping $PAGES pages ALERT" exit 1 fi echo "Swapping $PAGES pages OK" exit 0 ----- Now if anybody has any clue as to my LDAP/xinetd question, I would be very grateful! :) ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 eagles051387 at gmail.com Wed Aug 3 09:06:33 2011 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Wed, 03 Aug 2011 09:06:33 +0200 Subject: Monitoring throughput for compression and SSL on cisco ace 4710 Message-ID: <4E38F379.9040105@gmail.com> Hey guys I am trying to monitor through put for the above services and device. I was told to use the check_snmp check, but I have no idea what OID I am looking for can anyone point me in the right direction for the OID i should be using? ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 michael.wenig at ww-informatik.de Wed Aug 3 12:49:34 2011 From: michael.wenig at ww-informatik.de (Wenig, Michael (IT/I4Z)) Date: Wed, 3 Aug 2011 12:49:34 +0200 Subject: Check Swap in/out rate instead of percentagefree? In-Reply-To: <-5881390100974300571@unknownmsgid> References: <632DAB77DEC92645BB9AD18656CF59DE06398854@EXCH03CL60.ww-intern.de> <-5881390100974300571@unknownmsgid> Message-ID: <632DAB77DEC92645BB9AD18656CF59DE063E2DEA@EXCH03CL60.ww-intern.de> Hi Richard, thanks for this info - I was not aware of that. Indeed swapiness is set to 60% - I put it on 0% and give it a try... Regards Michael ________________________________ Von: Richard Clark [mailto:noc at fohnet.co.uk] Gesendet: Dienstag, 2. August 2011 21:37 An: Nagios Users List Betreff: Re: [Nagios-users] Check Swap in/out rate instead of percentagefree? On 2 Aug 2011, at 15:58, "Wenig, Michael (IT/I4Z)" wrote: Hi all, We want to know when one of our servers is swapping as a swapping server is a normally dead server :-) Currently we have the "normal" swap checks which generates a warning when more than 5% swap are used and a critical when more than 10% are used. This works ok until one time someone needs a little bit of swap. The swap gets used but never unused (as linux does not remove something as long it is not needed). So we get warnings and criticals while just some parts of swap are used but not "active" (in terms of it is actively read from). I think it would be more sufficient to not monitor how much swap is in use but to check if pages are read from swap in some period of time. Such as warning: if some pages were read out of swap critical: if in all of the last three measurement-periods pages were read I can acces the "absolute" swap out-page count by e.g. cat /proc/vmstat | grep pswpout | cut -d " " -f2 which gives me the number of pages swapped out since the last boot. So I would need to save this to some file and read it back. I searched for a plugin which already does this (or a similar) kind of check but I did not found anything. So now I am wondering: - did I just miss a plugin - do I think completely wrong and my opinion is bullshit? So the questions: - does this kind of check make sense? - is there any plugin which does this already? Apologies if you're already doing/aware of this: Most Linux distros tend to have a default kernel swappiness setting of between 40-60%. This is fine for a desktop, but for servers I tend to set this to 0 - basically telling the kernel to only use swap if it really has to. another option (slightly hacky imo) is to periodically empty the swap in times where free RAM is plentiful by using swapon/swapoff. -- Richard Clark richard at fohnet.co.uk ******************************************************************************* Diese eMail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese eMail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This email may contain confidential and/or privileged information. If you are not the intended recipient (or have received this email in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this email is strictly forbidden. ******************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 BChan at Shawcor.com Wed Aug 3 12:51:39 2011 From: BChan at Shawcor.com (Brian Chan) Date: Wed, 3 Aug 2011 06:51:39 -0400 Subject: AUTO: Chan, Brian is away from the office on Business Travel (Returning 08/06/2011) (returning 06/08/2011) Message-ID: I am out of the office until 06/08/2011. I will respond to your message when I return. If this is a request for support, click here to open an ITRequest--:> mailto:itrequest at shawcor.com Alternatively, all questions can be directed to the Help Desk at 416-744-5557 Brian Chan Note: This is an automated response to your message "Nagios-users Digest, Vol 63, Issue 2" sent on 8/3/2011 6:49:43. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 sl185058 at ncr.com Wed Aug 3 18:58:49 2011 From: sl185058 at ncr.com (Lees, Stewart) Date: Wed, 3 Aug 2011 12:58:49 -0400 Subject: nagios Make Install error on 3.3.1 Message-ID: <58C1450995691B499FF4E7092826DB300B6D6278E1@susday214.corp.ncr.com> Hello First time user of Nagios. Im having the same problem as described below how do I utilise this patch ? Regards Stewart. >We're seeing an error during make install of 3.3.1. >I have checked the install & upgrade docs for 3.3.1, all prerequisites >are already installed. 3.2.3 still installs with no errors. For others with this issue, please see patch below which comes courtesy of Craig Genner. It provides a work-around for the bug in the html directory Makefile. >Hi Andy, >Happy for you to post it as a work around. Glad I could help you get it working. >Thanks diff -u nagios/html/Makefile.in nagios-3.3.1/html/Makefile --- nagios/html/Makefile.in 2011-07-24 18:53:52.000000000 +0100 +++ nagios-3.3.1/html/Makefile 2011-07-26 22:23:35.000000000 +0100 @@ -75,8 +75,7 @@ do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images/logos; done for file in includes/*.*; \ do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes; done - for file in includes/rss/*; \ - do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes/rss; done + find includes/rss/ -maxdepth 1 -type f -exec $(INSTALL) -m 664 $(INSTALL_OPTS) {} $(DESTDIR)$(HTMLDIR)/includes/rss \; for file in includes/rss/extlib/*; \ do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes/rss/extlib; done Regards Andy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 michael.friedrich at univie.ac.at Wed Aug 3 19:14:31 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Wed, 03 Aug 2011 19:14:31 +0200 Subject: nagios Make Install error on 3.3.1 In-Reply-To: <58C1450995691B499FF4E7092826DB300B6D6278E1@susday214.corp.ncr.com> References: <58C1450995691B499FF4E7092826DB300B6D6278E1@susday214.corp.ncr.com> Message-ID: <4E3981F7.6070902@univie.ac.at> Lees, Stewart wrote: > Hello First time user of Nagios. > > Im having the same problem as described below how do I utilise this patch ? download the patched file from here and replace it http://www.nagios-portal.org/wbb/index.php?page=Thread&postID=154526#post154526 that's easier than hacking the makefile yourself. > > Regards > Stewart. > > >We're seeing an error during make install of 3.3.1. > > >I have checked the install& upgrade docs for 3.3.1, all prerequisites > > >are already installed. 3.2.3 still installs with no errors. > > > > For others with this issue, please see patch below which comes courtesy > of Craig Genner. It provides a work-around for the bug in the html > directory Makefile. > > > > >Hi Andy, > > >Happy for you to post it as a work around. Glad I could help you get > it working. > > >Thanks > > > > diff -u nagios/html/Makefile.in nagios-3.3.1/html/Makefile > > --- nagios/html/Makefile.in 2011-07-24 18:53:52.000000000 +0100 > > +++ nagios-3.3.1/html/Makefile 2011-07-26 22:23:35.000000000 +0100 > > @@ -75,8 +75,7 @@ > > do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file > $(DESTDIR)$(HTMLDIR)/images/logos; done > > for file in includes/*.*; \ > > do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file > $(DESTDIR)$(HTMLDIR)/includes; done > > - for file in includes/rss/*; \ > > - do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file > $(DESTDIR)$(HTMLDIR)/includes/rss; done > > + find includes/rss/ -maxdepth 1 -type f -exec $(INSTALL) -m 664 > $(INSTALL_OPTS) {} $(DESTDIR)$(HTMLDIR)/includes/rss \; > > for file in includes/rss/extlib/*; \ > > do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file > $(DESTDIR)$(HTMLDIR)/includes/rss/extlib; done > > > > > > Regards > > > > Andy. > > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos& much more. Register early& save! > http://p.sf.net/sfu/rim-blackberry-1 > > > _______________________________________________ > 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 -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 erekson at digiraticonsulting.com Wed Aug 3 20:01:25 2011 From: erekson at digiraticonsulting.com (Keith Erekson) Date: Wed, 03 Aug 2011 14:01:25 -0400 Subject: wiki spam? Message-ID: <4E398CF5.1040607@digiraticonsulting.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I was looking for something in the wiki, and happened upon this page: http://wiki.nagios.org/index.php/Diet_Coffee_-_How_To_Combine_Green_Tea_And_Weight_Loss Nagios Enterprises is really branching out, eh? - -- Keith Erekson Systems Engineer Digirati Consulting erekson at digiraticonsulting.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk45jPQACgkQNYHf3mzWKbFxlgCfVDG4smXj3RKUe0IIMbxVKTnw j00An09VK52WICT4FnkxYeaMobbVUpDY =4qEC -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 a31modela at hotmail.com Wed Aug 3 20:27:33 2011 From: a31modela at hotmail.com (steve f) Date: Wed, 3 Aug 2011 14:27:33 -0400 Subject: wiki spam? In-Reply-To: <4E398CF5.1040607@digiraticonsulting.com> References: <4E398CF5.1040607@digiraticonsulting.com> Message-ID: hmmmm I COULD stand to lose a few lbs..... you didnt see anything there for Viagra tablets did you ;) > Date: Wed, 3 Aug 2011 14:01:25 -0400 > From: erekson at digiraticonsulting.com > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] wiki spam? > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I was looking for something in the wiki, and happened upon this page: > > http://wiki.nagios.org/index.php/Diet_Coffee_-_How_To_Combine_Green_Tea_And_Weight_Loss > > Nagios Enterprises is really branching out, eh? > > - -- > > Keith Erekson > Systems Engineer > Digirati Consulting > erekson at digiraticonsulting.com > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk45jPQACgkQNYHf3mzWKbFxlgCfVDG4smXj3RKUe0IIMbxVKTnw > j00An09VK52WICT4FnkxYeaMobbVUpDY > =4qEC > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 mark.elsen at gmail.com Wed Aug 3 20:48:34 2011 From: mark.elsen at gmail.com (Mark Elsen) Date: Wed, 3 Aug 2011 20:48:34 +0200 Subject: wiki spam? In-Reply-To: <4E398CF5.1040607@digiraticonsulting.com> References: <4E398CF5.1040607@digiraticonsulting.com> Message-ID: > > I was looking for something in the wiki, and happened upon this page: > > http://wiki.nagios.org/index.php/Diet_Coffee_-_How_To_Combine_Green_Tea_And_Weight_Loss > > Nagios Enterprises is really branching out, eh? > It's probably a bit like, Google ; once you become too rich ... :-) M. ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 mrsbonus1 at yahoo.com Thu Aug 4 02:03:44 2011 From: mrsbonus1 at yahoo.com (Sandra Bonus) Date: Wed, 3 Aug 2011 17:03:44 -0700 (PDT) Subject: What the best way to monitor Windows? Message-ID: <1312416224.49189.YahooMailNeo@web35503.mail.mud.yahoo.com> I've got a Nagios installation all up and running and working just fine. Now I have to start monitoring some Windows Servers. There are so many different plugins. What are the recommendations for doing this? We have some Win Server 2003, 2008 as well as Exchange and SQL. Thanks ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 Stuart.Jones at health.wa.gov.au Thu Aug 4 01:49:55 2011 From: Stuart.Jones at health.wa.gov.au (Jones, Stuart) Date: Thu, 4 Aug 2011 07:49:55 +0800 Subject: Monitoring throughput for compression and SSL oncisco ace 4710 In-Reply-To: <4E38F379.9040105@gmail.com> References: <4E38F379.9040105@gmail.com> Message-ID: I'm using the subset from: 1.3.6.1.4.1.9.9.480 Try it and let me know if you need further assistance. -----Original Message----- From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] Sent: Wednesday, 3 August 2011 3:07 PM To: Nagios Users List Subject: [Nagios-users] Monitoring throughput for compression and SSL oncisco ace 4710 Hey guys I am trying to monitor through put for the above services and device. I was told to use the check_snmp check, but I have no idea what OID I am looking for can anyone point me in the right direction for the OID i should be using? ------------------------------------------------------------------------ ------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 matlnx1983 at gmail.com Thu Aug 4 02:56:59 2011 From: matlnx1983 at gmail.com (matlnx1983 at gmail.com) Date: Wed, 3 Aug 2011 21:56:59 -0300 Subject: Install Error with fresh install of Nagios (nagios.cfg - Line 465) Message-ID: <003801cc5241$6c4254a0$44c6fde0$@com> Hit o all!,my name is Matias and my english is not very well (i hope you can understand me). I have a new installation of nagios in a Debian 6. I?m install nagios from source (tar.gz) and I have the same error (I post it at the bottom). I?m google it, but I cannot find anything I tried to reinstall the Debian and reinstall the nagios, and dosen?t work. I?m install nagios from apt-get command, and the same error appears. The error says, that I cannot a directory, but when I created, the problem persist. I think is a problem with permissions. The line in the nagios file is: check_result_path=/usr/local/nagios/var/spool/checkresults Error: ####################################################################### Nagios Core 3.3.1 Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 07-25-2011 License: GPL Website: http://www.nagios.org Reading configuration data... Error in configuration file '/usr/local/nagios/etc/nagios.cfg' - Line 465 (Check result path is not a valid directory) Error processing main config file! ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. #################################################### Thanks for your help to all of you Matias (from Buenos Aires, Argentina) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 frnkblk at iname.com Thu Aug 4 04:00:01 2011 From: frnkblk at iname.com (Frank Bulk) Date: Wed, 3 Aug 2011 21:00:01 -0500 Subject: Monitoring throughput for compression and SSL on cisco ace 4710 In-Reply-To: <4E38F379.9040105@gmail.com> References: <4E38F379.9040105@gmail.com> Message-ID: <005f01cc524a$384f7250$a8ee56f0$@iname.com> I would suggest looking at this MIB ftp://ftp.cisco.com/pub/mibs/v2/CISCO-L4L7MODULE-RESOURCE-LIMIT-MIB.my with a MIB browser. Frank -----Original Message----- From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] Sent: Wednesday, August 03, 2011 2:07 AM To: Nagios Users List Subject: [Nagios-users] Monitoring throughput for compression and SSL on cisco ace 4710 Hey guys I am trying to monitor through put for the above services and device. I was told to use the check_snmp check, but I have no idea what OID I am looking for can anyone point me in the right direction for the OID i should be using? ---------------------------------------------------------------------------- -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 msarro at gmail.com Thu Aug 4 05:25:15 2011 From: msarro at gmail.com (Matty Sarro) Date: Wed, 3 Aug 2011 23:25:15 -0400 Subject: Monitoring throughput for compression and SSL on cisco ace 4710 Message-ID: All snmp agents should support "mib-2". Look at that with a min browser. Here is some info. http://docstore.mik.ua/orelly/networking_2ndEd/snmp/ch02_05.htm >From there you should be able to check darn near anything for the system you want so long as an agent is running on the host you're polling. On Aug 3, 2011 10:06 PM, "Frank Bulk" wrote: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 msarro at gmail.com Thu Aug 4 05:26:04 2011 From: msarro at gmail.com (Matty Sarro) Date: Wed, 3 Aug 2011 23:26:04 -0400 Subject: Monitoring throughput for compression and SSL on cisco ace 4710 In-Reply-To: <4E38F379.9040105@gmail.com> References: <4E38F379.9040105@gmail.com> Message-ID: Disregard that last email, misread the question. Sorry! On Aug 3, 2011 3:13 AM, "Jonathan Aquilina" wrote: > Hey guys I am trying to monitor through put for the above services and > device. > > I was told to use the check_snmp check, but I have no idea what OID I am > looking for can anyone point me in the right direction for the OID i > should be using? > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 mark.elsen at gmail.com Thu Aug 4 07:06:36 2011 From: mark.elsen at gmail.com (Mark Elsen) Date: Thu, 4 Aug 2011 07:06:36 +0200 Subject: What the best way to monitor Windows? In-Reply-To: <1312416224.49189.YahooMailNeo@web35503.mail.mud.yahoo.com> References: <1312416224.49189.YahooMailNeo@web35503.mail.mud.yahoo.com> Message-ID: > I've got a Nagios installation all up and running and working just fine. > Now I have to start monitoring some Windows Servers. > > There are so many different plugins. What are the recommendations for doing this? > > We have some Win Server 2003, 2008 as well as Exchange and SQL. > http://www.edcint.co.nz/checkwmiplus/ (The site heading currently , looks a bit garbaged, ignore this). M. ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 eagles051387 at gmail.com Thu Aug 4 08:42:50 2011 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Thu, 04 Aug 2011 08:42:50 +0200 Subject: Monitoring throughput for compression and SSL oncisco ace 4710 In-Reply-To: References: Message-ID: <4E3A3F6A.5080706@gmail.com> Does the OID work for both compression and SSL? On 04/08/2011 01:49, Jones, Stuart wrote: > I'm using the subset from: > > 1.3.6.1.4.1.9.9.480 > > Try it and let me know if you need further assistance. > > -----Original Message----- > From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] > Sent: Wednesday, 3 August 2011 3:07 PM > To: Nagios Users List > Subject: [Nagios-users] Monitoring throughput for compression and SSL > oncisco ace 4710 > > Hey guys I am trying to monitor through put for the above services and > device. > > I was told to use the check_snmp check, but I have no idea what OID I am > > looking for can anyone point me in the right direction for the OID i > should be using? > > ------------------------------------------------------------------------ > ------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos& much more. Register early& save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos& much more. Register early& save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 mail at catsnest.co.uk Thu Aug 4 10:08:39 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Thu, 4 Aug 2011 09:08:39 +0100 Subject: Install Error with fresh install of Nagios (nagios.cfg - Line 465) In-Reply-To: <003801cc5241$6c4254a0$44c6fde0$@com> References: <003801cc5241$6c4254a0$44c6fde0$@com> Message-ID: On Thu, Aug 4, 2011 at 1:56 AM, wrote: > check_result_path=/usr/local/nagios/var/spool/checkresults Make sure the directory exists... Verify that the Nagios user is the owner of that directory (I would just do a chown -R nagios:nagios /usr/local/nagios ) Verify the correct permissions are set for that directory (Maybe chmod 744 /usr/local/nagios/var/spool/checkresults ) Ritchie -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 maillist at ricafrente.com Thu Aug 4 09:58:43 2011 From: maillist at ricafrente.com (Rai Ricafrente) Date: Thu, 4 Aug 2011 15:58:43 +0800 Subject: What the best way to monitor Windows? In-Reply-To: <1312416224.49189.YahooMailNeo@web35503.mail.mud.yahoo.com> References: <1312416224.49189.YahooMailNeo@web35503.mail.mud.yahoo.com> Message-ID: > > I've got a Nagios installation all up and running and working just fine. > Now I have to start monitoring some Windows Servers. > > There are so many different plugins. What are the recommendations for doing > this? > > We have some Win Server 2003, 2008 as well as Exchange and SQL. > > Thanks > > NSClient++ worked fine for us. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 jim at jimavery.me.uk Thu Aug 4 10:31:29 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 4 Aug 2011 09:31:29 +0100 Subject: Install Error with fresh install of Nagios (nagios.cfg - Line 465) In-Reply-To: <003801cc5241$6c4254a0$44c6fde0$@com> References: <003801cc5241$6c4254a0$44c6fde0$@com> Message-ID: On 4 August 2011 01:56, wrote: ... > The line in the nagios file is: > > check_result_path=/usr/local/nagios/var/spool/checkresults ... > Error: > Error in configuration file '/usr/local/nagios/etc/nagios.cfg' - Line 465 > (Check result path is not a valid directory) If it's any help to you, the permissions and ownership of that directory on my system (which was installed from source tarballs) is: drwxrwxr-x 2 nagios nagios 507904 2011-08-04 09:29 checkresults ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 Navdeep.Sidhu at tatatel.co.in Thu Aug 4 11:10:12 2011 From: Navdeep.Sidhu at tatatel.co.in (Navdeep Sidhu) Date: Thu, 4 Aug 2011 14:40:12 +0530 Subject: RRDTool exits with errors -> ERROR: can't make a graph In-Reply-To: References: Message-ID: <9169798C154CD846B738065B6A75DABF015D5F93@PB-CHD-MBX02> Hi Mathew Thanks for your response. I have also deleted the existing RRD files so that fresh data can be captured through check commands but error is still the same. However while running check commands manually, I'm getting required output but not getting the content in graph. Any help would be greatly appreciated. Regards Navdeep Sidhu -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: Monday, August 01, 2011 7:02 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 63, Issue 1 Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: RRDTool exits with errors -> ERROR: can't make a graph without contents (Mathew Walker) 2. Re: Event Handler Question (Mathew Walker) 3. windows.cfg (Craig Niedringhaus) 4. Re: windows.cfg (Jonathan Angliss) 5. AUTO: Eliot Picken is out of the office (returning 01/08/2011) (Eliot.Picken at wenaas.co.uk) 6. Re: windows.cfg (Craig Niedringhaus) 7. about:nagios.cmd get multi external command (k Dylan') 8. check_http + headers (af.at.work at gmail.com) 9. Re: check_http + headers (Gary Every) 10. Re: check_http + headers (af.at.work at gmail.com) 11. Re: check_http + headers (Ton Voon) 12. Re: check_http + headers (af.at.work at gmail.com) 13. Re: check_http + headers (af.at.work at gmail.com) 14. Re: check http port 80 warning on a site that actually exists. (Frank Bulk) 15. Determine previous service state in notification script (Jonathan Thorpe) 16. Re: Determine previous service state in notification script (Joseph L. Casale) 17. Re: Determine previous service state in notification script (Jonathan Thorpe) ---------------------------------------------------------------------- Message: 1 Date: Thu, 28 Jul 2011 08:40:42 -0400 From: Mathew Walker Subject: Re: [Nagios-users] RRDTool exits with errors -> ERROR: can't make a graph without contents To: Message-ID: Content-Type: text/plain; charset="windows-1252" I recently ran into a similar testing Nagios/NagVis/PnP4Nagios. To throw it out there... you are using an older version of PNP as they're beyond 0.6 now. I was trying to add a new service and testing. I had been tweaking the check's command line options to find the write output I wanted. Once the check worked how I wanted, I noticed I was getting an error on the graph. Since this was a new check, I deleted the existing RRD files that had been created and let new ones get created. That corrected the issue. I assume the RRD file was initially created with incorrect parameters as I was changing the check during my initial testing. -- Mat W. Date: Thu, 28 Jul 2011 17:18:58 +0530 From: Navdeep.Sidhu at tatatel.co.in To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RRDTool exits with errors -> ERROR: can't make a graph without contents Hi I'm using Nagios 2.8 with RRD tool version 1.0.50 & PNP version 0.3installed. Nagios is running on RHEL-4. I'm facing an issue in RRD Tool. Recently I have configured this toolfor Cisco devices (under serviceextinfo.cfg file) so that memory & CPUutilization should be available in graphs however I'm getting followingerror when trying to view the graphs. RRDTool exits with errors -> ERROR: can't make a graph without contents. This tool is working fine with Intel platform servers & displaying thegraphs however not working in Cisco devices. I?m pasting excerpt of my host configuration & serviceextinfo file to provide clear picture. In fact, in Nagios web console, I?m able to see Memory & CPU utilization of Cisco devices however unable to view the graphs. I?m using check_snmp_mem.pl plugin to capture Memory utilization of Cisco devices. Let me know if any other info required from me. Excerpts of host Configuration File define command{ command_name process-service-perfdata command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl } Excerpts of Serviceextinfo File define serviceextinfo{ host_name L3-Switch service_description MEM action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$ } I would really appreciate your help in this regard. RegardsNavdeep ====================================== i-choose online store at www.tataindicom.com Your Comfort. Your Convenience. Your Choice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. TATA TELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interferences. ------------------------------------------------------------------------ ------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ 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... ------------------------------ Message: 2 Date: Thu, 28 Jul 2011 08:51:15 -0400 From: Mathew Walker Subject: Re: [Nagios-users] Event Handler Question To: Nagios Users Message-ID: Content-Type: text/plain; charset="iso-8859-1" May or may not be related... When testing new plugins and scripts, make sure you're testing them as the "nagios" user the scripts will be running as when integrated w/ Nagios. I documented what I did for a previous employer awhile back here: http://www.techadre.com/content/nagios-event-handler-restarting-service Perhaps something in there may be useful. -- Mat W. > From: Marcel.Galke at trans4mation.de > To: nagios-users at lists.sourceforge.net > Date: Wed, 27 Jul 2011 11:46:18 +0200 > Subject: Re: [Nagios-users] Event Handler Question > > Hey Chris, > > have you taken a look into the Docu and verified that the used macros are available in your context? Have you tried the debug option? > > Marcel > > > >From: Chris Zimmerman [mailto:czimmer at wczimmerman.dyndns.org] > >Sent: Wednesday, July 27, 2011 12:27 AM > >To: nagios-users at lists.sourceforge.net > >Subject: [Nagios-users] Event Handler Question > > > >I am having an issue with a very basic event handler on Nagios 3.2.3. I have the event handler defined with 3 macros: $HOSTSTATE$ $HOSTSTATETYPE$ $HOSTADDRESS$ all passed to a wrapper shell script that takes each macro as $1, $2, and $3. In the >wrapper script I added some echo statements as part of my troubleshooting to figure out why my script wasn't working. If I run the script manually and pass the arguments as I expect, the script runs fine. When Nagios executes it, as verified in the log, >nothing is happening and it is because the first 2 arguments are not being passed to the script. Interestingly, the third one is passed to the script. > > > >So, what could be the issue with the command definition not passing the first 2 arguments? > > > >Thanks, > >Chris > > ------------------------------------------------------------------------ ------ > Got Input? Slashdot Needs You. > Take our quick survey online. Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > _______________________________________________ > 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... ------------------------------ Message: 3 Date: Thu, 28 Jul 2011 18:22:19 -0500 From: "Craig Niedringhaus" Subject: [Nagios-users] windows.cfg To: Message-ID: <029101cc4d7d$32d36fb0$987a4f10$@milwaukeenet.net> Content-Type: text/plain; charset="us-ascii" Hi I think I have a corrupt windows.cfg When I enable the windows.cfg in nagios.cfg Nagios will kick back an error when I try to restart it. Any suggestions or is there a clean windows.cfg I could try? Thanks -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 4 Date: Thu, 28 Jul 2011 18:40:03 -0500 From: Jonathan Angliss Subject: Re: [Nagios-users] windows.cfg To: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 07/28/11 18:22, Craig Niedringhaus wrote: > Hi > > I think I have a corrupt windows.cfg When I enable the windows.cfg in > nagios.cfg Nagios will kick back an error when I try to restart it. > > Any suggestions or is there a clean windows.cfg I could try? What is the error you're getting? What happens when you tell nagios to validate the config? nagios -v /path/to/nagios.cfg The file windows.cfg is a conventional name to hint there might be windows based computers in there. However that's for you, not Nagios. Nagios reads them all, and processes them afterwards. There is likely an error, maybe a missing reference, so full details on the error is important. -- Jonathan Angliss ------------------------------ Message: 5 Date: Fri, 29 Jul 2011 00:39:46 +0100 From: Eliot.Picken at wenaas.co.uk Subject: [Nagios-users] AUTO: Eliot Picken is out of the office (returning 01/08/2011) To: Nagios Users List Message-ID: Content-Type: text/plain; charset=US-ASCII I am out of the office until 01/08/2011. I am currently out of the office, and your email has not been forwarded. Note: This is an automated response to your message "[Nagios-users] windows.cfg" sent on 7/29/2011 12:22:19 AM. This is the only notification you will receive while this person is away. ------------------------------ Message: 6 Date: Thu, 28 Jul 2011 21:41:47 -0500 From: "Craig Niedringhaus" Subject: Re: [Nagios-users] windows.cfg To: "'Nagios Users List'" Message-ID: <02a801cc4d99$10a49ba0$31edd2e0$@milwaukeenet.net> Content-Type: text/plain; charset="us-ascii" It did find an error, could not expand host group on line 139. Checking that now Thanks! -----Original Message----- From: Jonathan Angliss [mailto:jon at netdork.net] Sent: Thursday, July 28, 2011 6:40 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] windows.cfg On 07/28/11 18:22, Craig Niedringhaus wrote: > Hi > > I think I have a corrupt windows.cfg When I enable the windows.cfg in > nagios.cfg Nagios will kick back an error when I try to restart it. > > Any suggestions or is there a clean windows.cfg I could try? What is the error you're getting? What happens when you tell nagios to validate the config? nagios -v /path/to/nagios.cfg The file windows.cfg is a conventional name to hint there might be windows based computers in there. However that's for you, not Nagios. Nagios reads them all, and processes them afterwards. There is likely an error, maybe a missing reference, so full details on the error is important. -- Jonathan Angliss ------------------------------------------------------------------------ ---- -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ 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 ------------------------------ Message: 7 Date: Fri, 29 Jul 2011 17:31:32 +0800 From: "k Dylan'" Subject: [Nagios-users] about:nagios.cmd get multi external command To: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset="utf-8" I have a problem about file: nagios.cmd.I wanna write mutil external command to nagios.cmd at the same time.But nagios will report problem to me.And then i put sleep(1) within write every externl command to nagios.cmd;That will be OK.But i think here will be better idea to slove this problem. Does anybody has better idea to solve this problem? -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 8 Date: Fri, 29 Jul 2011 09:35:32 -0400 From: af.at.work at gmail.com Subject: [Nagios-users] check_http + headers To: Nagios Users List Message-ID: Content-Type: text/plain; charset=ISO-8859-1 With cURL, I can successfully log into the website I ultimately want have Nagios test by passing --cookies. Something like this: curl --cookie "user=4reqrerqwr;userlogin=123adsfjlk324" http://mysite.com/home/index.aspx -v | grep Welcome I know it is successful because, 1, I can visually see the rendered code and 2, the grep search for Welcome would only be seen if the authentication was successful. I am trying to mimic this in Nagios with check_http like so: ./check_http -H mysite.com -u http://mysite.com/home/index.aspx -f follow -s Welcome -k 'Cookie: user=4reqrerqwr;userlogin=123adsfjlk324' -v One big difference I see is that in cURL the cookie is set on 1 line but the verbose response from check_http shows the cookie on two lines. Cookie: user=4reqrerqwr;userlogin=123adsfjlk324 vs Cookie: user=4reqrerqwr userlogin=123adsfjlk324 I am open to suggestions and of course alternatives. I have checked out WebInject but this seems to be SO close I hate to drop it. Lastly, I have tried check_curl, and extended it to support cookies. This DOES work but I am getting (null) on the responses and the grep never causes Nagios to fail regardless of a valid result being returned. ------------------------------ Message: 9 Date: Fri, 29 Jul 2011 07:03:45 -0700 From: Gary Every Subject: Re: [Nagios-users] check_http + headers To: Nagios Users List Message-ID: Content-Type: text/plain; charset="iso-8859-1" Try using something besides a ; to separate the user and userlogin or better yet encapsulate them in quotes??? 'Cookie: "user=4reqrerqwr;userlogin=123adsfjlk324"' On Fri, Jul 29, 2011 at 6:35 AM, wrote: > With cURL, I can successfully log into the website I ultimately want > have Nagios test by passing --cookies. > > Something like this: curl --cookie > "user=4reqrerqwr;userlogin=123adsfjlk324" > http://mysite.com/home/index.aspx -v | grep Welcome > > I know it is successful because, 1, I can visually see the rendered > code and 2, the grep search for Welcome would only be seen if the > authentication was successful. > > I am trying to mimic this in Nagios with check_http like so: > > ./check_http -H mysite.com -u http://mysite.com/home/index.aspx -f > follow -s Welcome -k 'Cookie: user=4reqrerqwr;userlogin=123adsfjlk324' > -v > > One big difference I see is that in cURL the cookie is set on 1 line > but the verbose response from check_http shows the cookie on two > lines. > > Cookie: user=4reqrerqwr;userlogin=123adsfjlk324 vs > > Cookie: user=4reqrerqwr > userlogin=123adsfjlk324 > > I am open to suggestions and of course alternatives. I have checked > out WebInject but this seems to be SO close I hate to drop it. > > Lastly, I have tried check_curl, and extended it to support cookies. > This DOES work but I am getting (null) on the responses and the grep > never causes Nagios to fail regardless of a valid result being > returned. > > > ------------------------------------------------------------------------ ------ > Got Input? Slashdot Needs You. > Take our quick survey online. Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > _______________________________________________ > 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 > -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 10 Date: Fri, 29 Jul 2011 10:14:50 -0400 From: af.at.work at gmail.com Subject: Re: [Nagios-users] check_http + headers To: Nagios Users List Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Wrapping in quotes still made pushed the second value to another line. Cookie: "AwarenessNETUserLogin_8800=04dDHmcJjn2vfcvP97i+z9yBGic0y4BIhNfDo8wN1fE= username=admin" Can the ; be escaped? I can't pass anything else. On Fri, Jul 29, 2011 at 10:03 AM, Gary Every wrote: > Try using something besides ?a ; to separate the user and userlogin or > better yet encapsulate them in quotes??? > ?'Cookie: "user=4reqrerqwr;userlogin=123adsfjlk324"' > > On Fri, Jul 29, 2011 at 6:35 AM, wrote: >> >> With cURL, I can successfully log into the website I ultimately want >> have Nagios test by passing --cookies. >> >> Something like this: curl --cookie >> "user=4reqrerqwr;userlogin=123adsfjlk324" >> http://mysite.com/home/index.aspx -v | grep Welcome >> >> I know it is successful because, 1, I can visually see the rendered >> code and 2, the grep search for Welcome would only be seen if the >> authentication was successful. >> >> I am trying to mimic this in Nagios with check_http like so: >> >> ./check_http -H mysite.com -u http://mysite.com/home/index.aspx -f >> follow -s Welcome -k 'Cookie: user=4reqrerqwr;userlogin=123adsfjlk324' >> -v >> >> One big difference I see is that in cURL the cookie is set on 1 line >> but the verbose response from check_http shows the cookie on two >> lines. >> >> Cookie: user=4reqrerqwr;userlogin=123adsfjlk324 vs >> >> Cookie: user=4reqrerqwr >> userlogin=123adsfjlk324 >> >> I am open to suggestions and of course alternatives. I have checked >> out WebInject but this seems to be SO close I hate to drop it. >> >> Lastly, I have tried check_curl, and extended it to support cookies. >> This DOES work but I am getting (null) on the responses and the grep >> never causes Nagios to fail regardless of a valid result being >> returned. >> >> >> ------------------------------------------------------------------------ ------ >> Got Input? ? Slashdot Needs You. >> Take our quick survey online. ?Come on, we don't ask for help often. >> Plus, you'll get a chance to win $100 to spend on ThinkGeek. >> http://p.sf.net/sfu/slashdot-survey >> _______________________________________________ >> 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 > > > > -- > Gary Every > "Pay it Forward!" > > > ------------------------------------------------------------------------ ------ > Got Input? ? Slashdot Needs You. > Take our quick survey online. ?Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > _______________________________________________ > 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 > ------------------------------ Message: 11 Date: Fri, 29 Jul 2011 15:49:20 +0100 From: Ton Voon Subject: Re: [Nagios-users] check_http + headers To: Nagios Users List Message-ID: <76369EA1-6D5E-41BA-BBCD-A151497A9AFE at gmail.com> Content-Type: text/plain; charset=us-ascii On 29 Jul 2011, at 14:35, af.at.work at gmail.com wrote: > I am trying to mimic this in Nagios with check_http like so: > > ./check_http -H mysite.com -u http://mysite.com/home/index.aspx -f > follow -s Welcome -k 'Cookie: user=4reqrerqwr;userlogin=123adsfjlk324' > -v You should use multiple -k to add more headers. Ton ------------------------------ Message: 12 Date: Fri, 29 Jul 2011 10:53:00 -0400 From: af.at.work at gmail.com Subject: Re: [Nagios-users] check_http + headers To: Nagios Users List Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Per the Nagios doc, I also tried putting the ; in a $USERn$ variable & passed that in my check but it still drops the second cookie value to another line. On Fri, Jul 29, 2011 at 10:14 AM, wrote: > Wrapping in quotes still made pushed the second value to another line. > Cookie: "AwarenessNETUserLogin_8800=04dDHmcJjn2vfcvP97i+z9yBGic0y4BIhNfDo8wN1fE= > username=admin" > > Can the ; be escaped? I can't pass anything else. > > On Fri, Jul 29, 2011 at 10:03 AM, Gary Every wrote: >> Try using something besides ?a ; to separate the user and userlogin or >> better yet encapsulate them in quotes??? >> ?'Cookie: "user=4reqrerqwr;userlogin=123adsfjlk324"' >> >> On Fri, Jul 29, 2011 at 6:35 AM, wrote: >>> >>> With cURL, I can successfully log into the website I ultimately want >>> have Nagios test by passing --cookies. >>> >>> Something like this: curl --cookie >>> "user=4reqrerqwr;userlogin=123adsfjlk324" >>> http://mysite.com/home/index.aspx -v | grep Welcome >>> >>> I know it is successful because, 1, I can visually see the rendered >>> code and 2, the grep search for Welcome would only be seen if the >>> authentication was successful. >>> >>> I am trying to mimic this in Nagios with check_http like so: >>> >>> ./check_http -H mysite.com -u http://mysite.com/home/index.aspx -f >>> follow -s Welcome -k 'Cookie: user=4reqrerqwr;userlogin=123adsfjlk324' >>> -v >>> >>> One big difference I see is that in cURL the cookie is set on 1 line >>> but the verbose response from check_http shows the cookie on two >>> lines. >>> >>> Cookie: user=4reqrerqwr;userlogin=123adsfjlk324 vs >>> >>> Cookie: user=4reqrerqwr >>> userlogin=123adsfjlk324 >>> >>> I am open to suggestions and of course alternatives. I have checked >>> out WebInject but this seems to be SO close I hate to drop it. >>> >>> Lastly, I have tried check_curl, and extended it to support cookies. >>> This DOES work but I am getting (null) on the responses and the grep >>> never causes Nagios to fail regardless of a valid result being >>> returned. >>> >>> >>> ------------------------------------------------------------------------ ------ >>> Got Input? ? Slashdot Needs You. >>> Take our quick survey online. ?Come on, we don't ask for help often. >>> Plus, you'll get a chance to win $100 to spend on ThinkGeek. >>> http://p.sf.net/sfu/slashdot-survey >>> _______________________________________________ >>> 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 >> >> >> >> -- >> Gary Every >> "Pay it Forward!" >> >> >> ------------------------------------------------------------------------ ------ >> Got Input? ? Slashdot Needs You. >> Take our quick survey online. ?Come on, we don't ask for help often. >> Plus, you'll get a chance to win $100 to spend on ThinkGeek. >> http://p.sf.net/sfu/slashdot-survey >> _______________________________________________ >> 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 >> > ------------------------------ Message: 13 Date: Fri, 29 Jul 2011 11:35:18 -0400 From: af.at.work at gmail.com Subject: Re: [Nagios-users] check_http + headers To: Nagios Users List Message-ID: Content-Type: text/plain; charset=ISO-8859-1 I tried multiple -k parameters to add more headers with the same result. This is the output from Nagios with a 400 Bad Request status. I assume that is because the cookie is effectively broken. GET http://mywebsite.com/home.aspx HTTP/1.1 User-Agent: check_http/v1.4.15 (nagios-plugins 1.4.15) Connection: close Host: mywebsite.com Cookie: user=4reqrerqwr userlogin=123adsfjlk324 cURL via the CLI is almost identical, but the Cookie: is kept on one line. GET http://mywebsite.com/home.aspx HTTP/1.1 Connection: close Host: mywebsite.com Cookie: user=4reqrerqwr;userlogin=123adsfjlk324 On Fri, Jul 29, 2011 at 10:49 AM, Ton Voon wrote: > > On 29 Jul 2011, at 14:35, af.at.work at gmail.com wrote: > >> I am trying to mimic this in Nagios with check_http like so: >> >> ./check_http -H mysite.com -u http://mysite.com/home/index.aspx -f >> follow -s Welcome -k 'Cookie: user=4reqrerqwr;userlogin=123adsfjlk324' >> -v > > You should use multiple -k to add more headers. > > Ton > > > ------------------------------------------------------------------------ ------ > Got Input? ? Slashdot Needs You. > Take our quick survey online. ?Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > _______________________________________________ > 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 > ------------------------------ Message: 14 Date: Sat, 30 Jul 2011 20:19:17 -0500 From: "Frank Bulk" Subject: Re: [Nagios-users] check http port 80 warning on a site that actually exists. To: "Nagios Users List" Message-ID: <005c01cc4f1f$ddfd5790$99f806b0$@iname.com> Content-Type: text/plain; charset="us-ascii" Can you share the URL? Frank -----Original Message----- From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] Sent: Monday, July 25, 2011 7:18 AM To: Nagios Users List Subject: [Nagios-users] check http port 80 warning on a site that actually exists. I am workign with a site which i have being monitored by nagios, and for some reason when check_http runs it gets a 404, but if you go to the domain the page exists and the site exists. Would this be a false positive, and if so how can i fix it. Also another interesting matter is that when i try and run the script to check http from command line it times out even after increasing the time out timefrom the default 10 seconds to 20 for instance. Any ideas would be greatly appreciated. ------------------------------------------------------------------------ ---- -- Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ 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 ------------------------------ Message: 15 Date: Sun, 31 Jul 2011 23:34:29 +0000 From: Jonathan Thorpe Subject: [Nagios-users] Determine previous service state in notification script To: "nagios-users at lists.sourceforge.net" Message-ID: <98518DB27649AF4EAFB2E355F71E605059AA5F1B at ISRV-EXCH-1.conexim.local> Content-Type: text/plain; charset="us-ascii" Hi All, I run a Nagios 2.6 installation and have a custom notification script for sending out SMSes. A common complaint I have from people on-call is the fact they receive warnings for servers that reach warning level for storage. What I'd like to do is customise my notification script so that it only sends storage warnings (and their accompanying recoveries) as SMSes during business hours only. Effectively, I'd like it to do the following (only for services of type "STORAGE"): OK -> WARNING: No Alert WARNING -> OK: No Alert WARNING -> CRITICAL: Alert CRITICAL -> WARNING: Alert OK -> CRITICAL: Alert CRITICAL -> OK: Alert I have no problem implementing this functionality, provided I can work out what the previous state is. Is there a way through the Nagios API that would allow me to query what the previous state was before the current level, or would I be better off tracking this through the notification script? Thanks, Jonathan -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 16 Date: Mon, 1 Aug 2011 00:24:12 +0000 From: "Joseph L. Casale" Subject: Re: [Nagios-users] Determine previous service state in notification script To: 'Nagios Users List' Message-ID: Content-Type: text/plain; charset="us-ascii" >What I'd like to do is customise my notification script so that it only sends storage >warnings (and their accompanying recoveries) as SMSes during business hours only. How comes you don't simply make a service template for these checks, or simply add the notification particulars to the storage based services? My guess is a one time tweak of the service def to a new template might allow you to solve this and adjust easily in the future. jlc ------------------------------ Message: 17 Date: Mon, 1 Aug 2011 01:32:02 +0000 From: Jonathan Thorpe Subject: Re: [Nagios-users] Determine previous service state in notification script To: "nagios-users at lists.sourceforge.net" Message-ID: <98518DB27649AF4EAFB2E355F71E605059AA6126 at ISRV-EXCH-1.conexim.local> Content-Type: text/plain; charset="us-ascii" Hi Joseph, Thanks for the reply. This would make sense, however I still want to make sure we get email notifications when warnings occur. Unless there's a way we can do this with a services template as well? Thanks, Jonathan >What I'd like to do is customise my notification script so that it only sends storage >warnings (and their accompanying recoveries) as SMSes during business hours only. How comes you don't simply make a service template for these checks, or simply add the notification particulars to the storage based services? My guess is a one time tweak of the service def to a new template might allow you to solve this and adjust easily in the future. jlc ------------------------------ ------------------------------------------------------------------------ ------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest, Vol 63, Issue 1 ******************************************* ====================================== i-choose online store at www.tataindicom.com Your Comfort.Your Convenience.YourChoice. ====================================== DISCLAIMER: The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change.TATATELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor tha t this communication is free of viruses, interceptions or interference. ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 Aug 4 11:57:02 2011 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Thu, 4 Aug 2011 09:57:02 +0000 Subject: What the best way to monitor Windows? In-Reply-To: References: <1312416224.49189.YahooMailNeo@web35503.mail.mud.yahoo.com>, Message-ID: <37BEF1D8-2514-40A5-BC56-AECA667895ED@hboe.org> I second NSClient++, easy to install on the hosts, no restart necessary. Here's a tip, once you have one working, copy the client.ini file to your install point and drop it in the appropriate folder on the new client before you start the service. I can send examples of our different checks if you need them. Marty Sent from my iPad On Aug 4, 2011, at 4:30, "Rai Ricafrente" > wrote: I've got a Nagios installation all up and running and working just fine. Now I have to start monitoring some Windows Servers. There are so many different plugins. What are the recommendations for doing this? We have some Win Server 2003, 2008 as well as Exchange and SQL. Thanks NSClient++ worked fine for us. ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 rosenski at wave-computer.de Thu Aug 4 12:45:39 2011 From: rosenski at wave-computer.de (Axel Rosenski) Date: Thu, 04 Aug 2011 12:45:39 +0200 Subject: What the best way to monitor Windows? In-Reply-To: <37BEF1D8-2514-40A5-BC56-AECA667895ED@hboe.org> References: <1312416224.49189.YahooMailNeo@web35503.mail.mud.yahoo.com> <37BEF1D8-2514-40A5-BC56-AECA667895ED@hboe.org> Message-ID: <1729950.9EA8xZZ9Gs@lxrosenski> Am Donnerstag, 04. Aug. 11, 09:57:02 schrieb Martin Hugo: > I second NSClient++, easy to install on the hosts, no restart necessary. > Here's a tip, once you have one working, copy the client.ini file to your > install point and drop it in the appropriate folder on the new client > before you start the service. I second NSClient++, too. We use NRPE checks to monitor Windows server. For the most common checks we don't even need to modify nsclient.ini Regards, Axel -- Axel Rosenski - Administration - ______________________________ Wave Computersysteme GmbH Philipp-Reis-Str. 1-3 / 9 35440 Linden Gesch?ftsf?hrer: Carsten Kellmann Registergericht Gie?en HRB 1823 Tel.: +49 (0)6403 / 9050 8317 Fax: +49 (0)6403 / 9050 5089 mailto:rosenski at wave-computer.de http://www.wave-computer.de ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 it.toonz at gmail.com Thu Aug 4 13:08:43 2011 From: it.toonz at gmail.com (Toonz IT) Date: Thu, 4 Aug 2011 16:38:43 +0530 Subject: What the best way to monitor Windows? In-Reply-To: References: <1312416224.49189.YahooMailNeo@web35503.mail.mud.yahoo.com> Message-ID: NSClient++ works fine us too.... with custom commands like these you can monitor disk space usages also....which was one of the main requirements for us! define service{ use generic-service host_name srv_storage-01 service_description Disk Space F Drive check_command check_nt!USEDDISKSPACE!-l f -w 80 -c 90 } You get a warming alert at 80% disk full and a critical alert 90% regards Ananth. On Thu, Aug 4, 2011 at 1:28 PM, Rai Ricafrente wrote: > I've got a Nagios installation all up and running and working just fine. >> Now I have to start monitoring some Windows Servers. >> >> There are so many different plugins. What are the recommendations for >> doing this? >> >> We have some Win Server 2003, 2008 as well as Exchange and SQL. >> >> Thanks >> >> > NSClient++ worked fine for us. > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 Thomas.Borger at esg.de Thu Aug 4 13:16:13 2011 From: Thomas.Borger at esg.de (Thomas Borger) Date: Thu, 4 Aug 2011 13:16:13 +0200 Subject: Antwort: Re: What the best way to monitor Windows? In-Reply-To: <1729950.9EA8xZZ9Gs@lxrosenski> References: <1312416224.49189.YahooMailNeo@web35503.mail.mud.yahoo.com> <37BEF1D8-2514-40A5-BC56-AECA667895ED@hboe.org> <1729950.9EA8xZZ9Gs@lxrosenski> Message-ID: You can also look at http://www.mathias-kettner.de for "check_mk". It is a nice Nagios-Agent. Regards, Thomas Axel Rosenski schrieb am 04.08.2011 12:45:39: > Von: Axel Rosenski > An: Nagios Users List > Datum: 04.08.2011 13:04 > Betreff: Re: [Nagios-users] What the best way to monitor Windows? > > Am Donnerstag, 04. Aug. 11, 09:57:02 schrieb Martin Hugo: > > I second NSClient++, easy to install on the hosts, no restart necessary. > > Here's a tip, once you have one working, copy the client.ini file to your > > install point and drop it in the appropriate folder on the new client > > before you start the service. > > I second NSClient++, too. We use NRPE checks to monitor Windows server. For > the most common checks we don't even need to modify nsclient.ini > > Regards, Axel > > -- > Axel Rosenski > - Administration - > ______________________________ > Wave Computersysteme GmbH > Philipp-Reis-Str. 1-3 / 9 > 35440 Linden > > Gesch?ftsf?hrer: Carsten Kellmann > Registergericht Gie?en HRB 1823 > > Tel.: +49 (0)6403 / 9050 8317 > Fax: +49 (0)6403 / 9050 5089 > mailto:rosenski at wave-computer.de > http://www.wave-computer.de > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 _____________________________________________________________________________________________________________________ ESG Elektroniksystem- und Logistik-GmbH Rechtsform/Legal Form: Gesellschaft mit beschr?nkter Haftung Sitz/Registered Office: M?nchen Handelsregister/Commercial Register: Registergericht M?nchen, HRB 8130 Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Peter Obermark Vorsitzender der Gesch?ftsf?hrung/CEO: Dipl.-Math. Gerhard Schempp, Gesch?ftsf?hrer/Managing Director: Dipl.-Kfm. G?tz Graichen -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 rosenski at wave-computer.de Thu Aug 4 13:59:21 2011 From: rosenski at wave-computer.de (Axel Rosenski) Date: Thu, 04 Aug 2011 13:59:21 +0200 Subject: Antwort: Re: What the best way to monitor Windows? In-Reply-To: References: <1312416224.49189.YahooMailNeo@web35503.mail.mud.yahoo.com> <1729950.9EA8xZZ9Gs@lxrosenski> Message-ID: <1641561.ANz3ZUVGpe@lxrosenski> Am Donnerstag, 04. Aug. 11, 13:16:13 schrieb Thomas Borger: > You can also look at http://www.mathias-kettner.de for "check_mk". > It is a nice Nagios-Agent. Thanks for the hint. I found check_mk a while ago. It seems to be very nice and easy to use. At the moment all templates are based on check_nrpe, but I will definitely give it a try when I have to rework the config. Regards, Axel -- Axel Rosenski - Administration - ______________________________ Wave Computersysteme GmbH Philipp-Reis-Str. 1-3 / 9 35440 Linden Gesch?ftsf?hrer: Carsten Kellmann Registergericht Gie?en HRB 1823 Tel.: +49 (0)6403 / 9050 8317 Fax: +49 (0)6403 / 9050 5089 mailto:rosenski at wave-computer.de http://www.wave-computer.de ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 Thomas.Borger at esg.de Thu Aug 4 14:20:22 2011 From: Thomas.Borger at esg.de (Thomas Borger) Date: Thu, 4 Aug 2011 14:20:22 +0200 Subject: Antwort: Re: Antwort: Re: What the best way to monitor Windows? In-Reply-To: <1641561.ANz3ZUVGpe@lxrosenski> References: <1312416224.49189.YahooMailNeo@web35503.mail.mud.yahoo.com> <1729950.9EA8xZZ9Gs@lxrosenski> <1641561.ANz3ZUVGpe@lxrosenski> Message-ID: if you have some questions while testing check_mk, don't hessitate. Regards, Thomas Axel Rosenski schrieb am 04.08.2011 13:59:21: > Von: Axel Rosenski > An: Nagios Users List > Datum: 04.08.2011 14:17 > Betreff: Re: [Nagios-users] Antwort: Re: What the best way to monitor Windows? > > Am Donnerstag, 04. Aug. 11, 13:16:13 schrieb Thomas Borger: > > You can also look at http://www.mathias-kettner.de for "check_mk". > > It is a nice Nagios-Agent. > > Thanks for the hint. > > I found check_mk a while ago. It seems to be very nice and easy to use. > At the moment all templates are based on check_nrpe, but I will definitely > give it a try when I have to rework the config. > > Regards, Axel > > -- > Axel Rosenski > - Administration - > ______________________________ > Wave Computersysteme GmbH > Philipp-Reis-Str. 1-3 / 9 > 35440 Linden > > Gesch?ftsf?hrer: Carsten Kellmann > Registergericht Gie?en HRB 1823 > > Tel.: +49 (0)6403 / 9050 8317 > Fax: +49 (0)6403 / 9050 5089 > mailto:rosenski at wave-computer.de > http://www.wave-computer.de > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 _____________________________________________________________________________________________________________________ ESG Elektroniksystem- und Logistik-GmbH Rechtsform/Legal Form: Gesellschaft mit beschr?nkter Haftung Sitz/Registered Office: M?nchen Handelsregister/Commercial Register: Registergericht M?nchen, HRB 8130 Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Peter Obermark Vorsitzender der Gesch?ftsf?hrung/CEO: Dipl.-Math. Gerhard Schempp, Gesch?ftsf?hrer/Managing Director: Dipl.-Kfm. G?tz Graichen -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 prandal at herefordshire.gov.uk Thu Aug 4 14:01:18 2011 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Thu, 4 Aug 2011 12:01:18 +0000 Subject: What the best way to monitor Windows? In-Reply-To: References: <1312416224.49189.YahooMailNeo@web35503.mail.mud.yahoo.com> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B853AE77B5C@HC-EXMBX02.herefordshire.gov.uk> I use Nsclient++ and check_mk_agent, coupled with pnp4nagios http://mathias-kettner.de/checkmk.html Getting check_mk to work the way you want takes a bit of effort, but once you're used to it there's no turning back. Cheers, Phil -- Phil Randal | Infrastructure Engineer NHS Herefordshire & Herefordshire Council | Deputy Chief Executive's Office | I.C.T. Services Division Thorn Office Centre, Rotherwas, Hereford, HR2 6JT Tel: 01432 260160 From: Toonz IT [mailto:it.toonz at gmail.com] Sent: 04 August 2011 12:09 To: Nagios Users List Cc: Sandra Bonus Subject: Re: [Nagios-users] What the best way to monitor Windows? NSClient++ works fine us too.... with custom commands like these you can monitor disk space usages also....which was one of the main requirements for us! define service{ use generic-service host_name srv_storage-01 service_description Disk Space F Drive check_command check_nt!USEDDISKSPACE!-l f -w 80 -c 90 } You get a warming alert at 80% disk full and a critical alert 90% regards Ananth. On Thu, Aug 4, 2011 at 1:28 PM, Rai Ricafrente > wrote: I've got a Nagios installation all up and running and working just fine. Now I have to start monitoring some Windows Servers. There are so many different plugins. What are the recommendations for doing this? We have some Win Server 2003, 2008 as well as Exchange and SQL. Thanks NSClient++ worked fine for us. ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 matlnx1983 at gmail.com Thu Aug 4 14:36:23 2011 From: matlnx1983 at gmail.com (matlnx1983 at gmail.com) Date: Thu, 4 Aug 2011 09:36:23 -0300 Subject: [SOLUCIONADO] RE: Install Error with fresh install of Nagios (nagios.cfg - Line 465) In-Reply-To: References: <003801cc5241$6c4254a0$44c6fde0$@com> Message-ID: <005e01cc52a3$20f38980$62da9c80$@com> It?s works :D :D :D :D, thank a lot!! With your help and Jim Avery, i?m solved the problem. Regards! Mat (From Argentina) -----Mensaje original----- De: mail at catsnest.co.uk [mailto:mail at catsnest.co.uk] Enviado el: jueves, 04 de agosto de 2011 05:09 a.m. Para: Nagios Users List Asunto: Re: [Nagios-users] Install Error with fresh install of Nagios (nagios.cfg - Line 465) On Thu, Aug 4, 2011 at 1:56 AM, wrote: > check_result_path=/usr/local/nagios/var/spool/checkresults Make sure the directory exists... Verify that the Nagios user is the owner of that directory (I would just do a chown -R nagios:nagios /usr/local/nagios ) Verify the correct permissions are set for that directory (Maybe chmod 744 /usr/local/nagios/var/spool/checkresults ) Ritchie -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> ---------------------------------------------------------------------------- -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 erekson at digiraticonsulting.com Thu Aug 4 17:17:39 2011 From: erekson at digiraticonsulting.com (Keith Erekson) Date: Thu, 04 Aug 2011 11:17:39 -0400 Subject: wiki spam problem is MUCH worse, actually Message-ID: <4E3AB813.1000907@digiraticonsulting.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In typical Mediawiki fashion... looks like user registration has been left on, resulting in 1000+ users: http://wiki.nagios.org/index.php?title=Special:ListUsers&limit=500 Which leads to the wiki being used to host all *sorts* of interesting spam: http://wiki.nagios.org/index.php?title=Special:UncategorizedPages&limit=500&offset=0 ;-) - -- Keith Erekson Systems Engineer Digirati Consulting erekson at digiraticonsulting.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk46uBMACgkQNYHf3mzWKbH8wQCdEuYk3k+rc8+ghpGDCOWMpVgf NGUAnA3l9mhXqhzYkgA/B/9/jcz9x91C =pDHc -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 james.osbourn at citrix.com Thu Aug 4 17:43:38 2011 From: james.osbourn at citrix.com (James Osbourn) Date: Thu, 4 Aug 2011 16:43:38 +0100 Subject: network outages permissions Message-ID: <09051C7A8945F944AB7AC4E86BEB1ED5B61669E096@LONPMAILBOX01.citrite.net> I have just installed a new Nagios server and wanting to make sure that everything is working. All appears to be ok except I cannot access the Network Outages page, I get the error It appears as though you do not have permission to view information you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. As far as I can tell everything is configured correctly and I get no errors in my apache error log. If I updated the values below authorized_for_configuration_information=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin I get access as I would expect. Is there somewhere else that dictates authorisation that I need to update. I also have similar problems with the Event Log, Process Info and Scheduling Info pages. I am using ldap authentication and am not using the nagiosadmin user. Thanks for your help James ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 up at 3.am Thu Aug 4 19:24:10 2011 From: up at 3.am (up at 3.am) Date: Thu, 4 Aug 2011 13:24:10 -0400 Subject: network outages permissions In-Reply-To: <09051C7A8945F944AB7AC4E86BEB1ED5B61669E096@LONPMAILBOX01.citrite.net> References: <09051C7A8945F944AB7AC4E86BEB1ED5B61669E096@LONPMAILBOX01.citrite.net> Message-ID: <888664176073239db893bf334a3c4412.squirrel@ssl.pil.net> > I have just installed a new Nagios server and wanting to make sure that everything > is working. All appears to be ok except I cannot access the Network Outages page, > I get the error > > It appears as though you do not have permission to view information you > requested... > > If you believe this is an error, check the HTTP server authentication requirements > for accessing this CGI > and check the authorization options in your CGI configuration file. > > As far as I can tell everything is configured correctly and I get no errors in my > apache error log. If I updated the values below > > authorized_for_configuration_information=nagiosadmin > authorized_for_all_services=nagiosadmin > authorized_for_all_hosts=nagiosadmin > > I get access as I would expect. Is there somewhere else that dictates > authorisation that I need to update. I also have similar problems with the Event > Log, Process Info and Scheduling Info pages. > > I am using ldap authentication and am not using the nagiosadmin user. I believe what you want is this: use_authentication=1 authorized_for_all_services=* In other words, use an asterisk wildcard for everything that you want any authenticated user to have access to. ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 michael.friedrich at univie.ac.at Thu Aug 4 19:50:11 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 04 Aug 2011 19:50:11 +0200 Subject: wiki spam problem is MUCH worse, actually In-Reply-To: <4E3AB813.1000907@digiraticonsulting.com> References: <4E3AB813.1000907@digiraticonsulting.com> Message-ID: <4E3ADBD3.9070800@univie.ac.at> Keith Erekson wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > In typical Mediawiki fashion... looks like user registration has been > left on, resulting in 1000+ users: > > http://wiki.nagios.org/index.php?title=Special:ListUsers&limit=500 > > Which leads to the wiki being used to host all *sorts* of interesting > spam: > > http://wiki.nagios.org/index.php?title=Special:UncategorizedPages&limit=500&offset=0 > > ;-) probably the admins are busy changing wikipedia articles instead, removing the bad forks shinken and icinga from the content. http://en.wikipedia.org/w/index.php?title=Nagios&action=history http://de.wikipedia.org/w/index.php?title=Nagios&action=history > - -- > > Keith Erekson > Systems Engineer > Digirati Consulting > erekson at digiraticonsulting.com > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk46uBMACgkQNYHf3mzWKbH8wQCdEuYk3k+rc8+ghpGDCOWMpVgf > NGUAnA3l9mhXqhzYkgA/B/9/jcz9x91C > =pDHc > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos& much more. Register early& save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 > -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 mail at catsnest.co.uk Thu Aug 4 23:09:30 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Thu, 4 Aug 2011 22:09:30 +0100 Subject: wiki spam problem is MUCH worse, actually In-Reply-To: <4E3ADBD3.9070800@univie.ac.at> References: <4E3AB813.1000907@digiraticonsulting.com> <4E3ADBD3.9070800@univie.ac.at> Message-ID: Humm it is of course a community wiki so We could delete the spam links. We don't have permissions to delete pages of course. This is a problem with most Wiki's I admin a medium sized wiki and have to delete spam pages every day. Ritchie -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. ?--> On Thu, Aug 4, 2011 at 6:50 PM, Michael Friedrich wrote: > Keith Erekson wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> In typical Mediawiki fashion... looks like user registration has been >> left on, resulting in 1000+ users: >> >> http://wiki.nagios.org/index.php?title=Special:ListUsers&limit=500 >> >> Which leads to the wiki being used to host all *sorts* of interesting >> spam: >> >> http://wiki.nagios.org/index.php?title=Special:UncategorizedPages&limit=500&offset=0 >> >> ;-) > > probably the admins are busy changing wikipedia articles instead, > removing the bad forks shinken and icinga from the content. > > http://en.wikipedia.org/w/index.php?title=Nagios&action=history > http://de.wikipedia.org/w/index.php?title=Nagios&action=history > >> - -- >> >> Keith Erekson >> Systems Engineer >> Digirati Consulting >> erekson at digiraticonsulting.com >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.10 (GNU/Linux) >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >> >> iEYEARECAAYFAk46uBMACgkQNYHf3mzWKbH8wQCdEuYk3k+rc8+ghpGDCOWMpVgf >> NGUAnA3l9mhXqhzYkgA/B/9/jcz9x91C >> =pDHc >> -----END PGP SIGNATURE----- >> >> >> ------------------------------------------------------------------------------ >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >> The must-attend event for mobile developers. Connect with experts. >> Get tools for creating Super Apps. See the latest technologies. >> Sessions, hands-on labs, demos& ?much more. Register early& ?save! >> http://p.sf.net/sfu/rim-blackberry-1 >> _______________________________________________ >> 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 >> > > > -- > DI (FH) Michael Friedrich > > Vienna University Computer Center > Universitaetsstrasse 7 A-1010 Vienna, Austria > > email: ?michael.friedrich at univie.ac.at > phone: ?+43 1 4277 14359 > mobile: +43 664 60277 14359 > fax: ? ?+43 1 4277 14338 > web: ? ?http://www.univie.ac.at/zid > ? ? ? ?http://www.aco.net > > Icinga Core& ?IDOUtils Developer > http://www.icinga.org > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 > ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 mike-nagios at 5dninja.net Fri Aug 5 00:53:19 2011 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Thu, 04 Aug 2011 15:53:19 -0700 Subject: Eternally pending, stale checks Message-ID: <4E3B22DF.2040304@5dninja.net> I deployed new monitoring today, and despite a few restarts and many hours of waiting, 185/220 services are still pending. It's a 3.2.1 environment (yes, yes, upgrade, yes) with one master and multiple pollers. All this new monitoring is on one polling host. Active checks are disabled on the master, passive checks are submitted via NSCA. Freshness threshold is set to 20 minutes for checks with a 5 minute interval. The polling host executes the checks, has the right data in the status.log, but the master never receives some of the check data. The data it does receive is not consistently grouped. Service A on one host will submit consistently, but the same service on a different host will fail to submit. The master will, every 20 minutes throw messages about the checks being stale, and needing to force an immediate check, but that never seems to make it's way through. My next step, I suppose will be enabling debug mode on the master, but if history is any indication, that will cause the problem to stop happening - in addition to it being a pain to parse through debug logs for a 10k service environment. If anyone has ideas on what else to check, I'm ears. -- Mike Lindsey ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 mrsbonus1 at yahoo.com Fri Aug 5 04:15:10 2011 From: mrsbonus1 at yahoo.com (Sandra Bonus) Date: Thu, 4 Aug 2011 19:15:10 -0700 (PDT) Subject: What the best way to monitor Windows? In-Reply-To: References: <1312416224.49189.YahooMailNeo@web35503.mail.mud.yahoo.com> Message-ID: <1312510510.52594.YahooMailNeo@web35507.mail.mud.yahoo.com> Ok, so it sounds like there might be 3 "best" ways to monitor Windows in general. I will have to check them out in detail before deciding which way to go. I do note that the following though from reading about them - 1. Checkwmiplus * Looks like I don't need to install anything on my Windows servers (a nice advantage). * Has lots of checks available. * Looks like it will be the easiest of the 3 to get started with (yet to be proven) * Requires the linux version of wmic (doesn't look too hard to get going) * The newest of the methods 2. nsclient++ * Has been around a while (maybe the longest of the three methods), possibly making it the most proven method. * Needs an agent installed on Windows. * Has lots of checks available. * Checks have to be configured in 2 places (Nagios and the Windows host). * Can possibly do a little bit more than checkwmiplus since it has an agent installed 3. check_mk * Needs an agent installed on Windows * Needs configuration installed on Windows (can't quite work that one out yet) * Seems to have some magic auto-check creation (sounds good, but what if I don't want to check everything it finds - yet to be worked out) * Looks like this one will be the most work/complexity to get started with * Looks like it will perform the best for large installations, but for smaller installations it probably does not matter. This looks like a trade-off between complexity and performance. I wonder how many hosts/services you need to make it worth while? * There looked like a bit of an ugly config where you have to manually run some command (lodctr /s:counters.ini) to get some checks to work? Yuk! * Does some magic with my Nagios config. Do I really want some script playing around with my config? Might limit me in the future with upgrades etc as Check_mk will have to support whatever version of Nagios I use. Hey, if I've got any of this wrong please correct me ________________________________ From: Toonz IT To: Nagios Users List Cc: Sandra Bonus Sent: Thursday, 4 August 2011 9:08 PM Subject: Re: [Nagios-users] What the best way to monitor Windows? NSClient++ works fine us too.... with custom commands like these you can monitor disk space usages also....which was one of the main requirements for us! define service{ ??????? use???????????????????? generic-service ??????? host_name?????????????? srv_storage-01 ??????? service_description???? Disk Space F Drive ??????? check_command?????????? check_nt!USEDDISKSPACE!-l f -w 80 -c 90 ??????? } You get a warming alert at 80% disk full and a critical alert 90% regards Ananth. On Thu, Aug 4, 2011 at 1:28 PM, Rai Ricafrente wrote: I've got a Nagios installation all up and running and working just fine. >>Now I have to start monitoring some Windows Servers. >> >>There are so many different plugins. What are the recommendations for doing this? >> >>We have some Win Server 2003, 2008 as well as Exchange and SQL. >> >>Thanks >> >> >NSClient++ worked fine for us. > >------------------------------------------------------------------------------ >BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >The must-attend event for mobile developers. Connect with experts. >Get tools for creating Super Apps. See the latest technologies. >Sessions, hands-on labs, demos & much more. Register early & save! >http://p.sf.net/sfu/rim-blackberry-1 >_______________________________________________ >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 -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 aakhter at gmail.com Fri Aug 5 04:35:55 2011 From: aakhter at gmail.com (Aamer Akhter) Date: Thu, 4 Aug 2011 22:35:55 -0400 Subject: Monitoring Esx disk latency on nagios Message-ID: What are folks using to monitor dIsk latency for Esx hosts? I have tried check_esx3 but the latency values are always 0 ms, but monitoring on vsphere is showing ~10 ms during the same period. -- Aamer Akhter / aakhter at gmail.com ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 Thomas.Borger at esg.de Fri Aug 5 06:39:58 2011 From: Thomas.Borger at esg.de (Thomas Borger) Date: Fri, 5 Aug 2011 06:39:58 +0200 Subject: Antwort: Monitoring Esx disk latency on nagios In-Reply-To: References: Message-ID: Hi, vCenter Server - customize alarms in vCenter and run a vbscript in "action" tab in this alarm settings. - this script write a logfile (one line for one alarm). - nsclient++ is installed and running on vCenter server but only to execute check_logfiles.exe from Gerhard Lausser Nagios Server - check_nrpe checks every 2 Minutes this logfile on vCenter server for new lines/alarms. It works great now been since more than two years. Regards Thomas Aamer Akhter schrieb am 05.08.2011 04:35:55: > Von: Aamer Akhter > An: nagios-users at lists.sourceforge.net > Datum: 05.08.2011 04:54 > Betreff: [Nagios-users] Monitoring Esx disk latency on nagios > > What are folks using to monitor dIsk latency for Esx hosts? I have > tried check_esx3 but the latency values are always 0 ms, but > monitoring on vsphere is showing ~10 ms during the same period. > > -- > Aamer Akhter / aakhter at gmail.com > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 _____________________________________________________________________________________________________________________ ESG Elektroniksystem- und Logistik-GmbH Rechtsform/Legal Form: Gesellschaft mit beschr?nkter Haftung Sitz/Registered Office: M?nchen Handelsregister/Commercial Register: Registergericht M?nchen, HRB 8130 Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Peter Obermark Vorsitzender der Gesch?ftsf?hrung/CEO: Dipl.-Math. Gerhard Schempp, Gesch?ftsf?hrer/Managing Director: Dipl.-Kfm. G?tz Graichen -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 eagles051387 at gmail.com Fri Aug 5 07:33:27 2011 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Fri, 05 Aug 2011 07:33:27 +0200 Subject: wiki spam problem is MUCH worse, actually In-Reply-To: References: <4E3AB813.1000907@digiraticonsulting.com> <4E3ADBD3.9070800@univie.ac.at> Message-ID: <4E3B80A7.6060607@gmail.com> arent there CAPTCHA's that prevent spam bots from getting in, granted that it might be a user who posts the links On 04/08/2011 23:09, mail at catsnest.co.uk wrote: > Humm it is of course a community wiki so We could delete the spam links. > We don't have permissions to delete pages of course. > > This is a problem with most Wiki's I admin a medium sized wiki and > have to delete spam pages every day. > > > Ritchie > -- > <-- http://23.me.uk/2 --> > <--Time flies like an arrow; fruit flies like a banana. --> > > > > On Thu, Aug 4, 2011 at 6:50 PM, Michael Friedrich > wrote: >> Keith Erekson wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> In typical Mediawiki fashion... looks like user registration has been >>> left on, resulting in 1000+ users: >>> >>> http://wiki.nagios.org/index.php?title=Special:ListUsers&limit=500 >>> >>> Which leads to the wiki being used to host all *sorts* of interesting >>> spam: >>> >>> http://wiki.nagios.org/index.php?title=Special:UncategorizedPages&limit=500&offset=0 >>> >>> ;-) >> probably the admins are busy changing wikipedia articles instead, >> removing the bad forks shinken and icinga from the content. >> >> http://en.wikipedia.org/w/index.php?title=Nagios&action=history >> http://de.wikipedia.org/w/index.php?title=Nagios&action=history >> >>> - -- >>> >>> Keith Erekson >>> Systems Engineer >>> Digirati Consulting >>> erekson at digiraticonsulting.com >>> -----BEGIN PGP SIGNATURE----- >>> Version: GnuPG v1.4.10 (GNU/Linux) >>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >>> >>> iEYEARECAAYFAk46uBMACgkQNYHf3mzWKbH8wQCdEuYk3k+rc8+ghpGDCOWMpVgf >>> NGUAnA3l9mhXqhzYkgA/B/9/jcz9x91C >>> =pDHc >>> -----END PGP SIGNATURE----- >>> >>> >>> ------------------------------------------------------------------------------ >>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >>> The must-attend event for mobile developers. Connect with experts. >>> Get tools for creating Super Apps. See the latest technologies. >>> Sessions, hands-on labs, demos& much more. Register early& save! >>> http://p.sf.net/sfu/rim-blackberry-1 >>> _______________________________________________ >>> 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 >>> >> >> -- >> DI (FH) Michael Friedrich >> >> Vienna University Computer Center >> Universitaetsstrasse 7 A-1010 Vienna, Austria >> >> email: michael.friedrich at univie.ac.at >> phone: +43 1 4277 14359 >> mobile: +43 664 60277 14359 >> fax: +43 1 4277 14338 >> web: http://www.univie.ac.at/zid >> http://www.aco.net >> >> Icinga Core& IDOUtils Developer >> http://www.icinga.org >> >> >> ------------------------------------------------------------------------------ >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >> The must-attend event for mobile developers. Connect with experts. >> Get tools for creating Super Apps. See the latest technologies. >> Sessions, hands-on labs, demos& much more. Register early& save! >> http://p.sf.net/sfu/rim-blackberry-1 >> _______________________________________________ >> 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 >> > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos& much more. Register early& save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 Fri Aug 5 07:48:11 2011 From: mark.elsen at gmail.com (Mark Elsen) Date: Fri, 5 Aug 2011 07:48:11 +0200 Subject: What the best way to monitor Windows? In-Reply-To: <1312510510.52594.YahooMailNeo@web35507.mail.mud.yahoo.com> References: <1312416224.49189.YahooMailNeo@web35503.mail.mud.yahoo.com> <1312510510.52594.YahooMailNeo@web35507.mail.mud.yahoo.com> Message-ID: > Ok, so it sounds like there might be 3 "best" ways to monitor Windows in > general. > I will have to check them out in detail before deciding which way to go. I > do note that the following though from reading about them - > > 1. Checkwmiplus > > - I switched from NSclient++ to checkwmiplus, because agent less monitoring gives me a more flexible nagios environment : - not needing a remote agent makes migration NAGIOS to another server easier, because usually because of security reasons, you will be configuring the agent to allow connections from a particular (NAGIOS) server only. - an agent needs to be extra installed on the windows server; that may seem 'easy' ; but it isn't if you are in a large IT group where people carry different heads, and things like 'convincing debates' and 'overal installation procedures' come into place. - there are disadvantages too : checkwmiplus has increased the cpu load on my nagios server dramatically because of the combined use of wmic and the perl-based checkwmiplus script. And multiple instances are running all the time for a large number of servers. I think I will have to migrate to a speedier nagios server in the future - checkwmiplus is still under very active development which has pros and cons; pros because of the active interest of the developer, cons because active installation components are still being changed, making upgrading and followup on versions a little bit more cumbersome and time intensive , then for nsclient++ , which ,already, much more stabilized. M. ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 Stuart.Jones at health.wa.gov.au Fri Aug 5 09:17:55 2011 From: Stuart.Jones at health.wa.gov.au (Jones, Stuart) Date: Fri, 5 Aug 2011 15:17:55 +0800 Subject: Monitoring throughput for compression and SSL oncisco ace 4710 In-Reply-To: <4E3A3F6A.5080706@gmail.com> References: <4E3A3F6A.5080706@gmail.com> Message-ID: If you load the MIB file: CISCO-L4L7MODULE-RESOURCE-LIMIT-MIB into your snmp directory then use a snmpwalk referencing that MIB, or use a MIB browser, you should get something like: crlResourceSummaryCurrentUsage.26 0 Gauge crlResourceSummaryCurrentUsage.27 6094 Gauge crlResourceSummaryCurrentUsage.28 16652203 Gauge crlResourceSummaryCurrentUsage.29 0 Gauge crlResourceSummaryPeakUsage.2 9113 Gauge crlResourceSummaryPeakUsage.3 410 Gauge crlResourceSummaryPeakUsage.4 389 Gauge crlResourceSummaryPeakUsage.6 2771 Gauge You can then use Nagios, check_snmp, to query & alert based on a threshold you define subject to your licence and setting. -----Original Message----- From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] Sent: Thursday, 4 August 2011 2:43 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring throughput for compression and SSL oncisco ace 4710 Does the OID work for both compression and SSL? On 04/08/2011 01:49, Jones, Stuart wrote: > I'm using the subset from: > > 1.3.6.1.4.1.9.9.480 > > Try it and let me know if you need further assistance. > > -----Original Message----- > From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] > Sent: Wednesday, 3 August 2011 3:07 PM > To: Nagios Users List > Subject: [Nagios-users] Monitoring throughput for compression and SSL > oncisco ace 4710 > > Hey guys I am trying to monitor through put for the above services and > device. > > I was told to use the check_snmp check, but I have no idea what OID I > am > > looking for can anyone point me in the right direction for the OID i > should be using? > > ---------------------------------------------------------------------- > -- > ------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The > must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos& much more. Register early& save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 > > ---------------------------------------------------------------------- > -------- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, > CA The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos& much more. Register early& save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 ------------------------------------------------------------------------ ------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 eagles051387 at gmail.com Fri Aug 5 09:27:40 2011 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Fri, 05 Aug 2011 09:27:40 +0200 Subject: Monitoring throughput for compression and SSL oncisco ace 4710 In-Reply-To: References: <4E3A3F6A.5080706@gmail.com> Message-ID: <4E3B9B6C.5030604@gmail.com> ok. i got that sorted more or less but what im not getting is this. I run the check snmp via commandline it runs fine, but in regards to ssl when i run the check via nagios and not command line it times out. i added the -t switch to increase the time out but its not working. it still times out. any ideas? On 05/08/2011 09:17, Jones, Stuart wrote: > If you load the MIB file: CISCO-L4L7MODULE-RESOURCE-LIMIT-MIB into your > snmp directory then use a snmpwalk referencing that MIB, or use a MIB > browser, you should get something like: > > crlResourceSummaryCurrentUsage.26 0 Gauge > crlResourceSummaryCurrentUsage.27 6094 Gauge > crlResourceSummaryCurrentUsage.28 16652203 Gauge > crlResourceSummaryCurrentUsage.29 0 Gauge > crlResourceSummaryPeakUsage.2 9113 Gauge > crlResourceSummaryPeakUsage.3 410 Gauge > crlResourceSummaryPeakUsage.4 389 Gauge > crlResourceSummaryPeakUsage.6 2771 Gauge > > > You can then use Nagios, check_snmp, to query& alert based on a > threshold you define subject to your licence and setting. > > > -----Original Message----- > From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] > Sent: Thursday, 4 August 2011 2:43 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring throughput for compression and > SSL oncisco ace 4710 > > Does the OID work for both compression and SSL? > > On 04/08/2011 01:49, Jones, Stuart wrote: >> I'm using the subset from: >> >> 1.3.6.1.4.1.9.9.480 >> >> Try it and let me know if you need further assistance. >> >> -----Original Message----- >> From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] >> Sent: Wednesday, 3 August 2011 3:07 PM >> To: Nagios Users List >> Subject: [Nagios-users] Monitoring throughput for compression and SSL >> oncisco ace 4710 >> >> Hey guys I am trying to monitor through put for the above services and >> device. >> >> I was told to use the check_snmp check, but I have no idea what OID I >> am >> >> looking for can anyone point me in the right direction for the OID i >> should be using? >> >> ---------------------------------------------------------------------- >> -- >> ------ >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The >> must-attend event for mobile developers. Connect with experts. >> Get tools for creating Super Apps. See the latest technologies. >> Sessions, hands-on labs, demos& much more. Register early& save! >> http://p.sf.net/sfu/rim-blackberry-1 >> _______________________________________________ >> 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 >> >> ---------------------------------------------------------------------- >> -------- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, >> CA The must-attend event for mobile developers. Connect with experts. >> Get tools for creating Super Apps. See the latest technologies. >> Sessions, hands-on labs, demos& much more. Register early& save! >> http://p.sf.net/sfu/rim-blackberry-1 >> _______________________________________________ >> 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 > > ------------------------------------------------------------------------ > ------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The > must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos& much more. Register early& save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos& much more. Register early& save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 mail at catsnest.co.uk Fri Aug 5 09:37:50 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Fri, 5 Aug 2011 08:37:50 +0100 Subject: wiki spam problem is MUCH worse, actually In-Reply-To: <4E3B80A7.6060607@gmail.com> References: <4E3AB813.1000907@digiraticonsulting.com> <4E3ADBD3.9070800@univie.ac.at> <4E3B80A7.6060607@gmail.com> Message-ID: On Fri, Aug 5, 2011 at 6:33 AM, Jonathan Aquilina wrote: > arent there CAPTCHA's that prevent spam bots from getting in, granted > that it might be a user who posts the links > Google for "CAPTCHA solving" or "CAPTCHA farmers", they even have automated API's Add to that things like onetime email address and even things like the "can not post until clicks a link" checks are useless. So having a community wiki and being spam free is not an automated process it requires a lot of manual work. So I'm sure the admins would like any help they can get from the community Ritchie, -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> > On 04/08/2011 23:09, mail at catsnest.co.uk wrote: >> Humm it is of course a community wiki so We could delete the spam links. >> We don't have permissions to delete pages of course. >> >> This is a problem with most Wiki's I admin a medium sized wiki and >> have to delete spam pages every day. >> >> >> Ritchie >> -- >> <-- http://23.me.uk/2 --> >> <--Time flies like an arrow; fruit flies like a banana. ?--> >> >> >> >> On Thu, Aug 4, 2011 at 6:50 PM, Michael Friedrich >> ?wrote: >>> Keith Erekson wrote: >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA1 >>>> >>>> In typical Mediawiki fashion... looks like user registration has been >>>> left on, resulting in 1000+ users: >>>> >>>> http://wiki.nagios.org/index.php?title=Special:ListUsers&limit=500 >>>> >>>> Which leads to the wiki being used to host all *sorts* of interesting >>>> spam: >>>> >>>> http://wiki.nagios.org/index.php?title=Special:UncategorizedPages&limit=500&offset=0 >>>> >>>> ;-) >>> probably the admins are busy changing wikipedia articles instead, >>> removing the bad forks shinken and icinga from the content. >>> >>> http://en.wikipedia.org/w/index.php?title=Nagios&action=history >>> http://de.wikipedia.org/w/index.php?title=Nagios&action=history >>> >>>> - -- >>>> >>>> Keith Erekson >>>> Systems Engineer >>>> Digirati Consulting >>>> erekson at digiraticonsulting.com >>>> -----BEGIN PGP SIGNATURE----- >>>> Version: GnuPG v1.4.10 (GNU/Linux) >>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >>>> >>>> iEYEARECAAYFAk46uBMACgkQNYHf3mzWKbH8wQCdEuYk3k+rc8+ghpGDCOWMpVgf >>>> NGUAnA3l9mhXqhzYkgA/B/9/jcz9x91C >>>> =pDHc >>>> -----END PGP SIGNATURE----- >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >>>> The must-attend event for mobile developers. Connect with experts. >>>> Get tools for creating Super Apps. See the latest technologies. >>>> Sessions, hands-on labs, demos& ? ?much more. Register early& ? ?save! >>>> http://p.sf.net/sfu/rim-blackberry-1 >>>> _______________________________________________ >>>> 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 >>>> >>> >>> -- >>> DI (FH) Michael Friedrich >>> >>> Vienna University Computer Center >>> Universitaetsstrasse 7 A-1010 Vienna, Austria >>> >>> email: ?michael.friedrich at univie.ac.at >>> phone: ?+43 1 4277 14359 >>> mobile: +43 664 60277 14359 >>> fax: ? ?+43 1 4277 14338 >>> web: ? ?http://www.univie.ac.at/zid >>> ? ? ? ? http://www.aco.net >>> >>> Icinga Core& ? ?IDOUtils Developer >>> http://www.icinga.org >>> >>> >>> ------------------------------------------------------------------------------ >>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >>> The must-attend event for mobile developers. Connect with experts. >>> Get tools for creating Super Apps. See the latest technologies. >>> Sessions, hands-on labs, demos& ?much more. Register early& ?save! >>> http://p.sf.net/sfu/rim-blackberry-1 >>> _______________________________________________ >>> 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 >>> >> ------------------------------------------------------------------------------ >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >> The must-attend event for mobile developers. Connect with experts. >> Get tools for creating Super Apps. See the latest technologies. >> Sessions, hands-on labs, demos& ?much more. Register early& ?save! >> http://p.sf.net/sfu/rim-blackberry-1 >> _______________________________________________ >> 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 > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 > ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 lmw94002 at hotmail.com Fri Aug 5 14:41:05 2011 From: lmw94002 at hotmail.com (Mathew Walker) Date: Fri, 5 Aug 2011 08:41:05 -0400 Subject: What the best way to monitor Windows? In-Reply-To: References: <1312416224.49189.YahooMailNeo@web35503.mail.mud.yahoo.com>, , , <1312510510.52594.YahooMailNeo@web35507.mail.mud.yahoo.com>, Message-ID: With NSClient++, you can easily copy the INI file around. for NRPE and NSClient++ config files I always put in 3 generic names as "allowed hosts" ... nagios1.domain.local, nagios2.domain.local, nagios3.domain.local. Those 3 are CNAMEs to my actual nagios systems so I don't have to worry about updating config files if I'm testing a new plugin on a test Nagios box, migrating, etc. Only downside is that it does require good DNS and you have the normally trivial overhead of that DNS lookup. -- Mat W. > From: mark.elsen at gmail.com > Date: Fri, 5 Aug 2011 07:48:11 +0200 > To: mrsbonus1 at yahoo.com; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] What the best way to monitor Windows? > > > Ok, so it sounds like there might be 3 "best" ways to monitor Windows in > > general. > > I will have to check them out in detail before deciding which way to go. I > > do note that the following though from reading about them - > > > > 1. Checkwmiplus > > > > > > - I switched from NSclient++ to checkwmiplus, because agent less > monitoring gives me a more > flexible nagios environment : - not needing a remote agent makes > migration NAGIOS to another server easier, because > usually because of security reasons, you will be configuring the agent > to allow connections from a particular (NAGIOS) > server only. > - an agent needs to be extra > installed on the windows server; that may seem 'easy' ; but it > isn't if you are in a large IT group where people carry different > heads, and things like 'convincing debates' and 'overal installation > procedures' come into place. > > - there are disadvantages > too : checkwmiplus has increased the cpu load on my nagios server > dramatically because of the combined use of wmic and the perl-based > checkwmiplus script. And multiple instances are running > all the time for a large number of servers. I think I will have to > migrate to a speedier nagios server in the future > > - checkwmiplus is still under > very active development which has pros and cons; pros because of the > active interest of the developer, cons because active installation > components are still being changed, making upgrading and followup > on versions a little bit more cumbersome and time intensive , then for > nsclient++ , which ,already, much more stabilized. > > M. > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 jonny.mosco at gmail.com Fri Aug 5 20:16:01 2011 From: jonny.mosco at gmail.com (Jonny Mosco) Date: Fri, 5 Aug 2011 14:16:01 -0400 Subject: What the best way to monitor Windows? In-Reply-To: References: <1312416224.49189.YahooMailNeo@web35503.mail.mud.yahoo.com> <1312510510.52594.YahooMailNeo@web35507.mail.mud.yahoo.com> Message-ID: That's exactly what I do. I have a medium sized environment with 200+ Windows servers to manage. I have NSclient++ on every windows host, using a CNAME "monitor" and have a NSC.ini already configured and dropped into place. Works like a charm. With this method, I can also have check_nt, and check_nrpe if needed. On Fri, Aug 5, 2011 at 8:41 AM, Mathew Walker wrote: > With NSClient++, you can easily copy the INI file around. for NRPE and > NSClient++ config files I always put in 3 generic names as "allowed hosts" > ... nagios1.domain.local, nagios2.domain.local, nagios3.domain.local. Those > 3 are CNAMEs to my actual nagios systems so I don't have to worry about > updating config files if I'm testing a new plugin on a test Nagios box, > migrating, etc. Only downside is that it does require good DNS and you have > the normally trivial overhead of that DNS lookup. > > -- > Mat W. > > > From: mark.elsen at gmail.com > > Date: Fri, 5 Aug 2011 07:48:11 +0200 > > To: mrsbonus1 at yahoo.com; nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] What the best way to monitor Windows? > > > > > Ok, so it sounds like there might be 3 "best" ways to monitor Windows > in > > > general. > > > I will have to check them out in detail before deciding which way to > go. I > > > do note that the following though from reading about them - > > > > > > 1. Checkwmiplus > > > > > > > > > > - I switched from NSclient++ to checkwmiplus, because agent less > > monitoring gives me a more > > flexible nagios environment : - not needing a remote agent makes > > migration NAGIOS to another server easier, because > > usually because of security reasons, you will be configuring the agent > > to allow connections from a particular (NAGIOS) > > server only. > > - an agent needs to be extra > > installed on the windows server; that may seem 'easy' ; but it > > isn't if you are in a large IT group where people carry different > > heads, and things like 'convincing debates' and 'overal installation > > procedures' come into place. > > > > - there are disadvantages > > too : checkwmiplus has increased the cpu load on my nagios server > > dramatically because of the combined use of wmic and the perl-based > > checkwmiplus script. And multiple instances are running > > all the time for a large number of servers. I think I will have to > > migrate to a speedier nagios server in the future > > > > - checkwmiplus is still under > > very active development which has pros and cons; pros because of the > > active interest of the developer, cons because active installation > > components are still being changed, making upgrading and followup > > on versions a little bit more cumbersome and time intensive , then for > > nsclient++ , which ,already, much more stabilized. > > > > M. > > > > > ------------------------------------------------------------------------------ > > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > > The must-attend event for mobile developers. Connect with experts. > > Get tools for creating Super Apps. See the latest technologies. > > Sessions, hands-on labs, demos & much more. Register early & save! > > http://p.sf.net/sfu/rim-blackberry-1 > > _______________________________________________ > > 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 > > > ------------------------------------------------------------------------------ > BlackBerry? DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 serajddin.mahmoud at gmail.com Fri Aug 5 21:02:07 2011 From: serajddin.mahmoud at gmail.com (=?UTF-8?B?2LnYqNivINin2YTYrdmF2YrYryA=?=) Date: Fri, 5 Aug 2011 19:02:07 +0000 Subject: muti-sessions in Nagios Message-ID: Hi every body , is there a possbility to ceate multi-sessions in nagios my aim is create many sessions for administrator and i want that an administrator (central) look all the maps but the ohter look just thare maps for example : admin central : in site 0 : supervise all sites admin Nubmer1: in site 1 ; supervise the parc of a thos site 1 admin Nubmer2: in site 2 ; supervise the parc of a thos site and so on -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 Fri Aug 5 21:11:39 2011 From: benny at bennyvision.com (C. Bensend) Date: Fri, 5 Aug 2011 14:11:39 -0500 Subject: muti-sessions in Nagios In-Reply-To: References: Message-ID: > is there a possbility to ceate multi-sessions in nagios > > my aim is create many sessions for administrator and i want that an > administrator (central) look all the maps but the ohter look just thare > maps > > for example : > > admin central : in site 0 : supervise all sites > admin Nubmer1: in site 1 ; supervise the parc of a thos site 1 > > admin Nubmer2: in site 2 ; supervise the parc of a thos site > > and so on If I understand your question correctly, Nagios pretty much does that out-of-the-box. By default, if you use authentication, authenticated users will only be able to see/issue commands to hosts and services for which they are contacts. So, if admin1 is a contact for hosts A, B, and C, while admin2 is a contact for hosts D and E, then admin1 will only see his/her three hosts, and admin2 will only see his/her two. Benny -- "Open your door, or I open your wall." -- Seen on an image on fukung.net ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 dmelo87 at gmail.com Fri Aug 5 22:10:40 2011 From: dmelo87 at gmail.com (Diogo Melo) Date: Fri, 5 Aug 2011 17:10:40 -0300 Subject: Nagios Back-End Message-ID: Hi, How Nagios store all the information? Is it in a database such as MySQL or PostgreSQL? If I want to write a program to access info Nagios had collected, how should I proceed? Best regards, Diogo Oliveira de Melo Ci?ncia da Computa??o ICMC - USP S?o Carlos -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 TGFurnish at herffjones.com Fri Aug 5 22:45:23 2011 From: TGFurnish at herffjones.com (Furnish, Trever G) Date: Fri, 5 Aug 2011 20:45:23 +0000 Subject: Suggestions for event correlation managers? Message-ID: Hello, I'm looking for suggestions for applying Nagios' style of event handling (escalations, recoveries, acknowledgements), hopefully with some improvements (aggregation), to events coming from many different (non-Nagios) sources. I know of a few Nagios-specific notification aggregators, but can anyone recommend a good (preferably inexpensive / OSS) way of expanding that to include many other tools? I know about SNARE and RiverMuse, but they're relatively expensive. We make heavy use of Nagios as well as several other tools (MSFT SCOM, HP SIM, Oracle Grid Control, AlertSite.net, etc). They're all sending alerts in various forms to a small group of admins and engineers, so many of us get alerts from all of the tools, sometimes from more than one tool regarding a single event. Nagios does a great job of flexibly managing alerts from its own events, but I don't see how I'd hook in the other tools. Several of the tools (e.g. SCOM and SIM) don't even have any concept of event correlation -- breakage and recovery are two separate events. I see tools like SNARE, RiverMuse ECM, and a few others filling this gap, at least partially, but I don't yet have experience with them and they're relatively expensive. Anyone doing this effectively with OSS tools or low-cost tools or a good home-grown approach you wouldn't mind sharing (and possibly collaborating on)? -- Trever Furnish, tgfurnish at herffjones.com Herff Jones, Inc. Solutions Architect Phone: 317.612.3519 ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 jonny.mosco at gmail.com Sat Aug 6 14:20:34 2011 From: jonny.mosco at gmail.com (Jonny Mosco) Date: Sat, 6 Aug 2011 08:20:34 -0400 Subject: Nagios Back-End In-Reply-To: References: Message-ID: The default install stores the logs in /usr/local/nagios/var On Fri, Aug 5, 2011 at 4:10 PM, Diogo Melo wrote: > Hi, > > > How Nagios store all the information? Is it in a database such as MySQL or > PostgreSQL? > > If I want to write a program to access info Nagios had collected, how > should I proceed? > > > Best regards, > Diogo Oliveira de Melo > Ci?ncia da Computa??o > ICMC - USP S?o Carlos > > > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 dmelo87 at gmail.com Sat Aug 6 23:22:20 2011 From: dmelo87 at gmail.com (Diogo Melo) Date: Sat, 6 Aug 2011 18:22:20 -0300 Subject: Public page Message-ID: Hi, I would like to use nagios to monitor a few sites I have. But I want to have a public page where I can show the high service availability I'm getting. Is there something ready to use that matches with what I want? A way to show a few results without give any manage control. Diogo Oliveira de Melo Ci?ncia da Computa??o ICMC - USP S?o Carlos -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 Stuart.Jones at health.wa.gov.au Mon Aug 8 01:02:11 2011 From: Stuart.Jones at health.wa.gov.au (Jones, Stuart) Date: Mon, 8 Aug 2011 07:02:11 +0800 Subject: Monitoring throughput for compression and SSL oncisco ace 4710 In-Reply-To: <4E3B9B6C.5030604@gmail.com> References: <4E3A3F6A.5080706@gmail.com> <4E3B9B6C.5030604@gmail.com> Message-ID: Can you provide details of your check_snmp command please? -----Original Message----- From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] Sent: Friday, 5 August 2011 3:28 PM To: Nagios Users List Subject: Re: [Nagios-users] Monitoring throughput for compression and SSL oncisco ace 4710 ok. i got that sorted more or less but what im not getting is this. I run the check snmp via commandline it runs fine, but in regards to ssl when i run the check via nagios and not command line it times out. i added the -t switch to increase the time out but its not working. it still times out. any ideas? On 05/08/2011 09:17, Jones, Stuart wrote: > If you load the MIB file: CISCO-L4L7MODULE-RESOURCE-LIMIT-MIB into > your snmp directory then use a snmpwalk referencing that MIB, or use a > MIB browser, you should get something like: > > crlResourceSummaryCurrentUsage.26 0 Gauge > crlResourceSummaryCurrentUsage.27 6094 Gauge > crlResourceSummaryCurrentUsage.28 16652203 Gauge > crlResourceSummaryCurrentUsage.29 0 Gauge > crlResourceSummaryPeakUsage.2 9113 Gauge > crlResourceSummaryPeakUsage.3 410 Gauge > crlResourceSummaryPeakUsage.4 389 Gauge > crlResourceSummaryPeakUsage.6 2771 Gauge > > > You can then use Nagios, check_snmp, to query& alert based on a > threshold you define subject to your licence and setting. > > > -----Original Message----- > From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] > Sent: Thursday, 4 August 2011 2:43 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring throughput for compression and > SSL oncisco ace 4710 > > Does the OID work for both compression and SSL? > > On 04/08/2011 01:49, Jones, Stuart wrote: >> I'm using the subset from: >> >> 1.3.6.1.4.1.9.9.480 >> >> Try it and let me know if you need further assistance. >> >> -----Original Message----- >> From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] >> Sent: Wednesday, 3 August 2011 3:07 PM >> To: Nagios Users List >> Subject: [Nagios-users] Monitoring throughput for compression and SSL >> oncisco ace 4710 >> >> Hey guys I am trying to monitor through put for the above services >> and device. >> >> I was told to use the check_snmp check, but I have no idea what OID I >> am >> >> looking for can anyone point me in the right direction for the OID i >> should be using? >> >> --------------------------------------------------------------------- >> - >> -- >> ------ >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The >> must-attend event for mobile developers. Connect with experts. >> Get tools for creating Super Apps. See the latest technologies. >> Sessions, hands-on labs, demos& much more. Register early& save! >> http://p.sf.net/sfu/rim-blackberry-1 >> _______________________________________________ >> 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 >> >> --------------------------------------------------------------------- >> - >> -------- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, >> CA The must-attend event for mobile developers. Connect with experts. >> Get tools for creating Super Apps. See the latest technologies. >> Sessions, hands-on labs, demos& much more. Register early& save! >> http://p.sf.net/sfu/rim-blackberry-1 >> _______________________________________________ >> 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 > > ---------------------------------------------------------------------- > -- > ------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The > must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos& much more. Register early& save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 > > ---------------------------------------------------------------------- > -------- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, > CA The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos& much more. Register early& save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 ------------------------------------------------------------------------ ------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 eagles051387 at gmail.com Mon Aug 8 08:46:32 2011 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Mon, 08 Aug 2011 08:46:32 +0200 Subject: Monitoring throughput for compression and SSL oncisco ace 4710 In-Reply-To: References: <4E3A3F6A.5080706@gmail.com> <4E3B9B6C.5030604@gmail.com> Message-ID: <4E3F8648.70405@gmail.com> Stuart my output is as follows -o .1.3.6.1.4.1.9.9.254.1.1.1.1.3.1 -C $HOSTSNMP_COMMUNITY$ -w @40:44 -c ~:45 -t 60 it works on command line but times out when the check runs normally after setting it up in nagios ql. On 08/08/2011 01:02, Jones, Stuart wrote: > Can you provide details of your check_snmp command please? > > -----Original Message----- > From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] > Sent: Friday, 5 August 2011 3:28 PM > To: Nagios Users List > Subject: Re: [Nagios-users] Monitoring throughput for compression and > SSL oncisco ace 4710 > > ok. i got that sorted more or less but what im not getting is this. > > I run the check snmp via commandline it runs fine, but in regards to ssl > when i run the check via nagios and not command line it times out. i > added the -t switch to increase the time out but its not working. it > still times out. any ideas? > > On 05/08/2011 09:17, Jones, Stuart wrote: >> If you load the MIB file: CISCO-L4L7MODULE-RESOURCE-LIMIT-MIB into >> your snmp directory then use a snmpwalk referencing that MIB, or use a >> MIB browser, you should get something like: >> >> crlResourceSummaryCurrentUsage.26 0 Gauge >> crlResourceSummaryCurrentUsage.27 6094 Gauge >> crlResourceSummaryCurrentUsage.28 16652203 Gauge >> crlResourceSummaryCurrentUsage.29 0 Gauge >> crlResourceSummaryPeakUsage.2 9113 Gauge >> crlResourceSummaryPeakUsage.3 410 Gauge >> crlResourceSummaryPeakUsage.4 389 Gauge >> crlResourceSummaryPeakUsage.6 2771 Gauge >> >> >> You can then use Nagios, check_snmp, to query& alert based on a >> threshold you define subject to your licence and setting. >> >> >> -----Original Message----- >> From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] >> Sent: Thursday, 4 August 2011 2:43 PM >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Monitoring throughput for compression and >> SSL oncisco ace 4710 >> >> Does the OID work for both compression and SSL? >> >> On 04/08/2011 01:49, Jones, Stuart wrote: >>> I'm using the subset from: >>> >>> 1.3.6.1.4.1.9.9.480 >>> >>> Try it and let me know if you need further assistance. >>> >>> -----Original Message----- >>> From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] >>> Sent: Wednesday, 3 August 2011 3:07 PM >>> To: Nagios Users List >>> Subject: [Nagios-users] Monitoring throughput for compression and SSL >>> oncisco ace 4710 >>> >>> Hey guys I am trying to monitor through put for the above services >>> and device. >>> >>> I was told to use the check_snmp check, but I have no idea what OID I >>> am >>> >>> looking for can anyone point me in the right direction for the OID i >>> should be using? >>> >>> --------------------------------------------------------------------- >>> - >>> -- >>> ------ >>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The >>> must-attend event for mobile developers. Connect with experts. >>> Get tools for creating Super Apps. See the latest technologies. >>> Sessions, hands-on labs, demos& much more. Register early& save! >>> http://p.sf.net/sfu/rim-blackberry-1 >>> _______________________________________________ >>> 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 >>> >>> --------------------------------------------------------------------- >>> - >>> -------- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, >>> CA The must-attend event for mobile developers. Connect with experts. >>> Get tools for creating Super Apps. See the latest technologies. >>> Sessions, hands-on labs, demos& much more. Register early& save! >>> http://p.sf.net/sfu/rim-blackberry-1 >>> _______________________________________________ >>> 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 >> ---------------------------------------------------------------------- >> -- >> ------ >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The >> must-attend event for mobile developers. Connect with experts. >> Get tools for creating Super Apps. See the latest technologies. >> Sessions, hands-on labs, demos& much more. Register early& save! >> http://p.sf.net/sfu/rim-blackberry-1 >> _______________________________________________ >> 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 >> >> ---------------------------------------------------------------------- >> -------- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, >> CA The must-attend event for mobile developers. Connect with experts. >> Get tools for creating Super Apps. See the latest technologies. >> Sessions, hands-on labs, demos& much more. Register early& save! >> http://p.sf.net/sfu/rim-blackberry-1 >> _______________________________________________ >> 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 > > ------------------------------------------------------------------------ > ------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The > must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos& much more. Register early& save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos& much more. Register early& save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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-users at noroutetohost.net Mon Aug 8 16:04:39 2011 From: nagios-users at noroutetohost.net (David Wilkinson) Date: Mon, 08 Aug 2011 15:04:39 +0100 Subject: Override service notification time Message-ID: <4E3FECF7.7050007@noroutetohost.net> Hi I am currently using Nagios with host groups to so that I can add the same service check to multiple hosts without having to create the same service multiple times, which is all working fine, the problem is that I don't want non mission critical hosts alerting staff to a service problem in the middle of the night when the problem can wait till the morning. Will I have to duplicate service config so I can change the notification periodor can I have it set on a per host basis and have that override what is set in the service template? Thanks David -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 yuehung.liu at gmail.com Mon Aug 8 17:19:49 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Mon, 8 Aug 2011 23:19:49 +0800 Subject: Override service notification time In-Reply-To: <4E3FECF7.7050007@noroutetohost.net> References: <4E3FECF7.7050007@noroutetohost.net> Message-ID: maybe you can check this: http://exchange.nagios.org/directory/Addons/Notifications/*-Notification-Managers/Rule-2DBased-Notifier/details and see if it's what you need. On Mon, Aug 8, 2011 at 10:04 PM, David Wilkinson wrote: > Hi > > I am currently using Nagios with host groups to so that I can add the same > service check to multiple hosts without having to create the same service > multiple times, which is all working fine, the problem is that I don't want > non mission critical hosts alerting staff to a service problem in the middle > of the night when the problem can wait till the morning. > > Will I have to duplicate service config so I can change the notification > period or can I have it set on a per host basis and have that override what > is set in the service template? > > > Thanks > > David > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 > ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 rjm399 at nyu.edu Mon Aug 8 18:01:19 2011 From: rjm399 at nyu.edu (Robert J Molerio) Date: Mon, 8 Aug 2011 12:01:19 -0400 Subject: Nagios Core Log file Message-ID: Hello, I was told the NAGIOS CORE logfile would log any changes made to host command execution ie: External commands:who turned off what and when. Upon examination of my logfile it sems that this is not the case. The log file indicates only that a particular service was enabled or disable but it does not indiacte the user id that performed the change. Can anyone point me in the right direction to make this happen? Snippet of log file : [root at its019-lap-v:var]# pwd /usr/local/nagios/var [root at its019-lap-v:var]# ls -lat total 188 drwxrwxr-x 5 nagios nagios 4096 Aug 8 11:15 . -rw-rw-r-- 1 nagios nagios 51204 Aug 8 11:15 status.dat -rw-r--r-- 1 nagios nagios 4561 Aug 8 11:09 nagios.log -rw------- 1 nagios nagios 50697 Aug 8 11:09 retention.dat drwxrwxr-x 2 nagios nagios 4096 Aug 8 00:00 archives -rw-r--r-- 1 nagios nagios 41229 Aug 5 15:09 objects.cache -rw-r--r-- 1 nagios nagios 6 Aug 1 13:24 nagios.lock drwxrwsr-x 2 nagios nagcmd 4096 Aug 1 13:24 rw drwxrwxr-x 9 nagios nagios 4096 Jul 1 15:06 .. drwxrwxr-x 3 nagios nagios 4096 Jun 27 15:54 spool [root at its019-lap-v:var]# cat nagios.log [1312776000] LOG ROTATION: DAILY [1312776000] LOG VERSION: 2.0 [1312776541] Auto-save of retention data completed successfully. [1312780141] Auto-save of retention data completed successfully. [1312783741] Auto-save of retention data completed successfully. [1312787341] Auto-save of retention data completed successfully. [1312790941] Auto-save of retention data completed successfully. [1312794541] Auto-save of retention data completed successfully. [1312798141] Auto-save of retention data completed successfully. [1312801741] Auto-save of retention data completed successfully. [1312805172] EXTERNAL COMMAND: DEL_ALL_SVC_COMMENTS;TPC Server;root space [1312805341] Auto-save of retention data completed successfully. [1312808941] Auto-save of retention data completed successfully. [1312812541] Auto-save of retention data completed successfully. [1312816017] EXTERNAL COMMAND: ENABLE_SVC_NOTIFICATIONS;Nagios Server;HTTP [1312816033] EXTERNAL COMMAND: ENABLE_SVC_NOTIFICATIONS;Nagios Server;SSH [1312816141] Auto-save of retention data completed successfully. -- Thank you, Bob Molerio Systems Administrator New York University ITS Computer Facilities Services/Infrastructure Level C-2 75 Third Avenue New York NY 10003-5527 email:robert.molerio at nyu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 jonny.mosco at gmail.com Mon Aug 8 18:45:16 2011 From: jonny.mosco at gmail.com (Jonny Mosco) Date: Mon, 8 Aug 2011 12:45:16 -0400 Subject: Nagios Core Log file In-Reply-To: References: Message-ID: You might want to check your values in nagios.cfg: # INITIAL STATES LOGGING OPTION # If you want Nagios to log all initial host and service states to # the main log file (the first time the service or host is checked) # you can enable this option by setting this value to 1. If you # are not using an external application that does long term state # statistics reporting, you do not need to enable this option. In # this case, set the value to 0. log_initial_states=0 # EXTERNAL COMMANDS LOGGING OPTION # If you don't want Nagios to log external commands, set this value # to 0. If external commands should be logged, set this value to 1. # Note: This option does not include logging of passive service # checks - see the option below for controlling whether or not # passive checks are logged. log_external_commands=1 On Mon, Aug 8, 2011 at 12:01 PM, Robert J Molerio wrote: > Hello, > > I was told the NAGIOS CORE logfile would log any changes made to host > command execution ie: External commands:who turned off what and when. > Upon examination of my logfile it sems that this is not the case. > The log file indicates only that a particular service was enabled or > disable but it does not indiacte the user id that performed the change. > > Can anyone point me in the right direction to make this happen? > > Snippet of log file : > > [root at its019-lap-v:var]# pwd > /usr/local/nagios/var > [root at its019-lap-v:var]# ls -lat > total 188 > drwxrwxr-x 5 nagios nagios 4096 Aug 8 11:15 . > -rw-rw-r-- 1 nagios nagios 51204 Aug 8 11:15 status.dat > -rw-r--r-- 1 nagios nagios 4561 Aug 8 11:09 nagios.log > -rw------- 1 nagios nagios 50697 Aug 8 11:09 retention.dat > drwxrwxr-x 2 nagios nagios 4096 Aug 8 00:00 archives > -rw-r--r-- 1 nagios nagios 41229 Aug 5 15:09 objects.cache > -rw-r--r-- 1 nagios nagios 6 Aug 1 13:24 nagios.lock > drwxrwsr-x 2 nagios nagcmd 4096 Aug 1 13:24 rw > drwxrwxr-x 9 nagios nagios 4096 Jul 1 15:06 .. > drwxrwxr-x 3 nagios nagios 4096 Jun 27 15:54 spool > [root at its019-lap-v:var]# cat nagios.log > [1312776000] LOG ROTATION: DAILY > [1312776000] LOG VERSION: 2.0 > [1312776541] Auto-save of retention data completed successfully. > [1312780141] Auto-save of retention data completed successfully. > [1312783741] Auto-save of retention data completed successfully. > [1312787341] Auto-save of retention data completed successfully. > [1312790941] Auto-save of retention data completed successfully. > [1312794541] Auto-save of retention data completed successfully. > [1312798141] Auto-save of retention data completed successfully. > [1312801741] Auto-save of retention data completed successfully. > [1312805172] EXTERNAL COMMAND: DEL_ALL_SVC_COMMENTS;TPC Server;root space > [1312805341] Auto-save of retention data completed successfully. > [1312808941] Auto-save of retention data completed successfully. > [1312812541] Auto-save of retention data completed successfully. > [1312816017] EXTERNAL COMMAND: ENABLE_SVC_NOTIFICATIONS;Nagios Server;HTTP > [1312816033] EXTERNAL COMMAND: ENABLE_SVC_NOTIFICATIONS;Nagios Server;SSH > [1312816141] Auto-save of retention data completed successfully. > > > -- > Thank you, > > Bob Molerio > Systems Administrator > New York University > ITS Computer Facilities Services/Infrastructure > Level C-2 > 75 Third Avenue > New York NY 10003-5527 > email:robert.molerio at nyu.edu > > > > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 michael.friedrich at univie.ac.at Mon Aug 8 19:05:01 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Mon, 08 Aug 2011 19:05:01 +0200 Subject: Nagios Core Log file In-Reply-To: References: Message-ID: <4E40173D.5040601@univie.ac.at> On 2011-08-08 18:01, Robert J Molerio wrote: > Hello, > > I was told the NAGIOS CORE logfile would log any changes made to > host command execution ie: External commands:who turned off what > and when. > Upon examination of my logfile it sems that this is not the case. > The log file indicates only that a particular service was enabled or > disable but it does not indiacte the user id that performed the change. > Can anyone point me in the right direction to make this happen? this isn't possible with nagios core. you'd better catch up on your application sending the external commands, logging that to somewhere. e.g. if you are using the nagios classic ui with the cmd.cgi, you might hack that to log the user into a seperate file. we did hack that in icinga classic and cmd.cgi so that each user and ip address are logged into a seperated file (see https://dev.icinga.org/issues/1161 for more information). but vanilla nagios cgis don't support that - supposingly you'll open a feature request (if not already there) on tracker.nagios.org to get that feature into nagios too. kind regards, michael > Snippet of log file : > [root at its019-lap-v:var]# pwd > /usr/local/nagios/var > [root at its019-lap-v:var]# ls -lat > total 188 > drwxrwxr-x 5 nagios nagios 4096 Aug 8 11:15 . > -rw-rw-r-- 1 nagios nagios 51204 Aug 8 11:15 status.dat > -rw-r--r-- 1 nagios nagios 4561 Aug 8 11:09 nagios.log > -rw------- 1 nagios nagios 50697 Aug 8 11:09 retention.dat > drwxrwxr-x 2 nagios nagios 4096 Aug 8 00:00 archives > -rw-r--r-- 1 nagios nagios 41229 Aug 5 15:09 objects.cache > -rw-r--r-- 1 nagios nagios 6 Aug 1 13:24 nagios.lock > drwxrwsr-x 2 nagios nagcmd 4096 Aug 1 13:24 rw > drwxrwxr-x 9 nagios nagios 4096 Jul 1 15:06 .. > drwxrwxr-x 3 nagios nagios 4096 Jun 27 15:54 spool > [root at its019-lap-v:var]# cat nagios.log > [1312776000] LOG ROTATION: DAILY > [1312776000] LOG VERSION: 2.0 > [1312776541] Auto-save of retention data completed successfully. > [1312780141] Auto-save of retention data completed successfully. > [1312783741] Auto-save of retention data completed successfully. > [1312787341] Auto-save of retention data completed successfully. > [1312790941] Auto-save of retention data completed successfully. > [1312794541] Auto-save of retention data completed successfully. > [1312798141] Auto-save of retention data completed successfully. > [1312801741] Auto-save of retention data completed successfully. > [1312805172] EXTERNAL COMMAND: DEL_ALL_SVC_COMMENTS;TPC Server;root space > [1312805341] Auto-save of retention data completed successfully. > [1312808941] Auto-save of retention data completed successfully. > [1312812541] Auto-save of retention data completed successfully. > [1312816017] EXTERNAL COMMAND: ENABLE_SVC_NOTIFICATIONS;Nagios Server;HTTP > [1312816033] EXTERNAL COMMAND: ENABLE_SVC_NOTIFICATIONS;Nagios Server;SSH > [1312816141] Auto-save of retention data completed successfully. > > > -- > Thank you, > > Bob Molerio > Systems Administrator > New York University > ITS Computer Facilities Services/Infrastructure > Level C-2 > 75 Third Avenue > New York NY 10003-5527 > email:robert.molerio at nyu.edu > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos& much more. Register early& save! > http://p.sf.net/sfu/rim-blackberry-1 > > > _______________________________________________ > 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 -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 -------------- 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 Aug 8 19:18:22 2011 From: cbeattie at geninfo.com (Chris Beattie) Date: Mon, 8 Aug 2011 13:18:22 -0400 Subject: Override service notification time In-Reply-To: <4E3FECF7.7050007@noroutetohost.net> References: <4E3FECF7.7050007@noroutetohost.net> Message-ID: <4E401A5E.3080102@geninfo.com> David Wilkinson wrote: > Will I have to duplicate service config so I can change the notification > period or can I have it set on a per host basis and have that override > what is set in the service template? You can set it on a per-host basis. If you do not define a notification timeperiod in a service's template or definition, the service will inherit its notification timeperiod from its associated host. Check out the section on "implied inheritance" here: http://nagios.sourceforge.net/docs/nagioscore/3/en/objectinheritance.html I have separate host templates for my development and production servers which have different notification timeperiods, and one set of service definitions associated with both types of hosts. -- -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. ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 dredmorbius at gmail.com Tue Aug 9 02:40:44 2011 From: dredmorbius at gmail.com (Edward Morbius) Date: Mon, 8 Aug 2011 17:40:44 -0700 Subject: check_http with multiple outcomes? Message-ID: We're monitoring a local Jetty (Java webserver) process using an application status page. When everything's going well, it includes the string "OK", which we check for. This should be a clearly successful status test. When everything's not going well, we get some sort of 4xx or 5xx error message. This should trigger alerts immediately. When some things are going well and others aren't fully up to speed (slow database), we'll get a "DATABASE_TEST_RAN_LONG", which isn't ideal, but at least for a few occurances (n <= 5) we can live with. In particular, we DON'T want a single result sounding off pagers in the middle of the night. The current test looks like: define command{ command_name check_jetty command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -u /serviceStatus -e 200 -s OK } What would be a sane process of getting Nagios to: - Report all clear when we get a 200 status and "OK" text on page? - Wait for 6 consecutive instances of "DATABASE_TEST_RAN_LONG" before alerting for that result. - Alert immediately on any cases not matching one of the above? I don't believe we can capture this in a single test unless I'm missing something. Thanks in advance. -- Dr. Ed Morbius Chief Scientist Krell Power Systems Unlimited -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev -------------- 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 terry at cnysupport.com Tue Aug 9 05:37:44 2011 From: terry at cnysupport.com (Terry Carmen) Date: Mon, 08 Aug 2011 23:37:44 -0400 Subject: check_http with multiple outcomes? In-Reply-To: References: Message-ID: <20110808233744.93554acwx9fi912c@www.cnysupport.com> Quoting Edward Morbius : > > When some things are going well and others aren't fully up to speed (slow > database), we'll get a "DATABASE_TEST_RAN_LONG", which isn't ideal, but at > least for a few occurances (n <= 5) we can live with.? In particular, we > DON'T want a single result sounding off pagers in the middle of the night. You can specify -e "OK,DATABASE_TEST_RAN_LONG", then let the plugin decide if it's slow or not, with the -w,? -c and -t? parameters. Terry [-w ] [-c ] [-t ] [ > > The current test looks like: > > define command{ >? ? ? ? ?command_name? ? check_jetty >? ? ? ? ?command_line? ? /usr/lib/nagios/plugins/check_http -H > '$HOSTADDRESS$' -u /serviceStatus -e 200 -s OK >? ? ? ? ?} > > What would be a sane process of getting Nagios to: > >? - Report all clear when we get a 200 status and "OK" text on page? >? - Wait for 6 consecutive instances of "DATABASE_TEST_RAN_LONG" before > alerting for that result. >? - Alert immediately on any cases not matching one of the above? > > I don't believe we can capture this in a single test unless I'm missing > something. > > Thanks in advance. > > -- > Dr. Ed Morbius > Chief Scientist > Krell Power Systems Unlimited > ? -- Terry Carmen CNY Support, LLC Web. Database. Business. http://www.cnysupport.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev -------------- 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 TGFurnish at herffjones.com Tue Aug 9 06:30:14 2011 From: TGFurnish at herffjones.com (Furnish, Trever G) Date: Tue, 9 Aug 2011 04:30:14 +0000 Subject: Suggestions for event correlation managers? In-Reply-To: References: Message-ID: Anyone? C'mon, don't be shy! :-) -- Trever ________________________________________ From: Furnish, Trever G [TGFurnish at herffjones.com] Sent: Friday, August 05, 2011 4:45 PM To: nagios-users at lists.sourceforge.net Cc: Boeglin, Adam R Subject: [Nagios-users] Suggestions for event correlation managers? Hello, I'm looking for suggestions for applying Nagios' style of event handling (escalations, recoveries, acknowledgements), hopefully with some improvements (aggregation), to events coming from many different (non-Nagios) sources. I know of a few Nagios-specific notification aggregators, but can anyone recommend a good (preferably inexpensive / OSS) way of expanding that to include many other tools? I know about SNARE and RiverMuse, but they're relatively expensive. We make heavy use of Nagios as well as several other tools (MSFT SCOM, HP SIM, Oracle Grid Control, AlertSite.net, etc). They're all sending alerts in various forms to a small group of admins and engineers, so many of us get alerts from all of the tools, sometimes from more than one tool regarding a single event. Nagios does a great job of flexibly managing alerts from its own events, but I don't see how I'd hook in the other tools. Several of the tools (e.g. SCOM and SIM) don't even have any concept of event correlation -- breakage and recovery are two separate events. I see tools like SNARE, RiverMuse ECM, and a few others filling this gap, at least partially, but I don't yet have experience with them and they're relatively expensive. Anyone doing this effectively with OSS tools or low-cost tools or a good home-grown approach you wouldn't mind sharing (and possibly collaborating on)? -- Trever Furnish, tgfurnish at herffjones.com Herff Jones, Inc. Solutions Architect Phone: 317.612.3519 ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 mail at catsnest.co.uk Tue Aug 9 09:25:06 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Tue, 9 Aug 2011 08:25:06 +0100 Subject: Nagios Core Log file In-Reply-To: References: Message-ID: On Mon, Aug 8, 2011 at 5:01 PM, Robert J Molerio wrote: > Hello, > I was told the NAGIOS CORE? logfile? would log any?changes made to host > command? execution ie:? External commands:who turned off what and? when. > Upon examination of my logfile it sems that this is not the case. > The log file indicates only that a particular service was enabled or disable > but it does not indiacte the user id that performed the change. > > Can anyone point me in the right direction to make this happen? Users / Authentication are not as such managed by Nagios core. We use the Nagios cgis running through Apache, so if we want to see which user issued a command we look in the Apache log files. HTH Ritchie, -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> > > Snippet of log file : > > [root at its019-lap-v:var]# pwd > /usr/local/nagios/var > [root at its019-lap-v:var]# ls -lat > total 188 > drwxrwxr-x 5 nagios nagios? 4096 Aug? 8 11:15 . > -rw-rw-r-- 1 nagios nagios 51204 Aug? 8 11:15 status.dat > -rw-r--r-- 1 nagios nagios? 4561 Aug? 8 11:09 nagios.log > -rw------- 1 nagios nagios 50697 Aug? 8 11:09 retention.dat > drwxrwxr-x 2 nagios nagios? 4096 Aug? 8 00:00 archives > -rw-r--r-- 1 nagios nagios 41229 Aug? 5 15:09 objects.cache > -rw-r--r-- 1 nagios nagios???? 6 Aug? 1 13:24 nagios.lock > drwxrwsr-x 2 nagios nagcmd? 4096 Aug? 1 13:24 rw > drwxrwxr-x 9 nagios nagios? 4096 Jul? 1 15:06 .. > drwxrwxr-x 3 nagios nagios? 4096 Jun 27 15:54 spool > [root at its019-lap-v:var]# cat nagios.log > [1312776000] LOG ROTATION: DAILY > [1312776000] LOG VERSION: 2.0 > [1312776541] Auto-save of retention data completed successfully. > [1312780141] Auto-save of retention data completed successfully. > [1312783741] Auto-save of retention data completed successfully. > [1312787341] Auto-save of retention data completed successfully. > [1312790941] Auto-save of retention data completed successfully. > [1312794541] Auto-save of retention data completed successfully. > [1312798141] Auto-save of retention data completed successfully. > [1312801741] Auto-save of retention data completed successfully. > [1312805172] EXTERNAL COMMAND: DEL_ALL_SVC_COMMENTS;TPC Server;root space > [1312805341] Auto-save of retention data completed successfully. > [1312808941] Auto-save of retention data completed successfully. > [1312812541] Auto-save of retention data completed successfully. > [1312816017] EXTERNAL COMMAND: ENABLE_SVC_NOTIFICATIONS;Nagios Server;HTTP > [1312816033] EXTERNAL COMMAND: ENABLE_SVC_NOTIFICATIONS;Nagios Server;SSH > [1312816141] Auto-save of retention data completed successfully. > > > -- > Thank you, > > Bob Molerio > Systems Administrator > New York University > ITS Computer Facilities Services/Infrastructure > Level C-2 > 75 Third Avenue > New York NY 10003-5527 > email:robert.molerio at nyu.edu > > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 > ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 lomiz.mail at gmail.com Tue Aug 9 09:40:17 2011 From: lomiz.mail at gmail.com (Enrico Zimol) Date: Tue, 9 Aug 2011 09:40:17 +0200 Subject: Nagios Core Log file In-Reply-To: References: Message-ID: On 9 August 2011 09:25, wrote: > On Mon, Aug 8, 2011 at 5:01 PM, Robert J Molerio wrote: >> >> Can anyone point me in the right direction to make this happen? >> > which user issued a command we look in the Apache log files. ... that you can find in /var/log/httpd/ on RedHat based distribution.. Example: tail -f /var/log/httpd/access_log Bye ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 max.asterisk at gmail.com Tue Aug 9 12:43:18 2011 From: max.asterisk at gmail.com (Max Alex) Date: Tue, 9 Aug 2011 16:13:18 +0530 Subject: Look soku89 Message-ID: 04y10q5o5qqq. http://ianscott.biz/wp-content/uploads/img/oafv.html 79o9xjv 4q6rlp n1nprps0, 6a8svdq kh7uwj. fpiwe quqcnwb2a 6t5e5e. -- Thanks, Max Alex Voip Developer ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 Aug 9 12:52:11 2011 From: mark.frost1 at pepsico.com (Frost, Mark {PBC}) Date: Tue, 9 Aug 2011 06:52:11 -0400 Subject: Suggestions for event correlation managers? In-Reply-To: References: , Message-ID: Splunk perhaps? Mark ________________________________________ From: Furnish, Trever G [TGFurnish at herffjones.com] Sent: Tuesday, August 09, 2011 12:30 AM To: Nagios Users List Subject: Re: [Nagios-users] Suggestions for event correlation managers? Anyone? C'mon, don't be shy! :-) -- Trever ________________________________________ From: Furnish, Trever G [TGFurnish at herffjones.com] Sent: Friday, August 05, 2011 4:45 PM To: nagios-users at lists.sourceforge.net Cc: Boeglin, Adam R Subject: [Nagios-users] Suggestions for event correlation managers? Hello, I'm looking for suggestions for applying Nagios' style of event handling (escalations, recoveries, acknowledgements), hopefully with some improvements (aggregation), to events coming from many different (non-Nagios) sources. I know of a few Nagios-specific notification aggregators, but can anyone recommend a good (preferably inexpensive / OSS) way of expanding that to include many other tools? I know about SNARE and RiverMuse, but they're relatively expensive. We make heavy use of Nagios as well as several other tools (MSFT SCOM, HP SIM, Oracle Grid Control, AlertSite.net, etc). They're all sending alerts in various forms to a small group of admins and engineers, so many of us get alerts from all of the tools, sometimes from more than one tool regarding a single event. Nagios does a great job of flexibly managing alerts from its own events, but I don't see how I'd hook in the other tools. Several of the tools (e.g. SCOM and SIM) don't even have any concept of event correlation -- breakage and recovery are two separate events. I see tools like SNARE, RiverMuse ECM, and a few others filling this gap, at least partially, but I don't yet have experience with them and they're relatively expensive. Anyone doing this effectively with OSS tools or low-cost tools or a good home-grown approach you wouldn't mind sharing (and possibly collaborating on)? -- Trever Furnish, tgfurnish at herffjones.com Herff Jones, Inc. Solutions Architect Phone: 317.612.3519 ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 serajddin.mahmoud at gmail.com Tue Aug 9 13:30:24 2011 From: serajddin.mahmoud at gmail.com (=?UTF-8?B?2LnYqNivINin2YTYrdmF2YrYryA=?=) Date: Tue, 9 Aug 2011 13:30:24 +0200 Subject: contact user Message-ID: hello, how can i configure a contact for some hosts for exmple host A and B? best regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev -------------- 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 serajddin.mahmoud at gmail.com Tue Aug 9 13:58:28 2011 From: serajddin.mahmoud at gmail.com (=?UTF-8?B?2LnYqNivINin2YTYrdmF2YrYryA=?=) Date: Tue, 9 Aug 2011 13:58:28 +0200 Subject: contact user In-Reply-To: References: Message-ID: thanks it's fine now -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev -------------- 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-users at noroutetohost.net Tue Aug 9 15:02:06 2011 From: nagios-users at noroutetohost.net (David Wilkinson) Date: Tue, 09 Aug 2011 14:02:06 +0100 Subject: Override service notification time In-Reply-To: <4E401A5E.3080102@geninfo.com> References: <4E3FECF7.7050007@noroutetohost.net> <4E401A5E.3080102@geninfo.com> Message-ID: <4E412FCE.5090807@noroutetohost.net> On 08/08/11 18:18, Chris Beattie wrote: > > You can set it on a per-host basis. If you do not define a notification > timeperiod in a service's template or definition, the service will > inherit its notification timeperiod from its associated host. > > Check out the section on "implied inheritance" here: > http://nagios.sourceforge.net/docs/nagioscore/3/en/objectinheritance.html > > I have separate host templates for my development and production servers > which have different notification timeperiods, and one set of service > definitions associated with both types of hosts. > Ah yes, that was the problem, I had the timeperiod set in the service template, I removed it from the template and it was inherited it from host. Thanks ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 dredmorbius at gmail.com Tue Aug 9 17:40:56 2011 From: dredmorbius at gmail.com (Dr. Ed Morbius) Date: Tue, 9 Aug 2011 08:40:56 -0700 Subject: check_http with multiple outcomes? In-Reply-To: <20110808233744.93554acwx9fi912c@www.cnysupport.com> References: <20110808233744.93554acwx9fi912c@www.cnysupport.com> Message-ID: <20110809154056.GA676@altaira.krellpowersys.exo> Terry: on 23:37 Mon 08 Aug, Terry Carmen (terry at cnysupport.com) wrote: > Quoting Edward Morbius : > > > > When some things are going well and others aren't fully up to speed (slow > > database), we'll get a "DATABASE_TEST_RAN_LONG", which isn't ideal, but at > > least for a few occurances (n <= 5) we can live with.? In particular, we > > DON'T want a single result sounding off pagers in the middle of the night. > > You can specify -e "OK,DATABASE_TEST_RAN_LONG", then let the plugin > decide if it's slow or not, with the -w,? -c and -t? parameters. > > Terry Thanks. I'd considered that. It doesn't quite match what we want to test. I'm thinking we may need to have a few different tests, possibly related to one another. If there's a 4xx/5xx error, it's a hard fail. If there's no 4xx/5xx error, but we get the "DATABASE_TEST_RAN_LONG" result, it's a soft fail, turning hard on 6 repeats. That string appears in our application, it's not a nagios-determined slowness. Alternately, we might want to have a separate test for DB performance (there may well be, I'm still digging through rules and tests). If there's an "OK" result, there's no error. The 4xx/5xx errors are exclusive of the other two possible results. If there's no 4xx/5xx error, we've got the option of either of the other two conditions. So: is this a three-check test? How would I set precedence among them? -- Dr. Ed Morbius, Chief Scientist / | Robot Wrangler / Staff Psychologist | When you seek unlimited power Krell Power Systems Unlimited | Go to Krell! ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 terry at cnysupport.com Tue Aug 9 18:42:46 2011 From: terry at cnysupport.com (Terry Carmen) Date: Tue, 09 Aug 2011 12:42:46 -0400 Subject: check_http with multiple outcomes? In-Reply-To: <20110809154056.GA676@altaira.krellpowersys.exo> References: <20110808233744.93554acwx9fi912c@www.cnysupport.com> <20110809154056.GA676@altaira.krellpowersys.exo> Message-ID: <20110809124246.110671pugdr3da4g@www.cnysupport.com> Quoting "Dr. Ed Morbius" : > Terry: > > on 23:37 Mon 08 Aug, Terry Carmen (terry at cnysupport.com) wrote: >> Quoting Edward Morbius : >> > >> > When some things are going well and others aren't fully up to speed (slow >> > database), we'll get a "DATABASE_TEST_RAN_LONG", which isn't ideal, but at >> > least for a few occurances (n <= 5) we can live with.? In particular, we >> > DON'T want a single result sounding off pagers in the middle of the night. >> >> You can specify -e "OK,DATABASE_TEST_RAN_LONG", then let the plugin >> decide if it's slow or not, with the -w,? -c and -t? parameters. >> >> Terry > > Thanks. > > I'd considered that. It doesn't quite match what we want to test.? I'm > thinking we may need to have a few different tests, possibly related to > one another. > > If there's a 4xx/5xx error, it's a hard fail. > > If there's no 4xx/5xx error, but we get the "DATABASE_TEST_RAN_LONG" > result, it's a soft fail, turning hard on 6 repeats.? That string > appears in our application, it's not a nagios-determined slowness. > Alternately, we might want to have a separate test for DB performance > (there may well be, I'm still digging through rules and tests). > > If there's an "OK" result, there's no error. > > > The 4xx/5xx errors are exclusive of the other two possible results. If > there's no 4xx/5xx error, we've got the option of either of the other > two conditions. > > So: is this a three-check test?? How would I set precedence among them? You can actually completely ignore the DATABASE_TEST_RAN_LONG result and let the plugin decide if it ran long or not. That's part of it's design. The plugin also handles the 4xx and 5xx errors. However if you insist on using the DATABASE_TEST_RAN_LONG result to determine if the server is happy, then you'll need to modify the plugin to catch the string and interpret it as a WARNING?OR?CRITICAL?as appropriate. Nagios won't notify on it until it happens several times in a row, depending on your specific settings. Unless I'm misunderstanding something, The only result that matters is "OK" because everything else is "Not OK", regardless of whether it's a performance issue, an access issue or a server failure. I?believe you're unnecessarily complicating the test. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev -------------- 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 Aug 9 19:44:14 2011 From: justinp at norchemlab.com (Justin Pryzby) Date: Tue, 9 Aug 2011 10:44:14 -0700 Subject: Public page In-Reply-To: References: Message-ID: <20110809174414.GA26702@norchemlab.com> Can you use cgi.cfg:authorized_for_read_only for that? http://nagios.sourceforge.net/docs/3_0/configcgi.html Justin On Sat, Aug 06, 2011 at 06:22:20PM -0300, Diogo Melo wrote: > I would like to use nagios to monitor a few sites I have. But I want to have > a public page where I can show the high service availability I'm getting. > Is there something ready to use that matches with what I want? A way to show > a few results without give any manage control. ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 kim at conviva.com Wed Aug 10 01:08:07 2011 From: kim at conviva.com (Kimberly McKinnis) Date: Tue, 9 Aug 2011 23:08:07 +0000 Subject: check_procs count going haywire on Ubuntu Message-ID: After wondering why all of the processes I'm checking with check_procs were counting an extra, I discovered the bug with /bin/dash under Debian [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626913] As a workaround (because I'm not interested in changing the default shell for the entire server), I called /bin/bash when defining my commands in nrpe.cfg. Now they're going haywire in a different way. For instance: command[check_pdns_config_pub]=/bin/bash -c /usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a "pdns_server --config-name=public" But now Nagios reports: "PROCS OK: 271 processes" I am baffled. Every process I am checking now reports 271, which is how many total processes are running. Prior to explicitly defining the shell in the command, it was reporting correctly but adding one process to the count, so I shouldn't have broken it too badly here. Any suggestions on a better workaround? Thanks! C O N V I V A Kimberly McKinnis | Systems Engineer, Service Delivery | kim at conviva.com | Mobile: 724.612.2716 | 2 WATERS PARK DRIVE | SUITE 150 | SAN MATEO | CA | 94403 | www.conviva.com | ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 up at 3.am Wed Aug 10 02:11:25 2011 From: up at 3.am (up at 3.am) Date: Tue, 9 Aug 2011 20:11:25 -0400 Subject: check_procs count going haywire on Ubuntu In-Reply-To: References: Message-ID: > After wondering why all of the processes I'm checking with check_procs > were counting an extra, I discovered the bug with /bin/dash under Debian > [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626913] > > As a workaround (because I'm not interested in changing the default shell > for the entire server), I called /bin/bash when defining my commands in > nrpe.cfg. Now they're going haywire in a different way. For instance: > > command[check_pdns_config_pub]=/bin/bash -c > /usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a "pdns_server > --config-name=public" > > But now Nagios reports: "PROCS OK: 271 processes" > > I am baffled. Every process I am checking now reports 271, which is how > many total processes are running. Prior to explicitly defining the shell > in the command, it was reporting correctly but adding one process to the > count, so I shouldn't have broken it too badly here. > > Any suggestions on a better workaround? Thanks! I am just guessing here, but it looks apparent that the arguments after check_procs aren't being passed along to the shell. Just for gags, have you tried taking the "-c" out, if necessary, by invoking the plugin from a separatge bash shell script (without -c) with all the arguments in the script? ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 up at 3.am Wed Aug 10 02:17:33 2011 From: up at 3.am (up at 3.am) Date: Tue, 9 Aug 2011 20:17:33 -0400 Subject: check_procs count going haywire on Ubuntu In-Reply-To: References: Message-ID: <2e0e557a632b5605dc24ae7d5210bbb7.squirrel@ssl.pil.net> > After wondering why all of the processes I'm checking with check_procs > were counting an extra, I discovered the bug with /bin/dash under Debian > [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626913] > > As a workaround (because I'm not interested in changing the default shell > for the entire server), I called /bin/bash when defining my commands in > nrpe.cfg. Now they're going haywire in a different way. For instance: > > command[check_pdns_config_pub]=/bin/bash -c > /usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a "pdns_server > --config-name=public" Wait...looks like your quotes are in the wrong place. Try: command[check_pdns_config_pub]=/bin/bash -c "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a pdns_server --config-name=public" Everything after -c should be in double quotes. ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 Stuart.Jones at health.wa.gov.au Wed Aug 10 02:26:05 2011 From: Stuart.Jones at health.wa.gov.au (Jones, Stuart) Date: Wed, 10 Aug 2011 08:26:05 +0800 Subject: Monitoring throughput for compression and SSL oncisco ace 4710 In-Reply-To: <4E3F8648.70405@gmail.com> References: <4E3F8648.70405@gmail.com> Message-ID: I recall an issue getting the correct syntax when I transitioned from cli snmp MIB gets, however I need time to go back through my commissioning notes to find out what the roo issue was. In the meantime this below is a sample of what I'm currently using: cmmands.cfg: define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ } ACE-snmp-check.cfg extract: define service{ use generic-service-t5 host_name DC1 ACE sub-system - ACE module - acedc01c6504 service_description Context-PACSTEST throughput [through the ACE Bytes per second] - Denied check_command check_snmp!-C ROpassword at SpecificContext -P 2c -o .1.3.6.1.4.1.9.9.480.1.1.4.1.8.8.80.65.67.83.84.69.83.84.11 -w 1 -c 2 ; servicegroups ACE-DC1-SpecificContext } -----Original Message----- From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] Sent: Monday, 8 August 2011 2:47 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring throughput for compression and SSL oncisco ace 4710 Stuart my output is as follows -o .1.3.6.1.4.1.9.9.254.1.1.1.1.3.1 -C $HOSTSNMP_COMMUNITY$ -w @40:44 -c ~:45 -t 60 it works on command line but times out when the check runs normally after setting it up in nagios ql. On 08/08/2011 01:02, Jones, Stuart wrote: > Can you provide details of your check_snmp command please? > > -----Original Message----- > From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] > Sent: Friday, 5 August 2011 3:28 PM > To: Nagios Users List > Subject: Re: [Nagios-users] Monitoring throughput for compression and > SSL oncisco ace 4710 > > ok. i got that sorted more or less but what im not getting is this. > > I run the check snmp via commandline it runs fine, but in regards to ssl > when i run the check via nagios and not command line it times out. i > added the -t switch to increase the time out but its not working. it > still times out. any ideas? > > On 05/08/2011 09:17, Jones, Stuart wrote: >> If you load the MIB file: CISCO-L4L7MODULE-RESOURCE-LIMIT-MIB into >> your snmp directory then use a snmpwalk referencing that MIB, or use a >> MIB browser, you should get something like: >> >> crlResourceSummaryCurrentUsage.26 0 Gauge >> crlResourceSummaryCurrentUsage.27 6094 Gauge >> crlResourceSummaryCurrentUsage.28 16652203 Gauge >> crlResourceSummaryCurrentUsage.29 0 Gauge >> crlResourceSummaryPeakUsage.2 9113 Gauge >> crlResourceSummaryPeakUsage.3 410 Gauge >> crlResourceSummaryPeakUsage.4 389 Gauge >> crlResourceSummaryPeakUsage.6 2771 Gauge >> >> >> You can then use Nagios, check_snmp, to query& alert based on a >> threshold you define subject to your licence and setting. >> >> >> -----Original Message----- >> From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] >> Sent: Thursday, 4 August 2011 2:43 PM >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Monitoring throughput for compression and >> SSL oncisco ace 4710 >> >> Does the OID work for both compression and SSL? >> >> On 04/08/2011 01:49, Jones, Stuart wrote: >>> I'm using the subset from: >>> >>> 1.3.6.1.4.1.9.9.480 >>> >>> Try it and let me know if you need further assistance. >>> >>> -----Original Message----- >>> From: Jonathan Aquilina [mailto:eagles051387 at gmail.com] >>> Sent: Wednesday, 3 August 2011 3:07 PM >>> To: Nagios Users List >>> Subject: [Nagios-users] Monitoring throughput for compression and SSL >>> oncisco ace 4710 >>> >>> Hey guys I am trying to monitor through put for the above services >>> and device. >>> >>> I was told to use the check_snmp check, but I have no idea what OID I >>> am >>> >>> looking for can anyone point me in the right direction for the OID i >>> should be using? >>> >>> --------------------------------------------------------------------- >>> - >>> -- >>> ------ >>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The >>> must-attend event for mobile developers. Connect with experts. >>> Get tools for creating Super Apps. See the latest technologies. >>> Sessions, hands-on labs, demos& much more. Register early& save! >>> http://p.sf.net/sfu/rim-blackberry-1 >>> _______________________________________________ >>> 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 >>> >>> --------------------------------------------------------------------- >>> - >>> -------- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, >>> CA The must-attend event for mobile developers. Connect with experts. >>> Get tools for creating Super Apps. See the latest technologies. >>> Sessions, hands-on labs, demos& much more. Register early& save! >>> http://p.sf.net/sfu/rim-blackberry-1 >>> _______________________________________________ >>> 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 >> ---------------------------------------------------------------------- >> -- >> ------ >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The >> must-attend event for mobile developers. Connect with experts. >> Get tools for creating Super Apps. See the latest technologies. >> Sessions, hands-on labs, demos& much more. Register early& save! >> http://p.sf.net/sfu/rim-blackberry-1 >> _______________________________________________ >> 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 >> >> ---------------------------------------------------------------------- >> -------- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, >> CA The must-attend event for mobile developers. Connect with experts. >> Get tools for creating Super Apps. See the latest technologies. >> Sessions, hands-on labs, demos& much more. Register early& save! >> http://p.sf.net/sfu/rim-blackberry-1 >> _______________________________________________ >> 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 > > ------------------------------------------------------------------------ > ------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The > must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos& much more. Register early& save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 > > ------------------------------------------------------------------------ ------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos& much more. Register early& save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > 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 ------------------------------------------------------------------------ ------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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 -------------- ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev -------------- 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 mail at tomsommer.dk Wed Aug 10 10:01:52 2011 From: mail at tomsommer.dk (Tom Sommer) Date: Wed, 10 Aug 2011 10:01:52 +0200 Subject: Removing 1 inheritance Message-ID: <0ce3c7a3c514560c7a7ac6f15b3e1259.squirrel@webmail.dreamcoder.dk> Hi, I have a default service, which all my services inherit their contact_groups from. Now I want to exclude 1 group from the inheritance, like so: define service { use generic-service .... contact_groups -ondutypager } The - operator doesn't work, whereas the + operator does (add 1 item to the inheritance), are there any workaround to this? Thanks ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 mail at catsnest.co.uk Wed Aug 10 10:51:08 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Wed, 10 Aug 2011 09:51:08 +0100 Subject: Removing 1 inheritance In-Reply-To: <0ce3c7a3c514560c7a7ac6f15b3e1259.squirrel@webmail.dreamcoder.dk> References: <0ce3c7a3c514560c7a7ac6f15b3e1259.squirrel@webmail.dreamcoder.dk> Message-ID: On Wed, Aug 10, 2011 at 9:01 AM, Tom Sommer wrote: > Hi, > > I have a default service, which all my services inherit their > contact_groups from. > > Now I want to exclude 1 group from the inheritance, like so: > > > define service { > ? ? ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? generic-service > .... > ? ? ? ?contact_groups ? ? ? ? ? ? ? ? ?-ondutypager > } > This works for hostgroups... " hostgroups .*,!ondutypager" eg use '!' instead of '-' Ritchie, -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> > The - operator doesn't work, whereas the + operator does (add 1 item to > the inheritance), are there any workaround to this? > > Thanks > > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: ?http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > 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 > ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 chr.pinedo at gmail.com Wed Aug 10 12:12:39 2011 From: chr.pinedo at gmail.com (Christian Pinedo Zamalloa) Date: Wed, 10 Aug 2011 12:12:39 +0200 Subject: nagios DNX and PNP4Nagios Message-ID: Hello, I'm studying solutions for scaling large installations of Nagios. I have found DNX project for Nagios but I have a question. DNX worker nodes do the check and report the result to Nagios server, but the nagios server will have to process the performance data reported by worker nodes with PNP4Nagios. So DNX by istself won't be able to unload the Nagios Server because PNP4Nagios is one of the most demanding addons of I/O. And probably I will continue having scaling problems. Am I right? Which would be the best solution for PNP4Nagios? Thanks, -- Christian Pinedo Zamalloa (zako) PGP keyID: 0x828D0C80 Fingerprint: 7BFF 4105 F46B 7977 BD96? 348C 1007 4FF8 828D 0C80 ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 okama at corp.globo.com Wed Aug 10 13:58:49 2011 From: okama at corp.globo.com (Luis Henrique Okama) Date: Wed, 10 Aug 2011 08:58:49 -0300 Subject: nagios DNX and PNP4Nagios In-Reply-To: References: Message-ID: Hi Christian, Take a look on gearman + mod_gearman. http://labs.consol.de/lang/de/nagios/mod-gearman/ regards Luis H. Okama On Wed, Aug 10, 2011 at 7:12 AM, Christian Pinedo Zamalloa < chr.pinedo at gmail.com> wrote: > Hello, > > I'm studying solutions for scaling large installations of Nagios. I > have found DNX project for Nagios but I have a question. > > DNX worker nodes do the check and report the result to Nagios server, > but the nagios server will have to process the performance data > reported by worker nodes with PNP4Nagios. So DNX by istself won't be > able to unload the Nagios Server because PNP4Nagios is one of the most > demanding addons of I/O. And probably I will continue having scaling > problems. > > Am I right? Which would be the best solution for PNP4Nagios? > > Thanks, > > -- > Christian Pinedo Zamalloa (zako) > PGP keyID: 0x828D0C80 > Fingerprint: 7BFF 4105 F46B 7977 BD96 348C 1007 4FF8 828D 0C80 > > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > 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 > -- Atc, Okama -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev -------------- 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 chr.pinedo at gmail.com Wed Aug 10 14:53:01 2011 From: chr.pinedo at gmail.com (Christian Pinedo Zamalloa) Date: Wed, 10 Aug 2011 14:53:01 +0200 Subject: nagios DNX and PNP4Nagios In-Reply-To: References: Message-ID: It seems amazing, thanks for the link! 2011/8/10 Luis Henrique Okama : > Hi Christian, > Take a look on gearman + mod_gearman. > > http://labs.consol.de/lang/de/nagios/mod-gearman/ > regards > Luis H. Okama > > On Wed, Aug 10, 2011 at 7:12 AM, Christian Pinedo Zamalloa > wrote: >> >> Hello, >> >> I'm studying solutions for scaling large installations of Nagios. I >> have found DNX project for Nagios but I have a question. >> >> DNX worker nodes do the check and report the result to Nagios server, >> but the nagios server will have to process the performance data >> reported by worker nodes with PNP4Nagios. So DNX by istself won't be >> able to unload the Nagios Server because PNP4Nagios is one of the most >> demanding addons of I/O. And probably I will continue having scaling >> problems. >> >> Am I right? Which would be the best solution for PNP4Nagios? >> >> Thanks, >> >> -- >> Christian Pinedo Zamalloa (zako) >> PGP keyID: 0x828D0C80 >> Fingerprint: 7BFF 4105 F46B 7977 BD96? 348C 1007 4FF8 828D 0C80 >> >> >> ------------------------------------------------------------------------------ >> uberSVN's rich system and user administration capabilities and model >> configuration take the hassle out of deploying and managing Subversion and >> the tools developers use with it. Learn more about uberSVN and get a free >> download at: ?http://p.sf.net/sfu/wandisco-dev2dev >> _______________________________________________ >> 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 > > > > -- > Atc, > > Okama > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: ?http://p.sf.net/sfu/wandisco-dev2dev > > _______________________________________________ > 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 > -- Christian Pinedo Zamalloa (zako) PGP keyID: 0x828D0C80 Fingerprint: 7BFF 4105 F46B 7977 BD96? 348C 1007 4FF8 828D 0C80 ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 manikumar85 at gmail.com Wed Aug 10 17:25:58 2011 From: manikumar85 at gmail.com (Manish Kumar) Date: Wed, 10 Aug 2011 20:55:58 +0530 Subject: Nagios-XI Message-ID: *Hi all,* I need one clarification on installation of Nagios-XI. We have downloaded NagiosXI trial to evaluate. Have some issues while installation. We don?t have internet connection to Server which we are trying to install. But while trying to install running ./fullinstall its getting stuck with yum install . Not able to find repositories since no internet. Is there any option or doc which will helps us in installing NagiosXI without internet connection. -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev -------------- 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 rjm399 at nyu.edu Wed Aug 10 18:23:17 2011 From: rjm399 at nyu.edu (Robert J Molerio) Date: Wed, 10 Aug 2011 12:23:17 -0400 Subject: Nagios authentication thru LDAP. Message-ID: Can anyone indicate how this can be done? We would like users to log on to Nagios via LDAP. I think we need to configure the Apache server within Nagios to be able to do this but we're not sure. -- Thank you, Bob Molerio Systems Administrator New York University ITS Computer Facilities Services/Infrastructure Level C-2 75 Third Avenue New York NY 10003-5527 email:robert.molerio at nyu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev -------------- 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 jpratt at norwich.edu Wed Aug 10 18:54:21 2011 From: jpratt at norwich.edu (James Pratt) Date: Wed, 10 Aug 2011 16:54:21 +0000 Subject: Nagios authentication thru LDAP. In-Reply-To: References: Message-ID: <838D552D6FE6A942A53134195C53C2DE974C41@NUEXCH1.norwich.edu> Hi If you are looking for Active Directory or Kerberos ldap authentication, see this link - http://wiki.nagios.org/index.php/Windows_Authentication (Not sure how different it is if you are using another LDAP, sorry)! Cheers, James --- From: Robert J Molerio [mailto:rjm399 at nyu.edu] Sent: Wednesday, August 10, 2011 12:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios authentication thru LDAP. Can anyone?indicate how this can be done? We would like users to log on to Nagios via LDAP. I think we need to configure the Apache server within Nagios to be able to do this but we're not sure. -- Thank you, Bob Molerio Systems Administrator New York University ITS Computer Facilities Services/Infrastructure Level C-2 75 Third Avenue? ? ? ? ? ? ? ? ? ? ? ? New York NY 10003-5527 email:robert.molerio at nyu.edu ? ? ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 terry at cnysupport.com Wed Aug 10 19:42:43 2011 From: terry at cnysupport.com (Terry Carmen) Date: Wed, 10 Aug 2011 13:42:43 -0400 Subject: Nagios authentication thru LDAP. In-Reply-To: References: Message-ID: <20110810134243.17617c10xch7q48w@www.cnysupport.com> Quoting Robert J Molerio : > Can anyone indicate how this can be done? > We would like users to log on to Nagios via LDAP. > I think we need to configure the Apache server within Nagios to be able to > do this but we're not sure. It's definitely possible using Apache's LDAP?auth, however you might want to consider that when your network is going ape****, it's really nice to know that your Nagios machine doesn't require any external resources. That's why I?chose local auth (htpasswd). Now matter how much of the brown stuff is flying around, Nagios is up. Terry -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev -------------- 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 mike-nagios at 5dninja.net Wed Aug 10 19:48:55 2011 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Wed, 10 Aug 2011 10:48:55 -0700 Subject: Nagios authentication thru LDAP. In-Reply-To: References: Message-ID: <4E42C487.90200@5dninja.net> On 8/10/11 9:23 AM, Robert J Molerio wrote: > Can anyone indicate how this can be done? > We would like users to log on to Nagios via LDAP. > I think we need to configure the Apache server within Nagios to be > able to do this but we're not sure. Depending on your version of Apache this ranges from a pain in the rear, to nigh impossible. It's doable, but I've often found it easier and more stable, to have a cronjob that exports the ldap users to an htpasswd file. Requires fewer changes to your Apache installation, and doesn't lock your users out of your Nagios install if LDAP fails. -- Mike Lindsey ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 jim at jimavery.me.uk Wed Aug 10 20:10:08 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 10 Aug 2011 19:10:08 +0100 Subject: Deleting old comments Message-ID: I'm about half way through writing a perl script to delete old comments (more than n days old) from Nagios. Before I spend more time on it though, if anyone else already has something that does that, please shout! ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 up at 3.am Wed Aug 10 20:16:07 2011 From: up at 3.am (up at 3.am) Date: Wed, 10 Aug 2011 14:16:07 -0400 Subject: Nagios authentication thru LDAP. In-Reply-To: <20110810134243.17617c10xch7q48w@www.cnysupport.com> References: <20110810134243.17617c10xch7q48w@www.cnysupport.com> Message-ID: <0e4af0f4ff9d8eab72eac67755808d95.squirrel@ssl.pil.net> > Quoting Robert J Molerio : > >> Can anyone indicate how this can be done? >> We would like users to log on to Nagios via LDAP. >> I think we need to configure the Apache server within Nagios to be able to >> do this but we're not sure. > > It's definitely possible using Apache's LDAP??auth, however you might want to > consider that when your network is going ape****, it's really nice to know that > your Nagios machine doesn't require any external resources. > > That's why I??chose local auth (htpasswd). > > Now matter how much of the brown stuff is flying around, Nagios is up. Those are the times that once I am notified, I wish nagios would shut up already ;-) For authentication only Nagios will still send out notifications, even if you can't get into its web interface, which is all we're talking about authenticating here. Always have more than one LDAP source, but this should be fairly easy to do using Apache's mod_auth_ldap. Disclaimer: I haven't used that mod, but I HAVE used mod_auth_xradius, which in turn used radius+LDAP, which has got to be at least as complicated as using LDAP directly. ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 kim at conviva.com Wed Aug 10 20:24:17 2011 From: kim at conviva.com (Kimberly McKinnis) Date: Wed, 10 Aug 2011 18:24:17 +0000 Subject: check_procs count going haywire on Ubuntu - still broken In-Reply-To: <2e0e557a632b5605dc24ae7d5210bbb7.squirrel@ssl.pil.net> References: <2e0e557a632b5605dc24ae7d5210bbb7.squirrel@ssl.pil.net> Message-ID: Thank you for that observation. I was being dumb with the quoting. But?it's still not working correctly. The commands work properly on the command line on the host (admin1), but the Nagios server (monitor1) sees +1 count again. I am very confused by this. Does Nagios server force it back to the dash shell in Ubuntu? I thought maybe the +1 was transient because I ran the check manual, but all of the checks are also reporting +1 and I haven't run them manually. My check looks like: command[check_pdns_recursor]=/bin/bash -c "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a pdns_recursor" root at admin1:~# /bin/bash -c "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a pdns_recursor" PROCS OK: 1 process with args 'pdns_recursor' But the server reports: root at monitor1:/etc/nagios3/conf.d# /usr/lib/nagios/plugins/check_nrpe -H admin2.cgx1.prod.conviva.com -c check_pdns_recursor PROCS CRITICAL: 2 processes with args 'pdns_recursor' C O N V I V A Kimberly McKinnis | Systems Engineer, Service Delivery | kim at conviva.com | Mobile: 724.612.2716 | 2 WATERS PARK DRIVE | SUITE 150 | SAN MATEO | CA | 94403 | www.conviva.com | On 8/9/11 5:17 PM, "up at 3.am" wrote: >> After wondering why all of the processes I'm checking with check_procs >> were counting an extra, I discovered the bug with /bin/dash under Debian >> [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626913] >> >> As a workaround (because I'm not interested in changing the default >>shell >> for the entire server), I called /bin/bash when defining my commands in >> nrpe.cfg. Now they're going haywire in a different way. For instance: >> >> command[check_pdns_config_pub]=/bin/bash -c >> /usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a "pdns_server >> --config-name=public" > >Wait...looks like your quotes are in the wrong place. Try: > > command[check_pdns_config_pub]=/bin/bash -c >"/usr/lib/nagios/plugins/check_procs >-w 1:1 -c 1:1 -a pdns_server --config-name=public" > >Everything after -c should be in double quotes. > >-------------------------------------------------------------------------- >---- >uberSVN's rich system and user administration capabilities and model >configuration take the hassle out of deploying and managing Subversion >and >the tools developers use with it. Learn more about uberSVN and get a free >download at: http://p.sf.net/sfu/wandisco-dev2dev >_______________________________________________ >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 ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 up at 3.am Wed Aug 10 20:43:07 2011 From: up at 3.am (up at 3.am) Date: Wed, 10 Aug 2011 14:43:07 -0400 Subject: check_procs count going haywire on Ubuntu - still broken In-Reply-To: References: Message-ID: <615f9ac3ec2ec1367dfb87e2f3cad28f.squirrel@ssl.pil.net> I have no idea, but that would seem unlikely. Have you tried my other suggestion?: command[check_pdns_config_pub]=/path/to/your/bash-script in bash-script: #!/bin/bash /usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a pdns_recursor In effect creating a bash wrapper for the plugin. > Thank you for that observation. I was being dumb with the quoting. > But?it's still not working correctly. > > The commands work properly on the command line on the host (admin1), but > the Nagios server (monitor1) sees +1 count again. I am very confused by > this. Does Nagios server force it back to the dash shell in Ubuntu? I > thought maybe the +1 was transient because I ran the check manual, but all > of the checks are also reporting +1 and I haven't run them manually. > > My check looks like: command[check_pdns_recursor]=/bin/bash -c > "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a pdns_recursor" > > > root at admin1:~# /bin/bash -c "/usr/lib/nagios/plugins/check_procs -w 1:1 -c > 1:1 -a pdns_recursor" > PROCS OK: 1 process with args 'pdns_recursor' > > But the server reports: > > > root at monitor1:/etc/nagios3/conf.d# /usr/lib/nagios/plugins/check_nrpe -H > admin2.cgx1.prod.conviva.com -c check_pdns_recursor > PROCS CRITICAL: 2 processes with args 'pdns_recursor' > > > > > > C O N V I V A > Kimberly McKinnis | Systems Engineer, Service Delivery | kim at conviva.com | > Mobile: 724.612.2716 | > 2 WATERS PARK DRIVE | SUITE 150 | SAN MATEO | CA | 94403 | > www.conviva.com | > > > > > > On 8/9/11 5:17 PM, "up at 3.am" wrote: > >>> After wondering why all of the processes I'm checking with check_procs >>> were counting an extra, I discovered the bug with /bin/dash under Debian >>> [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626913] >>> >>> As a workaround (because I'm not interested in changing the default >>>shell >>> for the entire server), I called /bin/bash when defining my commands in >>> nrpe.cfg. Now they're going haywire in a different way. For instance: >>> >>> command[check_pdns_config_pub]=/bin/bash -c >>> /usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a "pdns_server >>> --config-name=public" >> >>Wait...looks like your quotes are in the wrong place. Try: >> >> command[check_pdns_config_pub]=/bin/bash -c >>"/usr/lib/nagios/plugins/check_procs >>-w 1:1 -c 1:1 -a pdns_server --config-name=public" >> >>Everything after -c should be in double quotes. >> >>-------------------------------------------------------------------------- >>---- >>uberSVN's rich system and user administration capabilities and model >>configuration take the hassle out of deploying and managing Subversion >>and >>the tools developers use with it. Learn more about uberSVN and get a free >>download at: http://p.sf.net/sfu/wandisco-dev2dev >>_______________________________________________ >>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 > > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > 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 > ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 kim at conviva.com Wed Aug 10 21:04:21 2011 From: kim at conviva.com (Kimberly McKinnis) Date: Wed, 10 Aug 2011 19:04:21 +0000 Subject: check_procs count going haywire on Ubuntu - still broken In-Reply-To: <615f9ac3ec2ec1367dfb87e2f3cad28f.squirrel@ssl.pil.net> References: <615f9ac3ec2ec1367dfb87e2f3cad28f.squirrel@ssl.pil.net> Message-ID: Yes, but that also made it worse :( There's only one process running, but Nagios now reports three. I am really stuck here. >From /etc/nagios/nrpe.cfg on admin1 command[check_pdns_recursor]=/etc/nagios/pdns_recursor.sh root at admin1:/etc/nagios# less pdns_recursor.sh #!/bin/bash /usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a pdns_recursor root at monitor1:~# /bin/bash -c "/usr/lib/nagios/plugins/check_nrpe -H admin1.cgx1.prod.conviva.com -c check_pdns_recursor" PROCS CRITICAL: 3 processes with args 'pdns_recursor' root at admin1:/etc/nagios# ps wgaux | grep recursor root 14508 0.0 0.0 8952 876 pts/1 S+ 18:59 0:00 grep --color=auto recursor pdns 25186 0.0 0.0 110124 1884 ? Ssl Aug09 0:03 /usr/sbin/pdns_recursor --config-dir=/etc/powerdns/recursor-public.d C O N V I V A Kimberly McKinnis | Systems Engineer, Service Delivery | kim at conviva.com | Mobile: 724.612.2716 | 2 WATERS PARK DRIVE | SUITE 150 | SAN MATEO | CA | 94403 | www.conviva.com | On 8/10/11 11:43 AM, "up at 3.am" wrote: > >I have no idea, but that would seem unlikely. Have you tried my other >suggestion?: > >command[check_pdns_config_pub]=/path/to/your/bash-script > >in bash-script: > >#!/bin/bash > >/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a pdns_recursor > > >In effect creating a bash wrapper for the plugin. > >> Thank you for that observation. I was being dumb with the quoting. >> ButSit's still not working correctly. >> >> The commands work properly on the command line on the host (admin1), but >> the Nagios server (monitor1) sees +1 count again. I am very confused by >> this. Does Nagios server force it back to the dash shell in Ubuntu? I >> thought maybe the +1 was transient because I ran the check manual, but >>all >> of the checks are also reporting +1 and I haven't run them manually. >> >> My check looks like: command[check_pdns_recursor]=/bin/bash -c >> "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a pdns_recursor" >> >> >> root at admin1:~# /bin/bash -c "/usr/lib/nagios/plugins/check_procs -w 1:1 >>-c >> 1:1 -a pdns_recursor" >> PROCS OK: 1 process with args 'pdns_recursor' >> >> But the server reports: >> >> >> root at monitor1:/etc/nagios3/conf.d# /usr/lib/nagios/plugins/check_nrpe -H >> admin2.cgx1.prod.conviva.com -c check_pdns_recursor >> PROCS CRITICAL: 2 processes with args 'pdns_recursor' >> >> >> >> >> >> C O N V I V A >> Kimberly McKinnis | Systems Engineer, Service Delivery | >>kim at conviva.com | >> Mobile: 724.612.2716 | >> 2 WATERS PARK DRIVE | SUITE 150 | SAN MATEO | CA | 94403 | >> www.conviva.com | >> >> >> >> >> >> On 8/9/11 5:17 PM, "up at 3.am" wrote: >> >>>> After wondering why all of the processes I'm checking with check_procs >>>> were counting an extra, I discovered the bug with /bin/dash under >>>>Debian >>>> [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626913] >>>> >>>> As a workaround (because I'm not interested in changing the default >>>>shell >>>> for the entire server), I called /bin/bash when defining my commands >>>>in >>>> nrpe.cfg. Now they're going haywire in a different way. For instance: >>>> >>>> command[check_pdns_config_pub]=/bin/bash -c >>>> /usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -a "pdns_server >>>> --config-name=public" >>> >>>Wait...looks like your quotes are in the wrong place. Try: >>> >>> command[check_pdns_config_pub]=/bin/bash -c >>>"/usr/lib/nagios/plugins/check_procs >>>-w 1:1 -c 1:1 -a pdns_server --config-name=public" >>> >>>Everything after -c should be in double quotes. >>> >>>------------------------------------------------------------------------ >>>-- >>>---- >>>uberSVN's rich system and user administration capabilities and model >>>configuration take the hassle out of deploying and managing Subversion >>>and >>>the tools developers use with it. Learn more about uberSVN and get a >>>free >>>download at: http://p.sf.net/sfu/wandisco-dev2dev >>>_______________________________________________ >>>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 >> >> >> >>------------------------------------------------------------------------- >>----- >> uberSVN's rich system and user administration capabilities and model >> configuration take the hassle out of deploying and managing Subversion >>and >> the tools developers use with it. Learn more about uberSVN and get a >>free >> download at: http://p.sf.net/sfu/wandisco-dev2dev >> _______________________________________________ >> 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 >> > > >-------------------------------------------------------------------------- >---- >uberSVN's rich system and user administration capabilities and model >configuration take the hassle out of deploying and managing Subversion >and >the tools developers use with it. Learn more about uberSVN and get a free >download at: http://p.sf.net/sfu/wandisco-dev2dev >_______________________________________________ >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 ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 allanc at chickenandporn.com Wed Aug 10 23:05:27 2011 From: allanc at chickenandporn.com (Allan Clark) Date: Wed, 10 Aug 2011 17:05:27 -0400 Subject: Nagios authentication thru LDAP. In-Reply-To: <0e4af0f4ff9d8eab72eac67755808d95.squirrel@ssl.pil.net> References: <20110810134243.17617c10xch7q48w@www.cnysupport.com> <0e4af0f4ff9d8eab72eac67755808d95.squirrel@ssl.pil.net> Message-ID: On Wed, Aug 10, 2011 at 14:16, wrote: >> Quoting Robert J Molerio : >> >>> Can anyone indicate how this can be done? >>> We would like users to log on to Nagios via LDAP. >>> I think we need to configure the Apache server within Nagios to be able to >>> do this but we're not sure. >> >> It's definitely possible using Apache's LDAP??auth, however you might want to >> consider that when your network is going ape****, it's really nice to know that >> your Nagios machine doesn't require any external resources. >> >> That's why I??chose local auth (htpasswd). >> >> Now matter how much of the brown stuff is flying around, Nagios is up. > > Those are the times that once I am notified, I wish nagios would shut up already ;-) > > For authentication only Nagios will still send out notifications, even if you > can't get into its web interface, which is all we're talking about authenticating > here. > > Always have more than one LDAP source, but this should be fairly easy to do using > Apache's mod_auth_ldap. ?Disclaimer: I haven't used that mod, but I HAVE used > mod_auth_xradius, which in turn used radius+LDAP, which has got to be at least as > complicated as using LDAP directly. I'll see if I can pull my examples tonight from when I did this a few years ago. A syncrepl LDAP secondary on the same server as the apache server gets the best of both worlds: LDAP replication, but it's on the same box so not prone to network issues. Allan -- allanc at chickenandporn.com? "??" http://linkedin.com/in/goldfish ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 allanc at chickenandporn.com Wed Aug 10 23:07:42 2011 From: allanc at chickenandporn.com (Allan Clark) Date: Wed, 10 Aug 2011 17:07:42 -0400 Subject: Nagios authentication thru LDAP. In-Reply-To: <4E42C487.90200@5dninja.net> References: <4E42C487.90200@5dninja.net> Message-ID: On Wed, Aug 10, 2011 at 13:48, Mike Lindsey wrote: > On 8/10/11 9:23 AM, Robert J Molerio wrote: >> Can anyone indicate how this can be done? >> We would like users to log on to Nagios via LDAP. >> I think we need to configure the Apache server within Nagios to be >> able to do this but we're not sure. > > Depending on your version of Apache this ranges from a pain in the rear, > to nigh impossible. ?It's doable, but I've often found it easier and > more stable, to have a cronjob that exports the ldap users to an > htpasswd file. ?Requires fewer changes to your Apache installation, and > doesn't lock your users out of your Nagios install if LDAP fails. I think the backend that does this for you is called "script": does the same, but only when there are changes, and immediately on change. Allan -- allanc at chickenandporn.com? "??" http://linkedin.com/in/goldfish ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 aravind at linuz.in Thu Aug 11 10:21:31 2011 From: aravind at linuz.in (Aravind M D) Date: Thu, 11 Aug 2011 13:51:31 +0530 Subject: Hostgroup Message-ID: <20110811135131.Horde.7W9WSlwlEB5OQ5ELPytHpvA@mail.linuz.in> Hi All, I am experiencing a strange in Nagios. I have created two hogroups hostgroup1 and hostgroup2. Same contact_groups has been added for both the hostgroups. But when i am login to the webinterface as one of member of contact_groups i am able to see only one hostgroup in Hostgroup? summary. But when i am checking hosts section i am able to see all the hosts. How can i debug the issue? Rgds, Aravind M D -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev -------------- 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 rms at sibs.pt Thu Aug 11 11:17:02 2011 From: rms at sibs.pt (Rui Miguel Silva Seabra) Date: Thu, 11 Aug 2011 10:17:02 +0100 Subject: Nagios authentication thru LDAP. In-Reply-To: <20110810134243.17617c10xch7q48w@www.cnysupport.com> References: <20110810134243.17617c10xch7q48w@www.cnysupport.com> Message-ID: <1313054222.2470.1.camel@roque> Qua, 2011-08-10 ?s 13:42 -0400, Terry Carmen escreveu: > Quoting Robert J Molerio : > > > Can anyone indicate how this can be done? > > We would like users to log on to Nagios via LDAP. > > I think we need to configure the Apache server within Nagios to be > able to > > do this but we're not sure. > > It's definitely possible using Apache's LDAP auth, however you might > want to consider that when your network is going ape****, it's really > nice to know that your Nagios machine doesn't require any external > resources. > > That's why I chose local auth (htpasswd). > > Now matter how much of the brown stuff is flying around, Nagios is up. > > Terry Tsk tsk tsk. Apache supports falling back to other auth methods and you should use Nagios and LDAP via SSL sockets (https and ldaps) securing passwords. Setting up Apache against LDAP is really easy, and most of the LDAP issues are on its maintenance rather than pointing at it for data. Rui ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 r.n.deepak at gmail.com Thu Aug 11 11:51:04 2011 From: r.n.deepak at gmail.com (Deepak) Date: Thu, 11 Aug 2011 15:21:04 +0530 Subject: How to monitor Cisco 4400 Wireless Controller Message-ID: I want to monitor Cisco 4400 Series Wireless Controller, The wizard is not detecting the ports. So can anyone help me out is there any other way. Thanks, Deepak -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev -------------- 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 rosenski at wave-computer.de Thu Aug 11 12:00:20 2011 From: rosenski at wave-computer.de (Axel Rosenski) Date: Thu, 11 Aug 2011 12:00:20 +0200 Subject: Nagios authentication thru LDAP. In-Reply-To: References: Message-ID: <9000672.4SpYSBbiKo@lxrosenski> Hi Robert, Am Mittwoch, 10. Aug. 11, 12:23:17 schrieb Robert J Molerio: > Can anyone indicate how this can be done? > We would like users to log on to Nagios via LDAP. > I think we need to configure the Apache server within Nagios to be able to > do this but we're not sure. you need to install the apache ldap modules and put this in your apache nagios vhost config. In this case it's better to have a redundant ldap ;) AllowOverride None AuthType basic AuthName "Auth needed!" AuthBasicProvider ldap AuthLDAPURL ldap://your.ldap.server:389/dc=bla,dc=fasel?uid?sub? (objectClass=whatYouNeed) AuthLDAPGroupAttribute memberUid AuthLDAPGroupAttributeIsDN off require ldap-group your-ldap-group require ldap-user your-ldap-user Options ExecCGI Order allow,deny Allow from all AllowOverride None AuthType basic AuthName "Auth needed!" AuthBasicProvider ldap AuthLDAPURL ldap://your.ldap.server:389/dc=bla,dc=fasel?uid?sub? (objectClass=whatYouNeed) AuthLDAPGroupAttribute memberUid AuthLDAPGroupAttributeIsDN off require ldap-group your-ldap-group require ldap-user your-ldap-user Options ExecCGI Order allow,deny Allow from all Kind regards, Axel -- Axel Rosenski - Administration - ______________________________ Wave Computersysteme GmbH Philipp-Reis-Str. 1-3 / 9 35440 Linden Gesch?ftsf?hrer: Carsten Kellmann Registergericht Gie?en HRB 1823 Tel.: +49 (0)6403 / 9050 8317 Fax: +49 (0)6403 / 9050 5089 mailto:rosenski at wave-computer.de http://www.wave-computer.de ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 rosenski at wave-computer.de Thu Aug 11 12:06:12 2011 From: rosenski at wave-computer.de (Axel Rosenski) Date: Thu, 11 Aug 2011 12:06:12 +0200 Subject: check_procs count going haywire on Ubuntu - still broken In-Reply-To: References: Message-ID: <1480822.maEWaHT71p@lxrosenski> Hi, Am Mittwoch, 10. Aug. 11, 18:24:17 schrieb Kimberly McKinnis: > Thank you for that observation. I was being dumb with the quoting. > But?it's still not working correctly. > > The commands work properly on the command line on the host (admin1), but > the Nagios server (monitor1) sees +1 count again. I am very confused by > this. Does Nagios server force it back to the dash shell in Ubuntu? I > thought maybe the +1 was transient because I ran the check manual, but all > of the checks are also reporting +1 and I haven't run them manually. I got this Problem, too. It looks like -a counts it's own process grep. Use -C to fix that. Regards, Axel -- Axel Rosenski - Administration - ______________________________ Wave Computersysteme GmbH Philipp-Reis-Str. 1-3 / 9 35440 Linden Gesch?ftsf?hrer: Carsten Kellmann Registergericht Gie?en HRB 1823 Tel.: +49 (0)6403 / 9050 8317 Fax: +49 (0)6403 / 9050 5089 mailto:rosenski at wave-computer.de http://www.wave-computer.de ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 mail at catsnest.co.uk Thu Aug 11 12:13:41 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Thu, 11 Aug 2011 11:13:41 +0100 Subject: Hostgroup In-Reply-To: <20110811135131.Horde.7W9WSlwlEB5OQ5ELPytHpvA@mail.linuz.in> References: <20110811135131.Horde.7W9WSlwlEB5OQ5ELPytHpvA@mail.linuz.in> Message-ID: On Thu, Aug 11, 2011 at 9:21 AM, Aravind M D wrote: > Hi All, > > I am experiencing a strange in Nagios. > > I have created two hogroups hostgroup1 and hostgroup2. Same contact_groups > has been added for both the hostgroups. > > But when i am login to the webinterface as one of member of contact_groups i > am able to see only one hostgroup in Hostgroup? summary. But when i am > checking hosts section i am able to see all the hosts. > > How can i debug the issue? > This can happen if the contact does not have access to all the hosts in the hostgroup HTH, Ritchie, -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> > Rgds, > Aravind M D > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. > http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > 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 > ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 w.muriithi at syncapse.com Thu Aug 11 16:17:39 2011 From: w.muriithi at syncapse.com (William Muriithi) Date: Thu, 11 Aug 2011 09:17:39 -0500 Subject: Deleting old comments In-Reply-To: References: Message-ID: Jim, Why would you want to delete old comments against a host? I usually like them, as it can help identify a recurring problem on the hardware. Generally, it's a documentation of the hardware past performance. William On 11-08-10 2:10 PM, "Jim Avery" wrote: >f way through writing a perl script to delete old >comments (more than n days old) from Nagios. Before I spend more time >on it though, if anyone else already has something that does that, >please shout! ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 aravind at linuz.in Thu Aug 11 17:43:47 2011 From: aravind at linuz.in (Aravind M D) Date: Thu, 11 Aug 2011 21:13:47 +0530 Subject: Hostgroup In-Reply-To: References: <20110811135131.Horde.7W9WSlwlEB5OQ5ELPytHpvA@mail.linuz.in> Message-ID: <20110811211347.Horde.UQW4T1wlEB5OQ-izdWmBC3A@mail.linuz.in> Quoting mail at catsnest.co.uk: Hi Ritchie, Yes my contact does had permission for one host. Rgds, Aravind M D >> On Thu, Aug 11, 2011 at 9:21 AM, Aravind M D wrote: > >> Hi All, > >> > >> I am experiencing a strange in Nagios. > >> > >> I have created two hogroups hostgroup1 and hostgroup2. Same > contact_groups > >> has been added for both the hostgroups. > >> > >> But when i am login to the webinterface as one of member of > contact_groups i > >> am able to see only one hostgroup in Hostgroup? summary. But when i am > >> checking hosts section i am able to see all the hosts. > >> > >> How can i debug the issue? > >> > > > > This can happen if the contact does not have access to all the hosts > > in the hostgroup > > > > HTH, > > Ritchie, > > -- > > <-- http://23.me.uk/2 --> > > <--Time flies like an arrow; fruit flies like a banana.? --> > > > >> Rgds, > >> Aravind M D > >> > ------------------------------------------------------------------------------ > >> Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > >> user administration capabilities and model configuration. Take > >> the hassle out of deploying and managing Subversion and the > >> tools developers use with it. > >> http://p.sf.net/sfu/wandisco-dev2dev > >> _______________________________________________ > >> 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 > >> > > > > > ------------------------------------------------------------------------------ > > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > > user administration capabilities and model configuration. Take > > the hassle out of deploying and managing Subversion and the > > tools developers use with it. > > http://p.sf.net/sfu/wandisco-dev2dev > > _______________________________________________ > > 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 -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev -------------- 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 jim at jimavery.me.uk Thu Aug 11 18:52:19 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 11 Aug 2011 17:52:19 +0100 Subject: Deleting old comments In-Reply-To: References: Message-ID: On 11 August 2011 15:17, William Muriithi wrote: > Jim, > > Why would you want to delete old comments against a host? ?I usually like > them, as it can help identify a recurring problem on the hardware. > Generally, it's a documentation of the hardware past performance. > > William Unfortunately performance eventually suffers if there are too many comments in the system. I agree, if I could keep them there with impunity I would. ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 kim at conviva.com Thu Aug 11 19:43:47 2011 From: kim at conviva.com (Kimberly McKinnis) Date: Thu, 11 Aug 2011 17:43:47 +0000 Subject: check_procs count going haywire on Ubuntu - still broken In-Reply-To: <1480822.maEWaHT71p@lxrosenski> References: <1480822.maEWaHT71p@lxrosenski> Message-ID: This worked. The man page for check_procs wasn't clear to me about that. Thank you! C O N V I V A Kimberly McKinnis | Systems Engineer, Service Delivery | kim at conviva.com | Mobile: 724.612.2716 | 2 WATERS PARK DRIVE | SUITE 150 | SAN MATEO | CA | 94403 | www.conviva.com | On 8/11/11 3:06 AM, "Axel Rosenski" wrote: >Hi, > >Am Mittwoch, 10. Aug. 11, 18:24:17 schrieb Kimberly McKinnis: >> Thank you for that observation. I was being dumb with the quoting. >> But?it's still not working correctly. >> >> The commands work properly on the command line on the host (admin1), but >> the Nagios server (monitor1) sees +1 count again. I am very confused by >> this. Does Nagios server force it back to the dash shell in Ubuntu? I >> thought maybe the +1 was transient because I ran the check manual, but >>all >> of the checks are also reporting +1 and I haven't run them manually. > >I got this Problem, too. >It looks like -a counts it's own process grep. >Use -C to fix that. > >Regards, Axel > >-- >Axel Rosenski >- Administration - >______________________________ >Wave Computersysteme GmbH >Philipp-Reis-Str. 1-3 / 9 >35440 Linden > >Gesch?ftsf?hrer: Carsten Kellmann >Registergericht Gie?en HRB 1823 > >Tel.: +49 (0)6403 / 9050 8317 >Fax: +49 (0)6403 / 9050 5089 >mailto:rosenski at wave-computer.de >http://www.wave-computer.de > > >-------------------------------------------------------------------------- >---- >Get a FREE DOWNLOAD! and learn more about uberSVN rich system, >user administration capabilities and model configuration. Take >the hassle out of deploying and managing Subversion and the >tools developers use with it. >http://p.sf.net/sfu/wandisco-dev2dev >_______________________________________________ >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 ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 kim at conviva.com Thu Aug 11 19:52:50 2011 From: kim at conviva.com (Kimberly McKinnis) Date: Thu, 11 Aug 2011 17:52:50 +0000 Subject: check_procs count going haywire on Ubuntu - still broken In-Reply-To: <1480822.maEWaHT71p@lxrosenski> References: <1480822.maEWaHT71p@lxrosenski> Message-ID: I spoke too soon. That broke all of my other more complex process checking and it now sees 0 procs for everything else. What are the other caveats for -C ? Looking for: /usr/sbin/pdns_server --config-name=private --daemon --guardian=yes by using: command[check_pdns_config_priv]=/bin/bash -c "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -C \"pdns_server --config-name=private\"" Now reports: PROCS CRITICAL: 0 processes with command name 'pdns_server --config-name=private' C O N V I V A Kimberly McKinnis | Systems Engineer, Service Delivery | kim at conviva.com | Mobile: 724.612.2716 | 2 WATERS PARK DRIVE | SUITE 150 | SAN MATEO | CA | 94403 | www.conviva.com | On 8/11/11 3:06 AM, "Axel Rosenski" wrote: >Hi, > >Am Mittwoch, 10. Aug. 11, 18:24:17 schrieb Kimberly McKinnis: >> Thank you for that observation. I was being dumb with the quoting. >> But?it's still not working correctly. >> >> The commands work properly on the command line on the host (admin1), but >> the Nagios server (monitor1) sees +1 count again. I am very confused by >> this. Does Nagios server force it back to the dash shell in Ubuntu? I >> thought maybe the +1 was transient because I ran the check manual, but >>all >> of the checks are also reporting +1 and I haven't run them manually. > >I got this Problem, too. >It looks like -a counts it's own process grep. >Use -C to fix that. > >Regards, Axel > >-- >Axel Rosenski >- Administration - >______________________________ >Wave Computersysteme GmbH >Philipp-Reis-Str. 1-3 / 9 >35440 Linden > >Gesch?ftsf?hrer: Carsten Kellmann >Registergericht Gie?en HRB 1823 > >Tel.: +49 (0)6403 / 9050 8317 >Fax: +49 (0)6403 / 9050 5089 >mailto:rosenski at wave-computer.de >http://www.wave-computer.de > > >-------------------------------------------------------------------------- >---- >Get a FREE DOWNLOAD! and learn more about uberSVN rich system, >user administration capabilities and model configuration. Take >the hassle out of deploying and managing Subversion and the >tools developers use with it. >http://p.sf.net/sfu/wandisco-dev2dev >_______________________________________________ >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 ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 silver at serverock.ee Fri Aug 12 09:36:42 2011 From: silver at serverock.ee (Silver Salonen) Date: Fri, 12 Aug 2011 10:36:42 +0300 Subject: checking service once a day Message-ID: <4E44D80A.5070406@serverock.ee> Hello. I want to check a service only once a day. So I tried this configuration: define timeperiod { timeperiod_name once-a-day alias On mornings monday 08:00-08:30 tuesday 08:00-08:30 wednesday 08:00-08:30 thursday 08:00-08:30 friday 08:00-08:30 saturday 08:00-08:30 sunday 08:00-08:30 } define service { use generic-service check_period once-a-day normal_check_interval 1440 ; 24 hours ... } Now when I check the service's next schedule time, Nagios is still showing that the next check is scheduled to 24h after the previous check and at 22:53 (pm). Restarting Nagios does not change that. Any tips for what's wrong in the configuration? -- Silver ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 jim at jimavery.me.uk Fri Aug 12 10:25:14 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 12 Aug 2011 09:25:14 +0100 Subject: checking service once a day In-Reply-To: <4E44D80A.5070406@serverock.ee> References: <4E44D80A.5070406@serverock.ee> Message-ID: On 12 August 2011 08:36, Silver Salonen wrote: > Hello. > > I want to check a service only once a day. So I tried this configuration: > > define timeperiod { > ? ? timeperiod_name once-a-day > ? ? alias ? ? ? On mornings > ? ? monday ? ? ?08:00-08:30 > ? ? tuesday ? ? 08:00-08:30 > ? ? wednesday ? 08:00-08:30 > ? ? thursday ? ?08:00-08:30 > ? ? friday ? ? ?08:00-08:30 > ? ? saturday ? ?08:00-08:30 > ? ? sunday ? ? ?08:00-08:30 > } > > define service { > ? ? use generic-service > ? ? check_period ? ? ? ?once-a-day > ? ? normal_check_interval ?1440 ? ? ? ?; 24 hours > ? ? ... > } > > Now when I check the service's next schedule time, Nagios is still > showing that the next check is scheduled to 24h after the previous check > and at 22:53 (pm). Restarting Nagios does not change that. Any tips for > what's wrong in the configuration? If Nagios wants to schedule a check at a certain time, but it's not in the timeperiod then it won't run it. If you don't mind what time of day your check is run, then use the standard 24x7 timeperiod. If you want a check to run at a specific time of day, you need to run it from cron so it submits the check result to Nagios as a passive check. http://nagios.sourceforge.net/docs/nagioscore/3/en/passivechecks.html Alternatively, if you don't mind your check being run a couple of times each day, I would think you could leave your config as it is, but set the normal_check_interval to 12 (minutes) or so to give it a good chance of being scheduled within your 30-minute window. Personally I would use cron, but it can be a bit fiddly to set up the first time you try it. hth, Jim ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 silver at serverock.ee Fri Aug 12 11:37:58 2011 From: silver at serverock.ee (Silver Salonen) Date: Fri, 12 Aug 2011 12:37:58 +0300 Subject: checking service once a day In-Reply-To: References: <4E44D80A.5070406@serverock.ee> Message-ID: <4E44F476.1050601@serverock.ee> On 12.08.2011 11:25, Jim Avery wrote: > On 12 August 2011 08:36, Silver Salonen wrote: >> Hello. >> >> I want to check a service only once a day. So I tried this configuration: >> >> define timeperiod { >> timeperiod_name once-a-day >> alias On mornings >> monday 08:00-08:30 >> tuesday 08:00-08:30 >> wednesday 08:00-08:30 >> thursday 08:00-08:30 >> friday 08:00-08:30 >> saturday 08:00-08:30 >> sunday 08:00-08:30 >> } >> >> define service { >> use generic-service >> check_period once-a-day >> normal_check_interval 1440 ; 24 hours >> ... >> } >> >> Now when I check the service's next schedule time, Nagios is still >> showing that the next check is scheduled to 24h after the previous check >> and at 22:53 (pm). Restarting Nagios does not change that. Any tips for >> what's wrong in the configuration? > > If Nagios wants to schedule a check at a certain time, but it's not in > the timeperiod then it won't run it. That's interesting. Documentation says: Specifying a timeperiod in the/check_period/directive allows you to restrict the time that Nagios perform regularly scheduled, active checks of the host or service. When Nagios attempts to reschedule a host or service check, it will make sure that the next check falls within a valid time range within the defined timeperiod. If it doesn't, Nagios will adjust the next check time to coincide with the next "valid" time in the specified timeperiod. So I guess documentation is wrong then? > If you don't mind what time of day your check is run, then use the > standard 24x7 timeperiod. > > If you want a check to run at a specific time of day, you need to run > it from cron so it submits the check result to Nagios as a passive > check. > > http://nagios.sourceforge.net/docs/nagioscore/3/en/passivechecks.html > > Alternatively, if you don't mind your check being run a couple of > times each day, I would think you could leave your config as it is, > but set the normal_check_interval to 12 (minutes) or so to give it a > good chance of being scheduled within your 30-minute window. > Personally I would use cron, but it can be a bit fiddly to set up the > first time you try it. OK, I guess I'd have to go with the passive checks through crontab then (because I do mind what time the checks are run). -- Silver -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev -------------- 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 jim at jimavery.me.uk Fri Aug 12 15:26:55 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 12 Aug 2011 14:26:55 +0100 Subject: checking service once a day In-Reply-To: <4E44F476.1050601@serverock.ee> References: <4E44D80A.5070406@serverock.ee> <4E44F476.1050601@serverock.ee> Message-ID: On 12 August 2011 10:37, Silver Salonen wrote: > So I guess documentation is wrong then? That's what I would think, yes. I don't think what Nagios does is anything like as clever as the documentation would imply, although for checks with small check_interval values it might seem like it is. Having said that, I've not dared to attempt reading the source code myself! ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 silver at serverock.ee Fri Aug 12 16:03:02 2011 From: silver at serverock.ee (Silver Salonen) Date: Fri, 12 Aug 2011 17:03:02 +0300 Subject: checking service once a day In-Reply-To: <4E44F476.1050601@serverock.ee> References: <4E44D80A.5070406@serverock.ee> <4E44F476.1050601@serverock.ee> Message-ID: <4E453296.6070404@serverock.ee> On 12.08.2011 12:37, Silver Salonen wrote: > On 12.08.2011 11:25, Jim Avery wrote: >> On 12 August 2011 08:36, Silver Salonen wrote: >>> Hello. >>> >>> I want to check a service only once a day. So I tried this configuration: >>> >>> define timeperiod { >>> timeperiod_name once-a-day >>> alias On mornings >>> monday 08:00-08:30 >>> tuesday 08:00-08:30 >>> wednesday 08:00-08:30 >>> thursday 08:00-08:30 >>> friday 08:00-08:30 >>> saturday 08:00-08:30 >>> sunday 08:00-08:30 >>> } >>> >>> define service { >>> use generic-service >>> check_period once-a-day >>> normal_check_interval 1440 ; 24 hours >>> ... >>> } >>> >>> Now when I check the service's next schedule time, Nagios is still >>> showing that the next check is scheduled to 24h after the previous check >>> and at 22:53 (pm). Restarting Nagios does not change that. Any tips for >>> what's wrong in the configuration? >> If Nagios wants to schedule a check at a certain time, but it's not in >> the timeperiod then it won't run it. > > That's interesting. Documentation says: > > Specifying a timeperiod in the/check_period/directive allows you to > restrict the time that Nagios perform regularly scheduled, active > checks of the host or service. When Nagios attempts to reschedule a > host or service check, it will make sure that the next check falls > within a valid time range within the defined timeperiod. If it > doesn't, Nagios will adjust the next check time to coincide with the > next "valid" time in the specified timeperiod. > > So I guess documentation is wrong then? > >> If you don't mind what time of day your check is run, then use the >> standard 24x7 timeperiod. >> >> If you want a check to run at a specific time of day, you need to run >> it from cron so it submits the check result to Nagios as a passive >> check. >> >> http://nagios.sourceforge.net/docs/nagioscore/3/en/passivechecks.html >> >> Alternatively, if you don't mind your check being run a couple of >> times each day, I would think you could leave your config as it is, >> but set the normal_check_interval to 12 (minutes) or so to give it a >> good chance of being scheduled within your 30-minute window. >> Personally I would use cron, but it can be a bit fiddly to set up the >> first time you try it. > > OK, I guess I'd have to go with the passive checks through crontab > then (because I do mind what time the checks are run). > Ah yes, previously I just restarted Nagios every day (from crontab) so that the checks would be re-scheduled, but in the new installation Nagios does not re-schedule the checks on startup. Is there an option for that? I don't seem to find it... -- Silver -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev -------------- 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 jim at jimavery.me.uk Fri Aug 12 16:48:08 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 12 Aug 2011 15:48:08 +0100 Subject: checking service once a day In-Reply-To: <4E453296.6070404@serverock.ee> References: <4E44D80A.5070406@serverock.ee> <4E44F476.1050601@serverock.ee> <4E453296.6070404@serverock.ee> Message-ID: On 12 August 2011 15:03, Silver Salonen wrote: > Ah yes, previously I just restarted Nagios every day (from crontab) so that > the checks would be re-scheduled, but in the new installation Nagios does > not re-schedule the checks on startup. Is there an option for that? I don't > seem to find it... It's been a while since I've played with any of those options myself. I think you'll find it's this directive in nagios.cfg which controls whether Nagios re-schedules checks on startup .. # USE RETAINED SCHEDULING INFO # This setting determines whether or not Nagios will retain # the scheduling info (next check time) for hosts and services # based on the values saved in the retention file. If you # If you want to use retained scheduling info, set this # value to 1. If not, set this value to 0. use_retained_scheduling_info=1 Cheers, Jim ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 Aug 12 16:54:41 2011 From: mguthrie at nagios.com (Mike Guthrie) Date: Fri, 12 Aug 2011 09:54:41 -0500 Subject: checking service once a day In-Reply-To: <4E453296.6070404@serverock.ee> References: <4E44D80A.5070406@serverock.ee> <4E44F476.1050601@serverock.ee> <4E453296.6070404@serverock.ee> Message-ID: <4E453EB1.5040108@nagios.com> Silver Salonen wrote: > On 12.08.2011 12:37, Silver Salonen wrote: >> On 12.08.2011 11:25, Jim Avery wrote: >>> On 12 August 2011 08:36, Silver Salonen wrote: >>> >>>> Hello. >>>> >>>> I want to check a service only once a day. So I tried this configuration: >>>> >>>> define timeperiod { >>>> timeperiod_name once-a-day >>>> alias On mornings >>>> monday 08:00-08:30 >>>> tuesday 08:00-08:30 >>>> wednesday 08:00-08:30 >>>> thursday 08:00-08:30 >>>> friday 08:00-08:30 >>>> saturday 08:00-08:30 >>>> sunday 08:00-08:30 >>>> } >>>> >>>> define service { >>>> use generic-service >>>> check_period once-a-day >>>> normal_check_interval 1440 ; 24 hours >>>> ... >>>> } >>>> Do you need the check to run between 8-8:30, or just every 24 hours? Your check_interval will not exceed the maximum check spread that's in the main nagios.cfg file. I would try either setting the timeperiod for the check *or* setting the wide check interval. >>>> Now when I check the service's next schedule time, Nagios is still >>>> showing that the next check is scheduled to 24h after the previous check >>>> and at 22:53 (pm). Restarting Nagios does not change that. Any tips for >>>> what's wrong in the configuration? >>>> >>> If Nagios wants to schedule a check at a certain time, but it's not in >>> the timeperiod then it won't run it. >> >> That's interesting. Documentation says: >> >> Specifying a timeperiod in the /check_period/ directive allows you to >> restrict the time that Nagios perform regularly scheduled, active >> checks of the host or service. When Nagios attempts to reschedule a >> host or service check, it will make sure that the next check falls >> within a valid time range within the defined timeperiod. If it >> doesn't, Nagios will adjust the next check time to coincide with the >> next "valid" time in the specified timeperiod. >> >> So I guess documentation is wrong then? >> >>> If you don't mind what time of day your check is run, then use the >>> standard 24x7 timeperiod. >>> >>> If you want a check to run at a specific time of day, you need to run >>> it from cron so it submits the check result to Nagios as a passive >>> check. >>> >>> http://nagios.sourceforge.net/docs/nagioscore/3/en/passivechecks.html >>> >>> Alternatively, if you don't mind your check being run a couple of >>> times each day, I would think you could leave your config as it is, >>> but set the normal_check_interval to 12 (minutes) or so to give it a >>> good chance of being scheduled within your 30-minute window. >>> Personally I would use cron, but it can be a bit fiddly to set up the >>> first time you try it. >>> >> >> OK, I guess I'd have to go with the passive checks through crontab >> then (because I do mind what time the checks are run). >> > Ah yes, previously I just restarted Nagios every day (from crontab) so > that the checks would be re-scheduled, but in the new installation > Nagios does not re-schedule the checks on startup. Is there an option > for that? I don't seem to find it... > > -- > Silver > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. > http://p.sf.net/sfu/wandisco-dev2dev > ------------------------------------------------------------------------ > > _______________________________________________ > 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 ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 silver at serverock.ee Fri Aug 12 17:03:34 2011 From: silver at serverock.ee (Silver Salonen) Date: Fri, 12 Aug 2011 18:03:34 +0300 Subject: checking service once a day In-Reply-To: References: <4E44D80A.5070406@serverock.ee> <4E44F476.1050601@serverock.ee> <4E453296.6070404@serverock.ee> Message-ID: <4E4540C6.4020006@serverock.ee> On 12.08.2011 17:48, Jim Avery wrote: > On 12 August 2011 15:03, Silver Salonen wrote: > >> Ah yes, previously I just restarted Nagios every day (from crontab) so that >> the checks would be re-scheduled, but in the new installation Nagios does >> not re-schedule the checks on startup. Is there an option for that? I don't >> seem to find it... > > It's been a while since I've played with any of those options myself. > I think you'll find it's this directive in nagios.cfg which controls > whether Nagios re-schedules checks on startup .. > > # USE RETAINED SCHEDULING INFO > # This setting determines whether or not Nagios will retain > # the scheduling info (next check time) for hosts and services > # based on the values saved in the retention file. If you > # If you want to use retained scheduling info, set this > # value to 1. If not, set this value to 0. > > use_retained_scheduling_info=1 > > > Cheers, > > Jim Thank you very much, Jim! After setting this option to 0, the next check is now scheduled to tomorrow 8:00 which is exactly what I want :) So I guess the smartness of Nagios' scheduling (and whether it follows time period restrictions) is dependent on this option. -- Silver ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 silver at serverock.ee Fri Aug 12 17:09:37 2011 From: silver at serverock.ee (Silver Salonen) Date: Fri, 12 Aug 2011 18:09:37 +0300 Subject: checking service once a day In-Reply-To: <4E453EB1.5040108@nagios.com> References: <4E44D80A.5070406@serverock.ee> <4E44F476.1050601@serverock.ee> <4E453296.6070404@serverock.ee> <4E453EB1.5040108@nagios.com> Message-ID: <4E454231.5080105@serverock.ee> On 12.08.2011 17:54, Mike Guthrie wrote: > Silver Salonen wrote: >> On 12.08.2011 12:37, Silver Salonen wrote: >>> On 12.08.2011 11:25, Jim Avery wrote: >>>> On 12 August 2011 08:36, Silver Salonen wrote: >>>> >>>>> Hello. >>>>> >>>>> I want to check a service only once a day. So I tried this configuration: >>>>> >>>>> define timeperiod { >>>>> timeperiod_name once-a-day >>>>> alias On mornings >>>>> monday 08:00-08:30 >>>>> tuesday 08:00-08:30 >>>>> wednesday 08:00-08:30 >>>>> thursday 08:00-08:30 >>>>> friday 08:00-08:30 >>>>> saturday 08:00-08:30 >>>>> sunday 08:00-08:30 >>>>> } >>>>> >>>>> define service { >>>>> use generic-service >>>>> check_period once-a-day >>>>> normal_check_interval 1440 ; 24 hours >>>>> ... >>>>> } >>>>> > Do you need the check to run between 8-8:30, or just every 24 hours? > Your check_interval will not exceed the maximum check spread that's in > the main nagios.cfg file. I would try either setting the timeperiod for > the check *or* setting the wide check interval. Yes, I wanted the checks to be run between 8:00 and 8:30. But as I woohooed in the previous e-mail, it seems I got it working :) -- Silver ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 elitdata.no Sun Aug 14 10:58:08 2011 From: nagios at elitdata.no (Erik Olsen) Date: Sun, 14 Aug 2011 10:58:08 +0200 Subject: home made php script Message-ID: <00f001cc5a60$49c884e0$dd598ea0$@elitdata.no> Hello I've been trying to make my own script now for a few hours but im not getting it to work with nagios. Im most familiar with php so I used that to make the script. My setup: Ubuntu 11.4 server Nagios 3.2.3 The host/command/and service are all in the same .cfg file. define command{ command_name check_ups_temprature2 command_line $USER$/check_ups_temp.php } define service{ use generic-service host_name ups1 service_description Temp ups env sensor check_command eaton_ups_temp } Status Information (Return code of 127 is out of bounds - plugin may be missing) If I run it with command_line /usr/bin/php -q $USER$/check_ups_temp.php I get warning instead of error status: Status Information:(null) My script: #!/usr/bin/php -q $maxtemp){ echo "CRITICAL"; exit(2); } ?> But even if I just use the simplest code it dosnt work. echo "OK Test ok"; exit(0); When I run the script from webmin as nagios user it works. ------------------------------------------------------------------------------ FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 dtuecks at googlemail.com Sun Aug 14 12:23:09 2011 From: dtuecks at googlemail.com (Daniel Tuecks) Date: Sun, 14 Aug 2011 12:23:09 +0200 Subject: home made php script In-Reply-To: <00f001cc5a60$49c884e0$dd598ea0$@elitdata.no> References: <00f001cc5a60$49c884e0$dd598ea0$@elitdata.no> Message-ID: Hi Erik, I think that Nagios can't find your script. The $USER$ macro is wrong. It should be $USERn$ (defined in your resource.cfg file). http://nagios.sourceforge.net/docs/nagioscore/3/en/macrolist.html#user Daniel 2011/8/14 Erik Olsen : > Hello > > I've been trying to make my own script now for a few hours but im not > getting it to work with nagios. > Im most familiar with php so I used that to make the script. > > My setup: > Ubuntu 11.4 server > Nagios 3.2.3 > > The host/command/and service are all in the same .cfg file. > > ?define command{ > ?command_name check_ups_temprature2 > ?command_line $USER$/check_ups_temp.php > } > > define service{ > use ? ? ? ? ? ? ? ? ? ? generic-service > host_name ? ? ? ? ? ? ? ups1 > service_description ? ? Temp ups env sensor > check_command ? ? ? ? ? eaton_ups_temp > } > > Status Information ?(Return code of 127 is out of bounds - plugin may be > missing) > > > If I run it with > command_line /usr/bin/php -q $USER$/check_ups_temp.php > I get warning instead of error status: Status Information:(null) > > > > My script: > #!/usr/bin/php -q > > $temp = 23; > > $maxtemp=22; > > if ($temp<=$maxtemp){ > echo "OK"; > exit(0); > } > if ($temp>$maxtemp){ > echo "CRITICAL"; > exit(2); > } > > ?> > > But even if I just use the simplest code it dosnt work. > echo "OK Test ok"; > exit(0); > > > When I run the script from webmin as nagios user it works. > > > > ------------------------------------------------------------------------------ > FREE DOWNLOAD - uberSVN with Social Coding for Subversion. > Subversion made easy with a complete admin console. Easy > to use, easy to manage, easy to install, easy to extend. > Get a Free download of the new open ALM Subversion platform now. > http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > 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 > ------------------------------------------------------------------------------ FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 Sun Aug 14 12:16:02 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Sun, 14 Aug 2011 12:16:02 +0200 Subject: home made php script In-Reply-To: <00f001cc5a60$49c884e0$dd598ea0$@elitdata.no> (Erik Olsen's message of "Sun, 14 Aug 2011 10:58:08 +0200") References: <00f001cc5a60$49c884e0$dd598ea0$@elitdata.no> Message-ID: <15tfwl4qowt.fsf@tux.uio.no> "Erik Olsen" writes: > I've been trying to make my own script now for a few hours but im not > getting it to work with nagios. > Im most familiar with php so I used that to make the script. > > My setup: > Ubuntu 11.4 server > Nagios 3.2.3 > > The host/command/and service are all in the same .cfg file. > > define command{ > command_name check_ups_temprature2 > command_line $USER$/check_ups_temp.php > } > > define service{ > use generic-service > host_name ups1 > service_description Temp ups env sensor > check_command eaton_ups_temp > } > > Status Information (Return code of 127 is out of bounds - plugin may be > missing) Hi Erik, There is a typo on the "command_line" line. The $USER$ macro doesn't exist. There are 32 possible user macros, named $USER1$ through $USER32$. Try replacing $USER$ with $USER1$, or simply the actual path leading up to the plugin. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 elitdata.no Sun Aug 14 12:55:30 2011 From: nagios at elitdata.no (Erik Olsen) Date: Sun, 14 Aug 2011 12:55:30 +0200 Subject: home made php script In-Reply-To: References: <00f001cc5a60$49c884e0$dd598ea0$@elitdata.no> Message-ID: <00f101cc5a70$af386f10$0da94d30$@elitdata.no> Thx.. Fell like an idiot ,) Should have seen it. I just copied and past the command that was over, and didn?t even think of checking the spelling for the variable. The command over wasn?t in use. -----Opprinnelig melding----- Fra: Daniel Tuecks [mailto:dtuecks at googlemail.com] Sendt: 14. august 2011 12:23 Til: Nagios Users List Emne: Re: [Nagios-users] home made php script Hi Erik, I think that Nagios can't find your script. The $USER$ macro is wrong. It should be $USERn$ (defined in your resource.cfg file). http://nagios.sourceforge.net/docs/nagioscore/3/en/macrolist.html#user Daniel 2011/8/14 Erik Olsen : > Hello > > I've been trying to make my own script now for a few hours but im not > getting it to work with nagios. > Im most familiar with php so I used that to make the script. > > My setup: > Ubuntu 11.4 server > Nagios 3.2.3 > > The host/command/and service are all in the same .cfg file. > > ?define command{ > ?command_name check_ups_temprature2 > ?command_line $USER$/check_ups_temp.php } > > define service{ > use ? ? ? ? ? ? ? ? ? ? generic-service host_name ? ? ? ? ? ? ? ups1 > service_description ? ? Temp ups env sensor check_command ? ? ? ? ? > eaton_ups_temp } > > Status Information ?(Return code of 127 is out of bounds - plugin may > be > missing) > > > If I run it with > command_line /usr/bin/php -q $USER$/check_ups_temp.php I get warning > instead of error status: Status Information:(null) > > > > My script: > #!/usr/bin/php -q > > $temp = 23; > > $maxtemp=22; > > if ($temp<=$maxtemp){ > echo "OK"; > exit(0); > } > if ($temp>$maxtemp){ > echo "CRITICAL"; > exit(2); > } > > ?> > > But even if I just use the simplest code it dosnt work. > echo "OK Test ok"; > exit(0); > > > When I run the script from webmin as nagios user it works. > > > > ---------------------------------------------------------------------- > -------- FREE DOWNLOAD - uberSVN with Social Coding for Subversion. > Subversion made easy with a complete admin console. Easy to use, easy > to manage, easy to install, easy to extend. > Get a Free download of the new open ALM Subversion platform now. > http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > 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 > ---------------------------------------------------------------------------- -- FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 ------------------------------------------------------------------------------ FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 w.muriithi at syncapse.com Sun Aug 14 20:50:35 2011 From: w.muriithi at syncapse.com (William Muriithi) Date: Sun, 14 Aug 2011 13:50:35 -0500 Subject: home made php script Message-ID: ----- Original Message ----- From: Daniel Tuecks To: Nagios Users List Sent: Sun Aug 14 05:23:09 2011 Subject: Re: [Nagios-users] home made php script Hi Erik, I think that Nagios can't find your script. The $USER$ macro is wrong. It should be $USERn$ (defined in your resource.cfg file). http://nagios.sourceforge.net/docs/nagioscore/3/en/macrolist.html#user Daniel 2011/8/14 Erik Olsen : > Hello > > I've been trying to make my own script now for a few hours but im not > getting it to work with nagios. > Im most familiar with php so I used that to make the script. > > My setup: > Ubuntu 11.4 server > Nagios 3.2.3 > > The host/command/and service are all in the same .cfg file. > > ?define command{ > ?command_name check_ups_temprature2 > ?command_line $USER$/check_ups_temp.php > } > > define service{ > use ? ? ? ? ? ? ? ? ? ? generic-service > host_name ? ? ? ? ? ? ? ups1 > service_description ? ? Temp ups env sensor > check_command ? ? ? ? ? eaton_ups_temp > } > > Status Information ?(Return code of 127 is out of bounds - plugin may be > missing) > > > If I run it with > command_line /usr/bin/php -q $USER$/check_ups_temp.php > I get warning instead of error status: Status Information:(null) > > > > My script: > #!/usr/bin/php -q > > $temp = 23; > > $maxtemp=22; > > if ($temp<=$maxtemp){ > echo "OK"; > exit(0); > } > if ($temp>$maxtemp){ > echo "CRITICAL"; > exit(2); > } > > ?> > > But even if I just use the simplest code it dosnt work. > echo "OK Test ok"; > exit(0); > > > When I run the script from webmin as nagios user it works. > > > > ------------------------------------------------------------------------------ > FREE DOWNLOAD - uberSVN with Social Coding for Subversion. > Subversion made easy with a complete admin console. Easy > to use, easy to manage, easy to install, easy to extend. > Get a Free download of the new open ALM Subversion platform now. > http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > 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 > ------------------------------------------------------------------------------ FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 ------------------------------------------------------------------------------ FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 w.muriithi at syncapse.com Sun Aug 14 20:52:10 2011 From: w.muriithi at syncapse.com (William Muriithi) Date: Sun, 14 Aug 2011 13:52:10 -0500 Subject: checking service once a day Message-ID: ----- Original Message ----- From: Silver Salonen To: nagios-users at lists.sourceforge.net Sent: Fri Aug 12 10:09:37 2011 Subject: Re: [Nagios-users] checking service once a day On 12.08.2011 17:54, Mike Guthrie wrote: > Silver Salonen wrote: >> On 12.08.2011 12:37, Silver Salonen wrote: >>> On 12.08.2011 11:25, Jim Avery wrote: >>>> On 12 August 2011 08:36, Silver Salonen wrote: >>>> >>>>> Hello. >>>>> >>>>> I want to check a service only once a day. So I tried this configuration: >>>>> >>>>> define timeperiod { >>>>> timeperiod_name once-a-day >>>>> alias On mornings >>>>> monday 08:00-08:30 >>>>> tuesday 08:00-08:30 >>>>> wednesday 08:00-08:30 >>>>> thursday 08:00-08:30 >>>>> friday 08:00-08:30 >>>>> saturday 08:00-08:30 >>>>> sunday 08:00-08:30 >>>>> } >>>>> >>>>> define service { >>>>> use generic-service >>>>> check_period once-a-day >>>>> normal_check_interval 1440 ; 24 hours >>>>> ... >>>>> } >>>>> > Do you need the check to run between 8-8:30, or just every 24 hours? > Your check_interval will not exceed the maximum check spread that's in > the main nagios.cfg file. I would try either setting the timeperiod for > the check *or* setting the wide check interval. Yes, I wanted the checks to be run between 8:00 and 8:30. But as I woohooed in the previous e-mail, it seems I got it working :) -- Silver ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 ------------------------------------------------------------------------------ FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 Stuart.Jones at health.wa.gov.au Mon Aug 15 01:35:09 2011 From: Stuart.Jones at health.wa.gov.au (Jones, Stuart) Date: Mon, 15 Aug 2011 07:35:09 +0800 Subject: How to monitor Cisco 4400 Wireless Controller In-Reply-To: References: Message-ID: What are you wanting to monitor? ________________________________ From: Deepak [mailto:r.n.deepak at gmail.com] Sent: Thursday, 11 August 2011 5:51 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to monitor Cisco 4400 Wireless Controller I want to monitor Cisco 4400 Series Wireless Controller, The wizard is not detecting the ports. So can anyone help me out is there any other way. Thanks, Deepak -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev -------------- 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 Stuart.Jones at health.wa.gov.au Mon Aug 15 01:41:52 2011 From: Stuart.Jones at health.wa.gov.au (Jones, Stuart) Date: Mon, 15 Aug 2011 07:41:52 +0800 Subject: How to monitor Cisco 4400 Wireless Controller In-Reply-To: References: Message-ID: Take a look at this site as s starting point: http://awesomeadmin.blogspot.com/2009/11/monitoring-cisco-wireless-contr oller.html ________________________________ From: Deepak [mailto:r.n.deepak at gmail.com] Sent: Thursday, 11 August 2011 5:51 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to monitor Cisco 4400 Wireless Controller I want to monitor Cisco 4400 Series Wireless Controller, The wizard is not detecting the ports. So can anyone help me out is there any other way. Thanks, Deepak -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev -------------- 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 Phillip.kennedy at yankeeairmuseum.org Mon Aug 15 02:24:28 2011 From: Phillip.kennedy at yankeeairmuseum.org (Phil Kennedy) Date: Sun, 14 Aug 2011 20:24:28 -0400 Subject: using check_snmp to chart page counts Message-ID: <4E48673C.6070807@yankeeairmuseum.org> I'm using check_snmp to monitor page counts on various printers. The output is returning the correct values, and PNP is charting, but it's showing the differences in page counts per polling interval, rather than an overall chart of "growth" (e.g., the chart says there are 100 pages, then an hour from now it bumps up to 110, and so on.) From what I've found, this is due to the output from SNP being a "counter", rather than a "gauge", is this something I can circumvent in the name of pretty charts and graphs? The command I'm using in the commands.cfg is as follows: $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.2.1.43.10.2.1.4.1.1 -l 'page count' -u 'pages' Thanks, ~Phil ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 w.muriithi at syncapse.com Mon Aug 15 04:31:29 2011 From: w.muriithi at syncapse.com (William Muriithi) Date: Sun, 14 Aug 2011 21:31:29 -0500 Subject: home made php script - Apology In-Reply-To: References: Message-ID: Hi Pandon me for the random emails I sent to the list. I had put my phone in the pocket without locking it, and it decided to spam the hell out of everybody Regards, William ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 Aug 15 09:26:48 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Mon, 15 Aug 2011 16:26:48 +0900 Subject: Accessing host and service status from external application Message-ID: <201108150726.AA04134@S2007337.jp.fujitsu.com> Hello all. I want to access the host and service status from external application. The nagios version will be v 3.3.1. I was searching in nagios exchange for the most effective way to access to the data by not affecting the nagios but couldn't decide the best one. (i.e status file , NDO , etc ) I thought maybe the fastest and stable way might be the status file access. What would be the effective way to access host and service status from Nagios? Thanks, Yu Watanabe ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 dtuecks at googlemail.com Mon Aug 15 10:33:51 2011 From: dtuecks at googlemail.com (Daniel Tuecks) Date: Mon, 15 Aug 2011 10:33:51 +0200 Subject: Accessing host and service status from external application In-Reply-To: <201108150726.AA04134@S2007337.jp.fujitsu.com> References: <201108150726.AA04134@S2007337.jp.fujitsu.com> Message-ID: Hello, imho the most effective way is 'livestatus' (http://mathias-kettner.de/checkmk_livestatus.html). Daniel 2011/8/15 Yu Watanabe : > Hello all. > > I want to access the host and service status from external application. > The nagios version will be v 3.3.1. > > I was searching in nagios exchange for the most effective way to access to the data > ?by not affecting the nagios but couldn't decide the best one. > (i.e status file , NDO , etc ) > > I thought maybe the fastest and stable way might be the status file access. > > What would be the effective way to access host and service status from Nagios? > > Thanks, > Yu Watanabe > > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: ?http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > 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 > ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 daniel.wittenberg.r0ko at statefarm.com Mon Aug 15 16:42:46 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Mon, 15 Aug 2011 14:42:46 +0000 Subject: Deleting old comments In-Reply-To: References: Message-ID: <4288A518A157EC4C8873FEE74F778BF001FE65@WPSDGQHH.OPR.STATEFARM.ORG> I have seen cases where there can be enough comments to start slowing the interface down considerably. We have a script that removes them if they are > 30 days old or more than X number per host. Dan -----Original Message----- From: William Muriithi [mailto:w.muriithi at syncapse.com] Sent: Thursday, August 11, 2011 9:18 AM To: Nagios Users List Subject: Re: [Nagios-users] Deleting old comments Jim, Why would you want to delete old comments against a host? I usually like them, as it can help identify a recurring problem on the hardware. Generally, it's a documentation of the hardware past performance. William On 11-08-10 2:10 PM, "Jim Avery" wrote: >f way through writing a perl script to delete old >comments (more than n days old) from Nagios. Before I spend more time >on it though, if anyone else already has something that does that, >please shout! ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 jim at jimavery.me.uk Mon Aug 15 17:18:50 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 15 Aug 2011 16:18:50 +0100 Subject: using check_snmp to chart page counts In-Reply-To: <4E48673C.6070807@yankeeairmuseum.org> References: <4E48673C.6070807@yankeeairmuseum.org> Message-ID: On 15 August 2011 01:24, Phil Kennedy wrote: > I'm using check_snmp to monitor page counts on various printers. The > output is returning the correct values, and PNP is charting, but it's > showing the differences in page counts per polling interval, rather than > an overall chart of "growth" (e.g., the chart says there are 100 pages, > then an hour from now it bumps up to 110, and so on.) From what I've > found, this is due to the output from SNP being a "counter", rather than > a "gauge", is this something I can circumvent in the name of pretty > charts and graphs? > > The command I'm using in the commands.cfg is as follows: > > $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o > .1.3.6.1.2.1.43.10.2.1.4.1.1 -l 'page count' -u 'pages' The very latest version of check_snmp has a --rate option which is just what you need for this sort of thing. http://nagiosplugins.org/man/check_snmp ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 doepain at gmail.com Mon Aug 15 17:47:49 2011 From: doepain at gmail.com (dOE) Date: Mon, 15 Aug 2011 11:47:49 -0400 Subject: Unable to check SSL with check_http Message-ID: username at systemname:~$ sudo dpkg -l | grep openssl ii openssl 0.9.8k-7ubuntu8.6 Secure Socket Layer (SSL) binary and related ii python-openssl 0.10-1 Python wrapper around the OpenSSL library username at systemname:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 10.04.2 LTS Release: 10.04 Codename: lucid When I execute the command check_http * * username at systemname:/usr/local/nagios/libexec$* ./check_http -H -S -u /**default_check.aspx)>** -t 60 -w 20 -c 30 -C 14 -S -v* *check_http: Invalid option - SSL is not available* I tried seeing if there was an OPENSSL DEVELOPMENT package with apt-get but there does not seem to be one. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev -------------- 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 rkackley at naoj.org Tue Aug 16 03:46:56 2011 From: rkackley at naoj.org (Russell Kackley) Date: Mon, 15 Aug 2011 15:46:56 -1000 Subject: check_openmanage - Feature request Message-ID: <4E49CC10.2010402@naoj.org> I recently downloaded and started using the Nagios plugin check_openmanage to provide information on our Dell PowerEdge servers to Nagios. check_openmanage works very well for us, but there is one thing that I would like to see added. Another possibility is that other check_openmanage users could point me to a way to accomplish what I want to do using the existing code. We have two PowerEdge 2950 servers, named s1 and s2. Each server has a PERC 6/E card installed in them. We also have a PowerVault MD1000 storage unit. Both servers are connected to the MD1000. s1 is our primary server so we boot it first and Dell OMSA reports that the physical disks are "Online", which is what we want. s2 is our backup server and we boot that second. For this server, Dell OMSA reports that the physical disk status is "Non-Critical" and the state is "Foreign". This is ok for us, but the problem is that check_openmanage sees the "Non-Critical" status and reports a Warning for the physical disks. I would like check_openmanage to ignore the "Non-Critical" status when the state is "Foreign", preferably via a blacklist option, e.g., pdisk_foreign. I think that this is similar to the blacklist option pdisk_cert, in which check_openmanage ignores the "Non-Critical" status when a disk is not certified by Dell. Note that I did investigate the blacklist item pdisk and the "--check storage=0" option, but my understanding of those options is that they suppress all checks of the disks, which is not what I want. Do the users of check_openmanage 1) have any suggestions for how I can tell check_openmanage to ignore the "Non-Critical"/"Foreign" state of the disks, or 2) think that this would be a useful feature to add to check_openmanage? -- Russell Kackley Subaru Telescope Hilo, Hawaii ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 NIKkurer at yandex.ru Tue Aug 16 10:11:27 2011 From: NIKkurer at yandex.ru (NIKKurer) Date: Tue, 16 Aug 2011 12:11:27 +0400 Subject: Nagios as snmp agent Message-ID: <18221313482287@web108.yandex.ru> Hello! I'm sorry for my terrible English. Google translate is still not good enough. I use Nagios Not so long ago. We have a need to send data on the status of hosts and services using snmp from nagios to another server. Unfortunately I could not find information on the possibility to use Nagios. Maybe someone else has already encountered this problem? -- Best regards Alex Trifonov ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 Tue Aug 16 11:46:27 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 16 Aug 2011 11:46:27 +0200 Subject: check_openmanage - Feature request In-Reply-To: <4E49CC10.2010402@naoj.org> (Russell Kackley's message of "Mon, 15 Aug 2011 15:46:56 -1000") References: <4E49CC10.2010402@naoj.org> Message-ID: <15tmxf9ofik.fsf@tux.uio.no> Russell Kackley writes: > I recently downloaded and started using the Nagios plugin > check_openmanage to provide information on our Dell PowerEdge servers to > Nagios. check_openmanage works very well for us, but there is one thing > that I would like to see added. Another possibility is that other > check_openmanage users could point me to a way to accomplish what I want > to do using the existing code. > > We have two PowerEdge 2950 servers, named s1 and s2. Each server has a > PERC 6/E card installed in them. We also have a PowerVault MD1000 > storage unit. Both servers are connected to the MD1000. s1 is our > primary server so we boot it first and Dell OMSA reports that the > physical disks are "Online", which is what we want. s2 is our backup > server and we boot that second. For this server, Dell OMSA reports that > the physical disk status is "Non-Critical" and the state is "Foreign". > This is ok for us, but the problem is that check_openmanage sees the > "Non-Critical" status and reports a Warning for the physical disks. I > would like check_openmanage to ignore the "Non-Critical" status when the > state is "Foreign", preferably via a blacklist option, e.g., > pdisk_foreign. I think that this is similar to the blacklist option > pdisk_cert, in which check_openmanage ignores the "Non-Critical" status > when a disk is not certified by Dell. Note that I did investigate the > blacklist item pdisk and the "--check storage=0" option, but my > understanding of those options is that they suppress all checks of the > disks, which is not what I want. > > Do the users of check_openmanage 1) have any suggestions for how I can > tell check_openmanage to ignore the "Non-Critical"/"Foreign" state of > the disks, or 2) think that this would be a useful feature to add to > check_openmanage? Hi Russel, This would be a nice feature to add. Please try the latest development version (3.7.1-beta2), it includes the new blacklisting keyword 'pdisk_foreign' as you suggest: http://folk.uio.no/trondham/software/check_openmanage.html#download Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 gmontagner at sorint.it Tue Aug 16 13:56:19 2011 From: gmontagner at sorint.it (Giacomo Montagner) Date: Tue, 16 Aug 2011 13:56:19 +0200 Subject: Problems compiling nagios rpm from nagios.spec for 3.3.1 Message-ID: <1313495784.2426.12.camel@ragnarok.entirelyunlike.net> Hi all, I compiled rpms of nagios 3.3.1 from the nagios.spec contained into the tar.gz. There are 2 problems with this procedure, I hope this is the right place to point them out: 1) extracting the tar.gz creates a directory called "nagios", while the expected name is "nagios-3.3.1" - I recreated the archive using the right name and put it into /usr/src/redhat/SOURCES/; 2) the spec.file contains an error: the --datarootdir flag must actually be --datadir. Correcting these two problems allowed me to compile nagios. Regards, -- Giacomo Montagner ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 rkackley at naoj.org Tue Aug 16 21:09:07 2011 From: rkackley at naoj.org (Russell Kackley) Date: Tue, 16 Aug 2011 09:09:07 -1000 Subject: check_openmanage - Feature request In-Reply-To: <15tmxf9ofik.fsf@tux.uio.no> References: <4E49CC10.2010402@naoj.org> <15tmxf9ofik.fsf@tux.uio.no> Message-ID: <4E4AC053.8000704@naoj.org> On 08/15/2011 11:46 PM, Trond Hasle Amundsen wrote: > Russell Kackley writes: > >> I recently downloaded and started using the Nagios plugin >> check_openmanage to provide information on our Dell PowerEdge servers to >> Nagios. check_openmanage works very well for us, but there is one thing >> that I would like to see added. Another possibility is that other >> check_openmanage users could point me to a way to accomplish what I want >> to do using the existing code. >> >> We have two PowerEdge 2950 servers, named s1 and s2. Each server has a >> PERC 6/E card installed in them. We also have a PowerVault MD1000 >> storage unit. Both servers are connected to the MD1000. s1 is our >> primary server so we boot it first and Dell OMSA reports that the >> physical disks are "Online", which is what we want. s2 is our backup >> server and we boot that second. For this server, Dell OMSA reports that >> the physical disk status is "Non-Critical" and the state is "Foreign". >> This is ok for us, but the problem is that check_openmanage sees the >> "Non-Critical" status and reports a Warning for the physical disks. I >> would like check_openmanage to ignore the "Non-Critical" status when the >> state is "Foreign", preferably via a blacklist option, e.g., >> pdisk_foreign. I think that this is similar to the blacklist option >> pdisk_cert, in which check_openmanage ignores the "Non-Critical" status >> when a disk is not certified by Dell. Note that I did investigate the >> blacklist item pdisk and the "--check storage=0" option, but my >> understanding of those options is that they suppress all checks of the >> disks, which is not what I want. >> >> Do the users of check_openmanage 1) have any suggestions for how I can >> tell check_openmanage to ignore the "Non-Critical"/"Foreign" state of >> the disks, or 2) think that this would be a useful feature to add to >> check_openmanage? > Hi Russel, > > This would be a nice feature to add. Please try the latest development > version (3.7.1-beta2), it includes the new blacklisting keyword > 'pdisk_foreign' as you suggest: > > http://folk.uio.no/trondham/software/check_openmanage.html#download > > Regards, Thanks, Trond. I tried check_openmanage 3.7.1-beta2 and it works perfectly. Thanks also for the quick response. -- Russell Kackley Subaru Telescope Hilo, Hawaii ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Nagios-users mailing list Nagios-users 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 Craig.Stewart at corp.xplornet.com Tue Aug 16 21:12:45 2011 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Tue, 16 Aug 2011 16:12:45 -0300 Subject: Avail.cg tuning Message-ID: <4E4AC12D.90400@corp.xplornet.com> Good day folks. Since I last posted a question here, I've been making a ton of progress. Enough so that now I'm getting into the "wouldn't it be nice bits." On my new Nagios 3 system, which is running a distributed probe set up, when I run an availability report it takes somewhere in excess of 5 min for about 6800 hosts and 12000 services. On my old Nagios2 stand alone server with about 6500 hosts and 10000 services (not updating it any more), the same time frame and options availability report takes 25 seconds. Now, the hardware for the master server in the new set up isn't as powerful (dual processor v.s. quad, it was a proof of concept that has grown) but I can't see that causing the cgi to take twent times as long to run! Both systems are in a Linux environment, and the log files are on the hard disks, not in a RAM disk. I assume it's something to do with the web server (apache) but I'm no expert and I don't think the original system had it tweaked. Any thoughts? Craig -- Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Nagios-users mailing list Nagios-users 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 michel.vdv at wxs.nl Tue Aug 16 21:22:10 2011 From: michel.vdv at wxs.nl (michel.vdv at wxs.nl) Date: Tue, 16 Aug 2011 21:22:10 +0200 Subject: Problem with OCP_daemon in distributes environment Message-ID: <7FADD3D6611BBF4BA08B73C0183E22BB15941525@CPEXBE-EML16.kpnsp.local> Dear readers, I have a strange problem related to the use of OCP_daemon. I've implemented this today on a "remote" nagios machine responsible for monitoring our LAN hosts. Until now all messages and performance data was sent from that machine to our Central Nagios machine via obsess_over_hosts and obsess_over_services. But because a lot of services on the remote host combined with relative short check_interval periods caused high service and host check latencies i've started looking for an alternative and read about OCP_daemon. I followed the install instructions and sending data via OCP_daemon works fine and very fast, also the remote nagios machine's latencies stay low. However, the central server stays processing all passive service and host check results (also from other send_nsca based hosts) but no longer executes it's own ACTIVE checks. Is soon as i stop nagios on the remote monitor and restart nagios on the central server it starts executing ACTIVE checks again. The load on both servers remained about the same since OCP_daemon and the only thing i noticed is that the number of buffers/slots used for the external command file (nagios.cmd) on the central server reaches rather higher values than before but no more than 30 - 40% of the available 4096 slots. Please advice me. Michel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 -------------- 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 Craig.Stewart at corp.xplornet.com Tue Aug 16 21:47:13 2011 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Tue, 16 Aug 2011 16:47:13 -0300 Subject: Problem with OCP_daemon in distributes environment In-Reply-To: <7FADD3D6611BBF4BA08B73C0183E22BB15941525@CPEXBE-EML16.kpnsp.local> References: <7FADD3D6611BBF4BA08B73C0183E22BB15941525@CPEXBE-EML16.kpnsp.local> Message-ID: <4E4AC941.7090006@corp.xplornet.com> Michel, I just did the same thing for my set up and I didn't see this issue. That being said, I don't *want* the central master to execute service checks at all unless it's stale. What may be happening is that the remote passive check may be getting inserted while the system is waiting to execute the next check. This is probably resetting the clock as it were and the count down starts over. For example: - NOW is an arbitrary point in time. - Nagios schedules the check to be executed at NOW + 5 min. (recheck interval) - The passive check comes in at NOW + 3 min. Nagios resets the clock to NOW + 3 min + check interval. If the remote is submitting checks at a frequency less than the central's recheck interval, I can see this happening. The clock never runs out, unless the remote system doesn't submit a check. A couple things to check are the check intervals on both the central and the probe, and if you can tolerate the hit, shut down the probe and see if the central server starts executing checks on it's own. I may be out in left field as well. Cheers! Craig -- Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 08/16/2011 04:22 PM, michel.vdv at wxs.nl wrote: > Dear readers, > > I have a strange problem related to the use of OCP_daemon. > I've implemented this today on a "remote" nagios machine responsible for > monitoring our LAN hosts. > Until now all messages and performance data was sent from that machine > to our Central Nagios machine via obsess_over_hosts and > obsess_over_services. > But because a lot of services on the remote host combined with relative > short check_interval periods caused high service and host check > latencies i've started looking for an alternative and read about OCP_daemon. > I followed the install instructions and sending data via OCP_daemon > works fine and very fast, also the remote nagios machine's latencies > stay low. > However, the central server stays processing all passive service and > host check results (also from other send_nsca based hosts) but no longer > executes it's own ACTIVE checks. > Is soon as i stop nagios on the remote monitor and restart nagios on the > central server it starts executing ACTIVE checks again. > The load on both servers remained about the same since OCP_daemon and > the only thing i noticed is that the number of buffers/slots used for > the external command file (nagios.cmd) on the central server > reaches rather higher values than before but no more than 30 - 40% of > the available 4096 slots. > > Please advice me. > > Michel > > > -- > This message has been scanned for viruses and > dangerous content by *MailScanner* , and is > believed to be clean. ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Nagios-users mailing list Nagios-users 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 michel.vdv at wxs.nl Tue Aug 16 22:02:39 2011 From: michel.vdv at wxs.nl (michel.vdv at wxs.nl) Date: Tue, 16 Aug 2011 22:02:39 +0200 Subject: Problem with OCP_daemon in distributes environment References: <7FADD3D6611BBF4BA08B73C0183E22BB15941525@CPEXBE-EML16.kpnsp.local> <4E4AC941.7090006@corp.xplornet.com> Message-ID: <7FADD3D6611BBF4BA08B73C0183E22BB15941529@CPEXBE-EML16.kpnsp.local> Hello Craig, First of all thanks for the fast response. Maybe i need to clear things out a bit more to why ACTIVE checks are happening on the central server. We have a distributed setup with a central machine in DMZ reachable for all remote nagios machines we have out there. One of those is the LAN machine i mentioned where OCP_daemon was setup today. The central Nagios machine in DMZ should/must perform active checks of all our equipment in the same DMZ, the others hosts only send passive data. The DMZ machine cannot perform ACTIVE checks on the services monitored by 1 or more of the remote machines. So, this is why there is a problem when the central server does not perform it's own checks. I've been testing around with repear frequencies on the central server because i saw reaper frequency exceeded messages in the nagios.debug (-1) output. These now stay away but the result is still te same. Also lowered the frequency of all template related check_interval's on the OCP_daemon remote machine but that does not help either. If you have any more suggestions, please let me know. Regards, Michel ________________________________ Van: Craig Stewart [mailto:Craig.Stewart at corp.xplornet.com] Verzonden: di 16-8-2011 21:47 Aan: Nagios Users List CC: michel.vdv at wxs.nl Onderwerp: Re: [Nagios-users] Problem with OCP_daemon in distributes environment Michel, I just did the same thing for my set up and I didn't see this issue. That being said, I don't *want* the central master to execute service checks at all unless it's stale. What may be happening is that the remote passive check may be getting inserted while the system is waiting to execute the next check. This is probably resetting the clock as it were and the count down starts over. For example: - NOW is an arbitrary point in time. - Nagios schedules the check to be executed at NOW + 5 min. (recheck interval) - The passive check comes in at NOW + 3 min. Nagios resets the clock to NOW + 3 min + check interval. If the remote is submitting checks at a frequency less than the central's recheck interval, I can see this happening. The clock never runs out, unless the remote system doesn't submit a check. A couple things to check are the check intervals on both the central and the probe, and if you can tolerate the hit, shut down the probe and see if the central server starts executing checks on it's own. I may be out in left field as well. Cheers! Craig -- Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 08/16/2011 04:22 PM, michel.vdv at wxs.nl wrote: > Dear readers, > > I have a strange problem related to the use of OCP_daemon. > I've implemented this today on a "remote" nagios machine responsible for > monitoring our LAN hosts. > Until now all messages and performance data was sent from that machine > to our Central Nagios machine via obsess_over_hosts and > obsess_over_services. > But because a lot of services on the remote host combined with relative > short check_interval periods caused high service and host check > latencies i've started looking for an alternative and read about OCP_daemon. > I followed the install instructions and sending data via OCP_daemon > works fine and very fast, also the remote nagios machine's latencies > stay low. > However, the central server stays processing all passive service and > host check results (also from other send_nsca based hosts) but no longer > executes it's own ACTIVE checks. > Is soon as i stop nagios on the remote monitor and restart nagios on the > central server it starts executing ACTIVE checks again. > The load on both servers remained about the same since OCP_daemon and > the only thing i noticed is that the number of buffers/slots used for > the external command file (nagios.cmd) on the central server > reaches rather higher values than before but no more than 30 - 40% of > the available 4096 slots. > > Please advice me. > > Michel > > > -- > This message has been scanned for viruses and > dangerous content by *MailScanner* , and is > believed to be clean. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 -------------- 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 Wed Aug 17 02:17:48 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Wed, 17 Aug 2011 09:17:48 +0900 Subject: Accessing host and service status from external application In-Reply-To: References: Message-ID: <201108170017.AA04135@S2007337.jp.fujitsu.com> Hello Daniel. Thank you for the advice. Fetching through unix domain socekt seems to be interesting. In memory access will definitely be more effective than raw file access. I will check this further. Thanks, Yu Daniel Tuecks $B$5$s$O=q$-$^$7$?(B: >Hello, > >imho the most effective way is 'livestatus' >(http://mathias-kettner.de/checkmk_livestatus.html). > >Daniel > >2011/8/15 Yu Watanabe : >> Hello all. >> >> I want to access the host and service status from external application. >> The nagios version will be v 3.3.1. >> >> I was searching in nagios exchange for the most effective way to access to the data >> ?by not affecting the nagios but couldn't decide the best one. >> (i.e status file , NDO , etc ) >> >> I thought maybe the fastest and stable way might be the status file access. >> >> What would be the effective way to access host and service status from Nagios? >> >> Thanks, >> Yu Watanabe >> >> >> ------------------------------------------------------------------------------ >> uberSVN's rich system and user administration capabilities and model >> configuration take the hassle out of deploying and managing Subversion and >> the tools developers use with it. Learn more about uberSVN and get a free >> download at: ?http://p.sf.net/sfu/wandisco-dev2dev >> _______________________________________________ >> 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 >> > >------------------------------------------------------------------------------ >uberSVN's rich system and user administration capabilities and model >configuration take the hassle out of deploying and managing Subversion and >the tools developers use with it. Learn more about uberSVN and get a free >download at: http://p.sf.net/sfu/wandisco-dev2dev >_______________________________________________ >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 -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 -------------- 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 Craig.Stewart at corp.xplornet.com Wed Aug 17 14:10:23 2011 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Wed, 17 Aug 2011 09:10:23 -0300 Subject: Problem with OCP_daemon in distributesenvironment In-Reply-To: <7FADD3D6611BBF4BA08B73C0183E22BB15941529@CPEXBE-EML16.kpnsp.local> References: <7FADD3D6611BBF4BA08B73C0183E22BB15941525@CPEXBE-EML16.kpnsp.local><4E4AC941.7090006@corp.xplornet.com> <7FADD3D6611BBF4BA08B73C0183E22BB15941529@CPEXBE-EML16.kpnsp.local> Message-ID: <4E4BAFAF.8080006@corp.xplornet.com> Michel, Okay, I understand now. So, if I get this correctly, when you were using the obsessing method, everything was working fine from the central server's point of view, but when you moved one remote unit from the obsessing to the OCP_daemon, the central server stopped doing all active checks? The way I have it set up here for my central/probe configuration is that the central server accepts passive checks through the nscad process. On my remote servers they send in either via the OCP_daemon (which calls send_nsca) or a custom obsess script. There are no changes to my central server. So, unless you are doing something strange, you should be able to get it going and executing active checks as well as accepting passive checks on the central. The method the probe uses, as long as it's consistent with the way the central server picks up check (send_nsca/nscad in my case) is independent of the central server. If you get this working, switching the probe from the obsess method to the OCP_daemon method should not affect the central server, or even require a restart. Am I making any sense here or have I confused the issue? Craig -- Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 08/16/2011 05:02 PM, michel.vdv at wxs.nl wrote: > Hello Craig, > > First of all thanks for the fast response. > Maybe i need to clear things out a bit more to why ACTIVE checks are > happening on the central server. > We have a distributed setup with a central machine in DMZ reachable for > all remote nagios machines we have out there. > One of those is the LAN machine i mentioned where OCP_daemon was setup > today. > The central Nagios machine in DMZ should/must perform active checks of > all our equipment in the same DMZ, the others hosts only send passive data. > The DMZ machine cannot perform ACTIVE checks on the services monitored > by 1 or more of the remote machines. > So, this is why there is a problem when the central server does not > perform it's own checks. > > I've been testing around with repear frequencies on the central server > because i saw reaper frequency exceeded messages in the nagios.debug > (-1) output. > These now stay away but the result is still te same. > Also lowered the frequency of all template related check_interval's on > the OCP_daemon remote machine but that does not help either. > > If you have any more suggestions, please let me know. > > Regards, > > Michel > ------------------------------------------------------------------------ > *Van:* Craig Stewart [mailto:Craig.Stewart at corp.xplornet.com] > *Verzonden:* di 16-8-2011 21:47 > *Aan:* Nagios Users List > *CC:* michel.vdv at wxs.nl > *Onderwerp:* Re: [Nagios-users] Problem with OCP_daemon in distributes > environment > > Michel, > > I just did the same thing for my set up and I didn't see this issue. > That being said, I don't *want* the central master to execute service > checks at all unless it's stale. > > What may be happening is that the remote passive check may be getting > inserted while the system is waiting to execute the next check. This is > probably resetting the clock as it were and the count down starts over. > > For example: > > - NOW is an arbitrary point in time. > - Nagios schedules the check to be executed at NOW + 5 min. (recheck > interval) > - The passive check comes in at NOW + 3 min. Nagios resets the clock to > NOW + 3 min + check interval. > > If the remote is submitting checks at a frequency less than the > central's recheck interval, I can see this happening. The clock never > runs out, unless the remote system doesn't submit a check. > > A couple things to check are the check intervals on both the central and > the probe, and if you can tolerate the hit, shut down the probe and see > if the central server starts executing checks on it's own. > > I may be out in left field as well. > > Cheers! > > Craig > -- > Craig Stewart > Systems Integration Analyst > Craig.Stewart at corp.xplornet.com > Xplornet - Broadband, Everywhere > > On 08/16/2011 04:22 PM, michel.vdv at wxs.nl wrote: >> Dear readers, >> >> I have a strange problem related to the use of OCP_daemon. >> I've implemented this today on a "remote" nagios machine responsible for >> monitoring our LAN hosts. >> Until now all messages and performance data was sent from that machine >> to our Central Nagios machine via obsess_over_hosts and >> obsess_over_services. >> But because a lot of services on the remote host combined with relative >> short check_interval periods caused high service and host check >> latencies i've started looking for an alternative and read about > OCP_daemon. >> I followed the install instructions and sending data via OCP_daemon >> works fine and very fast, also the remote nagios machine's latencies >> stay low. >> However, the central server stays processing all passive service and >> host check results (also from other send_nsca based hosts) but no longer >> executes it's own ACTIVE checks. >> Is soon as i stop nagios on the remote monitor and restart nagios on the >> central server it starts executing ACTIVE checks again. >> The load on both servers remained about the same since OCP_daemon and >> the only thing i noticed is that the number of buffers/slots used for >> the external command file (nagios.cmd) on the central server >> reaches rather higher values than before but no more than 30 - 40% of >> the available 4096 slots. >> >> Please advice me. >> >> Michel >> >> >> -- >> This message has been scanned for viruses and >> dangerous content by *MailScanner* , and is >> believed to be clean. > > > -- > This message has been scanned for viruses and > dangerous content by *MailScanner* , and is > believed to be clean. ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Nagios-users mailing list Nagios-users 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 rjm399 at nyu.edu Wed Aug 17 17:52:39 2011 From: rjm399 at nyu.edu (Robert J Molerio) Date: Wed, 17 Aug 2011 11:52:39 -0400 Subject: Newbie questions for Nagios XI latest release Message-ID: Hi, I have a few questions on the latest release of the product. 1) Does Nagios support the use of Oracle as the back end database? Would doing so compromise our support from them? 2) Can Nagios receive alerts from external monitors? If so what mechanisms would be supported? 3) Does Nagios support monitoring IBM specific hardware - e.g. the bladecenter AMM's or IBM RSA II cards in standalone xServers for alerts? -- Thank you, Bob Molerio Systems Administrator New York University ITS Computer Facilities Services/Infrastructure Level C-2 75 Third Avenue New York NY 10003-5527 email:robert.molerio at nyu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 -------------- 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 lmw94002 at hotmail.com Wed Aug 17 18:21:42 2011 From: lmw94002 at hotmail.com (Mathew Walker) Date: Wed, 17 Aug 2011 12:21:42 -0400 Subject: Newbie questions for Nagios XI latest release In-Reply-To: References: Message-ID: To be rather general... If you can monitor a device via SNMP, you can monitor it via Nagios. Also you can use something like NSCA to accept checks/heartbeats from remote systems/services. "NSCA is a Linux/Unix daemon allows you to integrate passive alerts and checks from remote machines and applications with Nagios. Useful for processing security alerts, as well as redundant and distributed Nagios setups." The ease of which you can do the above... well, that's debatable depending on what may (or may not) already be done by various plugins other folks have kindly written as well as your skills to either extend/modify what exists or even write something totally new. -- Mat W. Date: Wed, 17 Aug 2011 11:52:39 -0400 From: rjm399 at nyu.edu To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Newbie questions for Nagios XI latest release Hi, I have a few questions on the latest release of the product. 1) Does Nagios support the use of Oracle as the back end database? Would doing so compromise our support from them? 2) Can Nagios receive alerts from external monitors? If so what mechanisms would be supported? 3) Does Nagios support monitoring IBM specific hardware - e.g. the bladecenter AMM's or IBM RSA II cards in standalone xServers for alerts? -- Thank you, Bob Molerio Systems Administrator New York University ITS Computer Facilities Services/Infrastructure Level C-2 75 Third Avenue New York NY 10003-5527 email:robert.molerio at nyu.edu ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Nagios-users mailing list Nagios-users 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 -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 -------------- 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 michel.vdv at wxs.nl Wed Aug 17 20:29:45 2011 From: michel.vdv at wxs.nl (Michel van der Voort) Date: Wed, 17 Aug 2011 20:29:45 +0200 Subject: Problem with OCP_daemon in distributesenvironment In-Reply-To: <4E4BAFAF.8080006@corp.xplornet.com> References: <4E4BAFAF.8080006@corp.xplornet.com> Message-ID: Hello again Graig, Thanks once more and yes you're making sense. But this is also the reason why I can't pinpoint on what's going wrong, it should just be able to work especially because nothing changes on the central server only the amount of check results from the OCP_daemon machine maybe. We indeed have a number of remote machines all doing their checks locally en sending them to our central server via nsca/nscad and so was (and now is again) the one I tried to configure with OCP_daemon. I know offcourse that OCP_daemon uses the underlying (and unchanged) send_nsca config and binary and that all works well. The latency's I had before on this OCP_daemon machine made me experiment with it OCP because a lag in messages/performance data appearing on the central server of about 10 - 15 minutes was unacceptable. This also caused WARNINGS on certain checks on the OCP machine because these have to run frequent enough to not be causing counter overflows on 64-bit counters for some network devices we monitor. Also, debugging nsca on the central receiving end shows everything working find, data coming in from the OCP_daemon machine as well as other still nsca/nscad'ing other remote machines. The only thing that stops working are the central servers own ACTIVE checks of which no other Nagios machine even knows about. I guess I have to do even more research and debugging on the central server. I would expect that machine would be getting high CPU, memory or I/O indications when something like to fast incoming data would be the issue, but there are no indications. Just that after 2 hours all local checks have a last execution timestamp of 2 hours and the check_ processes also really don't get fired anymore. I've switched back to standard obsessing with send_nsca again on the OCP_daemon machine, restarted nagios on the central server and everything's working again but unfortunately with high check intervals and latency on the OCP_daemon machine. The only thing I noticed was the higher number of buffer slots used on the external command file where process_perfdata reads from and nscad writes to. For now, thanks a lot. I'm not really familiar with closing a topic on the Nagios Users List but I will try to. Also, if and when I find out more I will inform you. Best regards, Michel -----Oorspronkelijk bericht----- Van: Craig Stewart [mailto:Craig.Stewart at corp.xplornet.com] Verzonden: woensdag 17 augustus 2011 14:10 Aan: Nagios Users List CC: michel.vdv at wxs.nl Onderwerp: Re: [Nagios-users] Problem with OCP_daemon in distributesenvironment Michel, Okay, I understand now. So, if I get this correctly, when you were using the obsessing method, everything was working fine from the central server's point of view, but when you moved one remote unit from the obsessing to the OCP_daemon, the central server stopped doing all active checks? The way I have it set up here for my central/probe configuration is that the central server accepts passive checks through the nscad process. On my remote servers they send in either via the OCP_daemon (which calls send_nsca) or a custom obsess script. There are no changes to my central server. So, unless you are doing something strange, you should be able to get it going and executing active checks as well as accepting passive checks on the central. The method the probe uses, as long as it's consistent with the way the central server picks up check (send_nsca/nscad in my case) is independent of the central server. If you get this working, switching the probe from the obsess method to the OCP_daemon method should not affect the central server, or even require a restart. Am I making any sense here or have I confused the issue? Craig -- Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 08/16/2011 05:02 PM, michel.vdv at wxs.nl wrote: > Hello Craig, > > First of all thanks for the fast response. > Maybe i need to clear things out a bit more to why ACTIVE checks are > happening on the central server. > We have a distributed setup with a central machine in DMZ reachable for > all remote nagios machines we have out there. > One of those is the LAN machine i mentioned where OCP_daemon was setup > today. > The central Nagios machine in DMZ should/must perform active checks of > all our equipment in the same DMZ, the others hosts only send passive data. > The DMZ machine cannot perform ACTIVE checks on the services monitored > by 1 or more of the remote machines. > So, this is why there is a problem when the central server does not > perform it's own checks. > > I've been testing around with repear frequencies on the central server > because i saw reaper frequency exceeded messages in the nagios.debug > (-1) output. > These now stay away but the result is still te same. > Also lowered the frequency of all template related check_interval's on > the OCP_daemon remote machine but that does not help either. > > If you have any more suggestions, please let me know. > > Regards, > > Michel > ------------------------------------------------------------------------ > *Van:* Craig Stewart [mailto:Craig.Stewart at corp.xplornet.com] > *Verzonden:* di 16-8-2011 21:47 > *Aan:* Nagios Users List > *CC:* michel.vdv at wxs.nl > *Onderwerp:* Re: [Nagios-users] Problem with OCP_daemon in distributes > environment > > Michel, > > I just did the same thing for my set up and I didn't see this issue. > That being said, I don't *want* the central master to execute service > checks at all unless it's stale. > > What may be happening is that the remote passive check may be getting > inserted while the system is waiting to execute the next check. This is > probably resetting the clock as it were and the count down starts over. > > For example: > > - NOW is an arbitrary point in time. > - Nagios schedules the check to be executed at NOW + 5 min. (recheck > interval) > - The passive check comes in at NOW + 3 min. Nagios resets the clock to > NOW + 3 min + check interval. > > If the remote is submitting checks at a frequency less than the > central's recheck interval, I can see this happening. The clock never > runs out, unless the remote system doesn't submit a check. > > A couple things to check are the check intervals on both the central and > the probe, and if you can tolerate the hit, shut down the probe and see > if the central server starts executing checks on it's own. > > I may be out in left field as well. > > Cheers! > > Craig > -- > Craig Stewart > Systems Integration Analyst > Craig.Stewart at corp.xplornet.com > Xplornet - Broadband, Everywhere > > On 08/16/2011 04:22 PM, michel.vdv at wxs.nl wrote: >> Dear readers, >> >> I have a strange problem related to the use of OCP_daemon. >> I've implemented this today on a "remote" nagios machine responsible for >> monitoring our LAN hosts. >> Until now all messages and performance data was sent from that machine >> to our Central Nagios machine via obsess_over_hosts and >> obsess_over_services. >> But because a lot of services on the remote host combined with relative >> short check_interval periods caused high service and host check >> latencies i've started looking for an alternative and read about > OCP_daemon. >> I followed the install instructions and sending data via OCP_daemon >> works fine and very fast, also the remote nagios machine's latencies >> stay low. >> However, the central server stays processing all passive service and >> host check results (also from other send_nsca based hosts) but no longer >> executes it's own ACTIVE checks. >> Is soon as i stop nagios on the remote monitor and restart nagios on the >> central server it starts executing ACTIVE checks again. >> The load on both servers remained about the same since OCP_daemon and >> the only thing i noticed is that the number of buffers/slots used for >> the external command file (nagios.cmd) on the central server >> reaches rather higher values than before but no more than 30 - 40% of >> the available 4096 slots. >> >> Please advice me. >> >> Michel >> >> >> -- >> This message has been scanned for viruses and >> dangerous content by *MailScanner* , and is >> believed to be clean. > > > -- > This message has been scanned for viruses and > dangerous content by *MailScanner* , and is > believed to be clean. ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Nagios-users mailing list Nagios-users 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 Wed Aug 17 19:55:01 2011 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Wed, 17 Aug 2011 12:55:01 -0500 Subject: Having users view only their hosts/services Message-ID: I know that this question has been posted many times before but what I am looking for is where I went wrong and if someone has an easy method. I have setup various users to view there information in Nagios and all is good. But for some reason, when I setup users now, it gets them to login but displays the error message the "not authorized to view..." I have no clue what I have done wrong. Any help would be great. Thanks, Ed -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 -------------- 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 Christian.Mies at it-novum.com Thu Aug 18 14:54:23 2011 From: Christian.Mies at it-novum.com (Mies, Christian) Date: Thu, 18 Aug 2011 14:54:23 +0200 Subject: Nagios 3.3.1 Installation Failure Message-ID: Hi List, I've seen the new Version of Nagios 3.3.1 and try to install it on a naked system: ./configure and make working fine. make fullinstall comes up with the following Error Message: make fullinstall cd ./base && make install make[1]: Entering directory `/root/download/nagios/base' make install-basic make[2]: Entering directory `/root/download/nagios/base' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin /usr/bin/install -c -m 774 -o nagios -g nagios nagios /usr/local/nagios/bin /usr/bin/install -c -m 774 -o nagios -g nagios nagiostats /usr/local/nagios/bin make[2]: Leaving directory `/root/download/nagios/base' make strip-post-install make[2]: Entering directory `/root/download/nagios/base' /usr/bin/strip /usr/local/nagios/bin/nagios /usr/bin/strip /usr/local/nagios/bin/nagiostats make[2]: Leaving directory `/root/download/nagios/base' make[1]: Leaving directory `/root/download/nagios/base' cd ./cgi && make install make[1]: Entering directory `/root/download/nagios/cgi' make install-basic make[2]: Entering directory `/root/download/nagios/cgi' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/sbin for file in *.cgi; do \ /usr/bin/install -c -m 775 -o nagios -g nagios $file /usr/local/nagios/sbin; \ done make[2]: Leaving directory `/root/download/nagios/cgi' make strip-post-install make[2]: Entering directory `/root/download/nagios/cgi' for file in *.cgi; do \ /usr/bin/strip /usr/local/nagios/sbin/$file; \ done make[2]: Leaving directory `/root/download/nagios/cgi' make[1]: Leaving directory `/root/download/nagios/cgi' cd ./html && make install make[1]: Entering directory `/root/download/nagios/html' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/media /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/stylesheets /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/contexthelp /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs/images /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images/logos /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes/rss /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes/rss/extlib /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/ssi /usr/bin/install -c -m 664 -o nagios -g nagios robots.txt /usr/local/nagios/share rm -f /usr/local/nagios/share/index.html rm -f /usr/local/nagios/share/main.html rm -f /usr/local/nagios/share/side.html for file in *.php; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share; done for file in stylesheets/*.css; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/stylesheets; done for file in contexthelp/*.html; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/contexthelp; done for file in images/*.gif; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.jpg; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.png; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.ico; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/logos/*.*; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images/logos; done for file in includes/*.*; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes; done for file in includes/rss/*; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes/rss; done /usr/bin/install: omitting directory `includes/rss/extlib' /usr/bin/install: omitting directory `includes/rss/htdocs' /usr/bin/install: omitting directory `includes/rss/scripts' make[1]: *** [install] Error 1 make[1]: Leaving directory `/root/download/nagios/html' make: *** [install] Error 2 Any good Idea? Nagios 3.2.3 on the same system is running well. Regards Christian i.A. Christian Mies Senior Consultant Tel: +49 (661) 103-874 (-333) Fax: +49 (661) 103-17874 (-334) mailto:Christian.Mies at it-novum.com it-novum GmbH . Edelzeller Strasse 44 . 36043 Fulda . http://www.it-novum.com Handelsregister Amtsgericht Fulda, HRB 1934 . Geschaftsfuhrer: Michael Kienle . Sitz der Gesellschaft: Fulda Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empfaenger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielfaeltigung oder Weiterleitung dieser Mail ist strengstens verboten. This e-mail may contain confidential and/or priviledged information. If you are not the intended recepient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: itnovum.png Type: image/png Size: 21467 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 -------------- 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 jacol at saix.net Thu Aug 18 16:15:54 2011 From: jacol at saix.net (Jaco Lesch) Date: Thu, 18 Aug 2011 16:15:54 +0200 Subject: Nagios 3.3.1 Installation Failure In-Reply-To: References: Message-ID: <4E4D1E9A.3060002@saix.net> Christian I had a similar problem on Solaris 10 and it seem to be an issue with the for loop in one of the makefiles. Found this on one of the Ubuntu forums that sorted out the problem for me. Check out the URL below: http://ubuntuforums.org/showthread.php?t=1814086 Regards Jaco Lesch SAIX HLS On 18/08/2011 14:54, Mies, Christian wrote: > Hi List, > > I?ve seen the new Version of Nagios 3.3.1 and try to install it on a > naked system: > > ./configure and make working fine. > > make fullinstall comes up with the following Error Message: > > make fullinstall > > cd ./base && make install > > make[1]: Entering directory `/root/download/nagios/base' > > make install-basic > > make[2]: Entering directory `/root/download/nagios/base' > > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin > > /usr/bin/install -c -m 774 -o nagios -g nagios nagios /usr/local/nagios/bin > > /usr/bin/install -c -m 774 -o nagios -g nagios nagiostats > /usr/local/nagios/bin > > make[2]: Leaving directory `/root/download/nagios/base' > > make strip-post-install > > make[2]: Entering directory `/root/download/nagios/base' > > /usr/bin/strip /usr/local/nagios/bin/nagios > > /usr/bin/strip /usr/local/nagios/bin/nagiostats > > make[2]: Leaving directory `/root/download/nagios/base' > > make[1]: Leaving directory `/root/download/nagios/base' > > cd ./cgi && make install > > make[1]: Entering directory `/root/download/nagios/cgi' > > make install-basic > > make[2]: Entering directory `/root/download/nagios/cgi' > > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/sbin > > for file in *.cgi; do \ > > /usr/bin/install -c -m 775 -o nagios -g nagios $file > /usr/local/nagios/sbin; \ > > done > > make[2]: Leaving directory `/root/download/nagios/cgi' > > make strip-post-install > > make[2]: Entering directory `/root/download/nagios/cgi' > > for file in *.cgi; do \ > > /usr/bin/strip /usr/local/nagios/sbin/$file; \ > > done > > make[2]: Leaving directory `/root/download/nagios/cgi' > > make[1]: Leaving directory `/root/download/nagios/cgi' > > cd ./html && make install > > make[1]: Entering directory `/root/download/nagios/html' > > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share > > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/media > > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/stylesheets > > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/contexthelp > > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/docs > > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/docs/images > > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/images > > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/images/logos > > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/includes > > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/includes/rss > > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/includes/rss/extlib > > /usr/bin/install -c -m 775 -o nagios -g nagios -d > /usr/local/nagios/share/ssi > > /usr/bin/install -c -m 664 -o nagios -g nagios robots.txt > /usr/local/nagios/share > > rm -f /usr/local/nagios/share/index.html > > rm -f /usr/local/nagios/share/main.html > > rm -f /usr/local/nagios/share/side.html > > for file in *.php; \ > > do /usr/bin/install -c -m 664 -o nagios -g nagios $file > /usr/local/nagios/share; done > > for file in stylesheets/*.css; \ > > do /usr/bin/install -c -m 664 -o nagios -g nagios $file > /usr/local/nagios/share/stylesheets; done > > for file in contexthelp/*.html; \ > > do /usr/bin/install -c -m 664 -o nagios -g nagios $file > /usr/local/nagios/share/contexthelp; done > > for file in images/*.gif; \ > > do /usr/bin/install -c -m 664 -o nagios -g nagios $file > /usr/local/nagios/share/images; done > > for file in images/*.jpg; \ > > do /usr/bin/install -c -m 664 -o nagios -g nagios $file > /usr/local/nagios/share/images; done > > for file in images/*.png; \ > > do /usr/bin/install -c -m 664 -o nagios -g nagios $file > /usr/local/nagios/share/images; done > > for file in images/*.ico; \ > > do /usr/bin/install -c -m 664 -o nagios -g nagios $file > /usr/local/nagios/share/images; done > > for file in images/logos/*.*; \ > > do /usr/bin/install -c -m 664 -o nagios -g nagios $file > /usr/local/nagios/share/images/logos; done > > for file in includes/*.*; \ > > do /usr/bin/install -c -m 664 -o nagios -g nagios $file > /usr/local/nagios/share/includes; done > > for file in includes/rss/*; \ > > do /usr/bin/install -c -m 664 -o nagios -g nagios $file > /usr/local/nagios/share/includes/rss; done > > /usr/bin/install: omitting directory `includes/rss/extlib' > > /usr/bin/install: omitting directory `includes/rss/htdocs' > > /usr/bin/install: omitting directory `includes/rss/scripts' > > make[1]: *** [install] Error 1 > > make[1]: Leaving directory `/root/download/nagios/html' > > make: *** [install] Error 2 > > Any good Idea? Nagios 3.2.3 on the same system is running well. > > Regards > > Christian > > > it-novum GmbH* > > i.A. Christian Mies*** > Senior Consultant > > Tel: +49 (661) 103-874 > Fax: +49 (661) 103-17874 > Christian.Mies at it-novum.com > > > ITNLogo > > it-novum GmbH ? Edelzeller Stra?e 44 ? 36043 Fulda? http://www.it-novum.com > Handelsregister Amtsgericht Fulda, HRB 1934 ? Gesch?ftsf?hrer: Michael > Kienle ? Sitz der Gesellschaft: Fulda > > Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche > Empf?nger sein sollten, informieren Sie bitte sofort den Absender oder > vernichten umgehend diese Mail. Jegliche unerlaubte Vervielf?ltigung > oder Weiterleitung dieser Mail ist strengstens verboten. > This e-mail may contain confidential and/or priviledged information. If > you are not the intended recepient (or have received this e-mail in > error) please notify the sender immediately and destroy this e-mail. Any > unauthorised copying, disclosure or distribution of material in this > e-mail is strictly forbidden. > > > > > > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users 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 ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Nagios-users mailing list Nagios-users 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 Uwe.Knop at ZIT-BB.Brandenburg.de Thu Aug 18 15:32:45 2011 From: Uwe.Knop at ZIT-BB.Brandenburg.de (Knop, Uwe) Date: Thu, 18 Aug 2011 13:32:45 +0000 Subject: Nagios 3.3.1 Installation Failure In-Reply-To: References: Message-ID: <664EA7275ADD154A8796C74B9663464D02680964@PMMX-MBX01.LVN.ad.lvnbb.de> Hallo, http://www.nagios-portal.org/wbb/index.php?page=Thread &threadID=23324 or here the patch --- a/html/Makefile.in +++ b/html/Makefile.in @@ -75,8 +75,9 @@ install: do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images/logos; done for file in includes/*.*; \ do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes; done - for file in includes/rss/*; \ - do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes/rss; done + #for file in includes/rss/*; \ + #do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes/rss; done + find includes/rss/ -maxdepth 1 -type f -exec $(INSTALL) -m 664 $(INSTALL_OPTS) {} $(DESTDIR)$(HTMLDIR)/includes/rss \; for file in includes/rss/extlib/*; \ do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes/rss/extlib; done bye UK Von: Mies, Christian [mailto:Christian.Mies at it-novum.com] Gesendet: Donnerstag, 18. August 2011 14:54 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Nagios 3.3.1 Installation Failure Hi List, I?ve seen the new Version of Nagios 3.3.1 and try to install it on a naked system: ./configure and make working fine. make fullinstall comes up with the following Error Message: make fullinstall cd ./base && make install make[1]: Entering directory `/root/download/nagios/base' make install-basic make[2]: Entering directory `/root/download/nagios/base' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin /usr/bin/install -c -m 774 -o nagios -g nagios nagios /usr/local/nagios/bin /usr/bin/install -c -m 774 -o nagios -g nagios nagiostats /usr/local/nagios/bin make[2]: Leaving directory `/root/download/nagios/base' make strip-post-install make[2]: Entering directory `/root/download/nagios/base' /usr/bin/strip /usr/local/nagios/bin/nagios /usr/bin/strip /usr/local/nagios/bin/nagiostats make[2]: Leaving directory `/root/download/nagios/base' make[1]: Leaving directory `/root/download/nagios/base' cd ./cgi && make install make[1]: Entering directory `/root/download/nagios/cgi' make install-basic make[2]: Entering directory `/root/download/nagios/cgi' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/sbin for file in *.cgi; do \ /usr/bin/install -c -m 775 -o nagios -g nagios $file /usr/local/nagios/sbin; \ done make[2]: Leaving directory `/root/download/nagios/cgi' make strip-post-install make[2]: Entering directory `/root/download/nagios/cgi' for file in *.cgi; do \ /usr/bin/strip /usr/local/nagios/sbin/$file; \ done make[2]: Leaving directory `/root/download/nagios/cgi' make[1]: Leaving directory `/root/download/nagios/cgi' cd ./html && make install make[1]: Entering directory `/root/download/nagios/html' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/media /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/stylesheets /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/contexthelp /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs/images /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images/logos /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes/rss /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes/rss/extlib /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/ssi /usr/bin/install -c -m 664 -o nagios -g nagios robots.txt /usr/local/nagios/share rm -f /usr/local/nagios/share/index.html rm -f /usr/local/nagios/share/main.html rm -f /usr/local/nagios/share/side.html for file in *.php; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share; done for file in stylesheets/*.css; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/stylesheets; done for file in contexthelp/*.html; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/contexthelp; done for file in images/*.gif; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.jpg; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.png; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.ico; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/logos/*.*; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images/logos; done for file in includes/*.*; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes; done for file in includes/rss/*; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes/rss; done /usr/bin/install: omitting directory `includes/rss/extlib' /usr/bin/install: omitting directory `includes/rss/htdocs' /usr/bin/install: omitting directory `includes/rss/scripts' make[1]: *** [install] Error 1 make[1]: Leaving directory `/root/download/nagios/html' make: *** [install] Error 2 Any good Idea? Nagios 3.2.3 on the same system is running well. Regards Christian it-novum GmbH i.A. Christian Mies Senior Consultant Tel: +49 (661) 103-874 Fax: +49 (661) 103-17874 Christian.Mies at it-novum.com ITNLogo it-novum GmbH ? Edelzeller Stra?e 44 ? 36043 Fulda ? http://www.it-novum.com Handelsregister Amtsgericht Fulda, HRB 1934 ? Gesch?ftsf?hrer: Michael Kienle ? Sitz der Gesellschaft: Fulda Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empf?nger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielf?ltigung oder Weiterleitung dieser Mail ist strengstens verboten. This e-mail may contain confidential and/or priviledged information. If you are not the intended recepient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 21467 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4815 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 -------------- 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 mike-nagios at 5dninja.net Thu Aug 18 23:58:09 2011 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Thu, 18 Aug 2011 14:58:09 -0700 Subject: Having users view only their hosts/services In-Reply-To: References: Message-ID: <4E4D8AF1.8080601@5dninja.net> On 8/17/11 10:55 AM, Edwin Zoeller wrote: > > I know that this question has been posted many times before but what I > am looking for is where I went wrong and if someone has an easy method. > > I have setup various users to view there information in Nagios and all > is good. But for some reason, when I setup users now, it gets them to > login but displays the error message the "not authorized to view..." > > I have no clue what I have done wrong. Any help would be great. > > Your users can only see services and hosts for which they are contacts. This means that your login names must be the same as your contact names. http://nagios.sourceforge.net/docs/3_0/cgiauth.html -- Mike Lindsey -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 -------------- 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 saulo.zimbaro at acotel.com Fri Aug 19 02:19:48 2011 From: saulo.zimbaro at acotel.com (Saulo Zimbaro) Date: Thu, 18 Aug 2011 21:19:48 -0300 Subject: Nagios father and nagios son concept Message-ID: I have more then one data centers to monitoring. I?d like to know if there is a way to use various nagios instances and one main nagios to centralize information. thanks, ** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 -------------- 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 james.osbourn at citrix.com Fri Aug 19 09:58:21 2011 From: james.osbourn at citrix.com (James Osbourn) Date: Fri, 19 Aug 2011 08:58:21 +0100 Subject: Nagios father and nagios son concept In-Reply-To: References: Message-ID: <09051C7A8945F944AB7AC4E86BEB1ED5B616C695C4@LONPMAILBOX01.citrite.net> Hi Saulo, I had a similar situation with multiple sites and wanted each site to monitor itself but have a server to go to and get an overview of all sites. I went for the Check MK Multisite http://mathias-kettner.de/checkmk_multisite.html I can now connect to each local site directly or the overview page. Each site handles the monitoring and alerts for each site so if one is down the others keep going. James From: Saulo Zimbaro [mailto:saulo.zimbaro at acotel.com] Sent: 19 August 2011 01:20 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios father and nagios son concept I have more then one data centers to monitoring. I?d like to know if there is a way to use various nagios instances and one main nagios to centralize information. thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 -------------- 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 jim at jimavery.me.uk Fri Aug 19 10:06:51 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 19 Aug 2011 09:06:51 +0100 Subject: Nagios father and nagios son concept In-Reply-To: References: Message-ID: On 19 August 2011 01:19, Saulo Zimbaro wrote: > I have more then one data centers to monitoring. I?d like to know if there > is a way to use various nagios instances and one main nagios to centralize > information. The relevant page in the documentation is: http://nagios.sourceforge.net/docs/nagioscore/3/en/distributed.html Which should give you a start. There are a few other solutions out there too, in particular op5's Merlin gets a lot of mention here. http://www.op5.org/community/plugin-inventory/op5-projects/merlin Personally I'm still squeezing all the performance I can from a single server (with PNP and MySQL on a second one), but it won't be long until I need to do something similar. ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Nagios-users mailing list Nagios-users 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 Craig.Stewart at corp.xplornet.com Fri Aug 19 14:22:38 2011 From: Craig.Stewart at corp.xplornet.com (Craig Stewart) Date: Fri, 19 Aug 2011 09:22:38 -0300 Subject: Problem with OCP_daemon in distributesenvironment In-Reply-To: References: Message-ID: <4E4E558E.6090402@corp.xplornet.com> Michel, There might be something with the external buffers there. My set up has four remote probes submitting over 12000 service checks as well as an snmp trap server sending into Nagios with the send_nsca command as well. I plot the performance of the central and probes as per this article: http://nagios.sourceforge.net/docs/3_0/mrtggraphs.html In the last 24 hours I used a maximum of 160 external command slots. I'm not sure what your set up uses, but you could be starving it, although I didn't think that would affect the execution of local checks. I would say, if you aren't already, it would be worth graphing your system's performance as per the above article. Might not solve your problem, but it would help point you in the right direction. Good luck, and let the rest of us know what happens. I'm sure you're not the only person that's seen this behaviour. Craig -- Craig Stewart Systems Integration Analyst Craig.Stewart at corp.xplornet.com Xplornet - Broadband, Everywhere On 08/17/2011 03:29 PM, Michel van der Voort wrote: > Hello again Graig, > > Thanks once more and yes you're making sense. > But this is also the reason why I can't pinpoint on what's going wrong, it > should just be able to work especially because nothing changes on the > central server only the amount of check results from the OCP_daemon machine > maybe. > We indeed have a number of remote machines all doing their checks locally en > sending them to our central server via nsca/nscad and so was (and now is > again) the one I tried to configure with OCP_daemon. > I know offcourse that OCP_daemon uses the underlying (and unchanged) > send_nsca config and binary and that all works well. > The latency's I had before on this OCP_daemon machine made me experiment > with it OCP because a lag in messages/performance data appearing on the > central server of about 10 - 15 minutes was unacceptable. > This also caused WARNINGS on certain checks on the OCP machine because these > have to run frequent enough to not be causing counter overflows on 64-bit > counters for some network devices we monitor. > > Also, debugging nsca on the central receiving end shows everything working > find, data coming in from the OCP_daemon machine as well as other still > nsca/nscad'ing other remote machines. > The only thing that stops working are the central servers own ACTIVE checks > of which no other Nagios machine even knows about. > > I guess I have to do even more research and debugging on the central server. > I would expect that machine would be getting high CPU, memory or I/O > indications when something like to fast incoming data would be the issue, > but there are no indications. > Just that after 2 hours all local checks have a last execution timestamp of > 2 hours and the check_ processes also really don't get fired anymore. > I've switched back to standard obsessing with send_nsca again on the > OCP_daemon machine, restarted nagios on the central server and everything's > working again but unfortunately with high check intervals and latency on the > OCP_daemon machine. > The only thing I noticed was the higher number of buffer slots used on the > external command file where process_perfdata reads from and nscad writes to. > > For now, thanks a lot. > I'm not really familiar with closing a topic on the Nagios Users List but I > will try to. > Also, if and when I find out more I will inform you. > > Best regards, > > Michel > > -----Oorspronkelijk bericht----- > Van: Craig Stewart [mailto:Craig.Stewart at corpxplornet.com > ] > Verzonden: woensdag 17 augustus 2011 14:10 > Aan: Nagios Users List > CC: michel.vdv at wxs.nl > Onderwerp: Re: [Nagios-users] Problem with OCP_daemon in > distributesenvironment > > Michel, > > Okay, I understand now. > > So, if I get this correctly, when you were using the obsessing method, > everything was working fine from the central server's point of view, but > when you moved one remote unit from the obsessing to the OCP_daemon, the > central server stopped doing all active checks? > > The way I have it set up here for my central/probe configuration is that > the central server accepts passive checks through the nscad process. On > my remote servers they send in either via the OCP_daemon (which calls > send_nsca) or a custom obsess script. There are no changes to my > central server. > > So, unless you are doing something strange, you should be able to get it > going and executing active checks as well as accepting passive checks on > the central. The method the probe uses, as long as it's consistent with > the way the central server picks up check (send_nsca/nscad in my case) > is independent of the central server. If you get this working, > switching the probe from the obsess method to the OCP_daemon method > should not affect the central server, or even require a restart. > > Am I making any sense here or have I confused the issue? > > Craig > -- > Craig Stewart > Systems Integration Analyst > Craig.Stewart at corp.xplornet.com > Xplornet - Broadband, Everywhere > > On 08/16/2011 05:02 PM, michel.vdv at wxs.nl wrote: >> Hello Craig, >> >> First of all thanks for the fast response. >> Maybe i need to clear things out a bit more to why ACTIVE checks are >> happening on the central server. >> We have a distributed setup with a central machine in DMZ reachable for >> all remote nagios machines we have out there. >> One of those is the LAN machine i mentioned where OCP_daemon was setup >> today. >> The central Nagios machine in DMZ should/must perform active checks of >> all our equipment in the same DMZ, the others hosts only send passive > data. >> The DMZ machine cannot perform ACTIVE checks on the services monitored >> by 1 or more of the remote machines. >> So, this is why there is a problem when the central server does not >> perform it's own checks. >> >> I've been testing around with repear frequencies on the central server >> because i saw reaper frequency exceeded messages in the nagios.debug >> (-1) output. >> These now stay away but the result is still te same. >> Also lowered the frequency of all template related check_interval's on >> the OCP_daemon remote machine but that does not help either. >> >> If you have any more suggestions, please let me know. >> >> Regards, >> >> Michel >> ------------------------------------------------------------------------ >> *Van:* Craig Stewart [mailto:Craig.Stewart at corpxplornet.com > ] >> *Verzonden:* di 16-8-2011 21:47 >> *Aan:* Nagios Users List >> *CC:* michel.vdv at wxs.nl >> *Onderwerp:* Re: [Nagios-users] Problem with OCP_daemon in distributes >> environment >> >> Michel, >> >> I just did the same thing for my set up and I didn't see this issue. >> That being said, I don't *want* the central master to execute service >> checks at all unless it's stale. >> >> What may be happening is that the remote passive check may be getting >> inserted while the system is waiting to execute the next check. This is >> probably resetting the clock as it were and the count down starts over. >> >> For example: >> >> - NOW is an arbitrary point in time. >> - Nagios schedules the check to be executed at NOW + 5 min. (recheck >> interval) >> - The passive check comes in at NOW + 3 min. Nagios resets the clock to >> NOW + 3 min + check interval. >> >> If the remote is submitting checks at a frequency less than the >> central's recheck interval, I can see this happening. The clock never >> runs out, unless the remote system doesn't submit a check. >> >> A couple things to check are the check intervals on both the central and >> the probe, and if you can tolerate the hit, shut down the probe and see >> if the central server starts executing checks on it's own. >> >> I may be out in left field as well. >> >> Cheers! >> >> Craig >> -- >> Craig Stewart >> Systems Integration Analyst >> Craig.Stewart at corp.xplornet.com >> Xplornet - Broadband, Everywhere >> >> On 08/16/2011 04:22 PM, michel.vdv at wxs.nl wrote: >>> Dear readers, >>> >>> I have a strange problem related to the use of OCP_daemon. >>> I've implemented this today on a "remote" nagios machine responsible for >>> monitoring our LAN hosts. >>> Until now all messages and performance data was sent from that machine >>> to our Central Nagios machine via obsess_over_hosts and >>> obsess_over_services. >>> But because a lot of services on the remote host combined with relative >>> short check_interval periods caused high service and host check >>> latencies i've started looking for an alternative and read about >> OCP_daemon. >>> I followed the install instructions and sending data via OCP_daemon >>> works fine and very fast, also the remote nagios machine's latencies >>> stay low. >>> However, the central server stays processing all passive service and >>> host check results (also from other send_nsca based hosts) but no longer >>> executes it's own ACTIVE checks. >>> Is soon as i stop nagios on the remote monitor and restart nagios on the >>> central server it starts executing ACTIVE checks again. >>> The load on both servers remained about the same since OCP_daemon and >>> the only thing i noticed is that the number of buffers/slots used for >>> the external command file (nagios.cmd) on the central server >>> reaches rather higher values than before but no more than 30 - 40% of >>> the available 4096 slots. >>> >>> Please advice me. >>> >>> Michel >>> >>> >>> -- >>> This message has been scanned for viruses and >>> dangerous content by *MailScanner* , and is >>> believed to be clean. >> >> >> -- >> This message has been scanned for viruses and >> dangerous content by *MailScanner* , and is >> believed to be clean. > > > -- > This message has been scanned by MailScanner > ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Nagios-users mailing list Nagios-users 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 Christian.Mies at it-novum.com Fri Aug 19 07:52:01 2011 From: Christian.Mies at it-novum.com (Mies, Christian) Date: Fri, 19 Aug 2011 07:52:01 +0200 Subject: Nagios 3.3.1 Installation Failure Message-ID: Ok, I find it now J This link was also helpful: http://ubuntuforums.org/showthread.php?t=1814086 @Ethan and the other developers: When will the patch be added to the core? Regards Christian Von: Knop, Uwe [mailto:Uwe.Knop at ZIT-BB.Brandenburg.de] Gesendet: Donnerstag, 18. August 2011 15:33 An: 'Nagios Users List' Betreff: Re: [Nagios-users] Nagios 3.3.1 Installation Failure Hallo, http://www.nagios-portal.org/wbb/index.php?page=Thread&threadID=23324 or here the patch --- a/html/Makefile.in +++ b/html/Makefile.in @@ -75,8 +75,9 @@ install: do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images/logos; done for file in includes/*.*; \ do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes; done - for file in includes/rss/*; \ - do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes/rss; done + #for file in includes/rss/*; \ + #do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes/rss; done + find includes/rss/ -maxdepth 1 -type f -exec $(INSTALL) -m 664 $(INSTALL_OPTS) {} $(DESTDIR)$(HTMLDIR)/includes/rss \; for file in includes/rss/extlib/*; \ do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes/rss/extlib; done bye UK Von: Mies, Christian [mailto:Christian.Mies at it-novum.com] Gesendet: Donnerstag, 18. August 2011 14:54 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Nagios 3.3.1 Installation Failure Hi List, I've seen the new Version of Nagios 3.3.1 and try to install it on a naked system: ./configure and make working fine. make fullinstall comes up with the following Error Message: make fullinstall cd ./base && make install make[1]: Entering directory `/root/download/nagios/base' make install-basic make[2]: Entering directory `/root/download/nagios/base' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin /usr/bin/install -c -m 774 -o nagios -g nagios nagios /usr/local/nagios/bin /usr/bin/install -c -m 774 -o nagios -g nagios nagiostats /usr/local/nagios/bin make[2]: Leaving directory `/root/download/nagios/base' make strip-post-install make[2]: Entering directory `/root/download/nagios/base' /usr/bin/strip /usr/local/nagios/bin/nagios /usr/bin/strip /usr/local/nagios/bin/nagiostats make[2]: Leaving directory `/root/download/nagios/base' make[1]: Leaving directory `/root/download/nagios/base' cd ./cgi && make install make[1]: Entering directory `/root/download/nagios/cgi' make install-basic make[2]: Entering directory `/root/download/nagios/cgi' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/sbin for file in *.cgi; do \ /usr/bin/install -c -m 775 -o nagios -g nagios $file /usr/local/nagios/sbin; \ done make[2]: Leaving directory `/root/download/nagios/cgi' make strip-post-install make[2]: Entering directory `/root/download/nagios/cgi' for file in *.cgi; do \ /usr/bin/strip /usr/local/nagios/sbin/$file; \ done make[2]: Leaving directory `/root/download/nagios/cgi' make[1]: Leaving directory `/root/download/nagios/cgi' cd ./html && make install make[1]: Entering directory `/root/download/nagios/html' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/media /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/stylesheets /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/contexthelp /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs/images /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images/logos /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes/rss /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes/rss/extlib /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/ssi /usr/bin/install -c -m 664 -o nagios -g nagios robots.txt /usr/local/nagios/share rm -f /usr/local/nagios/share/index.html rm -f /usr/local/nagios/share/main.html rm -f /usr/local/nagios/share/side.html for file in *.php; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share; done for file in stylesheets/*.css; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/stylesheets; done for file in contexthelp/*.html; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/contexthelp; done for file in images/*.gif; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.jpg; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.png; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.ico; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/logos/*.*; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images/logos; done for file in includes/*.*; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes; done for file in includes/rss/*; \ do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes/rss; done /usr/bin/install: omitting directory `includes/rss/extlib' /usr/bin/install: omitting directory `includes/rss/htdocs' /usr/bin/install: omitting directory `includes/rss/scripts' make[1]: *** [install] Error 1 make[1]: Leaving directory `/root/download/nagios/html' make: *** [install] Error 2 Any good Idea? Nagios 3.2.3 on the same system is running well. Regards Christian it-novum GmbH i.A. Christian Mies Senior Consultant Tel: +49 (661) 103-874 Fax: +49 (661) 103-17874 Christian.Mies at it-novum.com it-novum GmbH * Edelzeller Stra?e 44 * 36043 Fulda * http://www.it-novum.com Handelsregister Amtsgericht Fulda, HRB 1934 * Gesch?ftsf?hrer: Michael Kienle * Sitz der Gesellschaft: Fulda Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empf?nger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielf?ltigung oder Weiterleitung dieser Mail ist strengstens verboten. This e-mail may contain confidential and/or priviledged information. If you are not the intended recepient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden. i.A. Christian Mies Senior Consultant Tel: +49 (661) 103-874 (-333) Fax: +49 (661) 103-17874 (-334) mailto:Christian.Mies at it-novum.com it-novum GmbH . Edelzeller Strasse 44 . 36043 Fulda . http://www.it-novum.com Handelsregister Amtsgericht Fulda, HRB 1934 . Gesch?ftsf?hrer: Michael Kienle . Sitz der Gesellschaft: Fulda Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empfaenger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielfaeltigung oder Weiterleitung dieser Mail ist strengstens verboten. This e-mail may contain confidential and/or priviledged information. If you are not the intended recepient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 21467 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: itnovum.png Type: image/png Size: 21467 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 -------------- 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 jim at jimavery.me.uk Fri Aug 19 16:27:20 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 19 Aug 2011 15:27:20 +0100 Subject: Deleting old comments In-Reply-To: <4288A518A157EC4C8873FEE74F778BF001FE65@WPSDGQHH.OPR.STATEFARM.ORG> References: <4288A518A157EC4C8873FEE74F778BF001FE65@WPSDGQHH.OPR.STATEFARM.ORG> Message-ID: Ok, I've written the script and submitted it to Nagios Exchange - it should appear there in the next few days. I doubt it's the prettiest code you've seen as this is probably the first perl script I've written from scratch but it works pretty well (for me anyway - ymmv). I haven't yet tried to make it do the 'more than X number per host' thing. That's just too clever by half! :-) ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Nagios-users mailing list Nagios-users 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 fohnet.co.uk Fri Aug 19 20:19:08 2011 From: noc at fohnet.co.uk (Richard Clark) Date: Fri, 19 Aug 2011 19:19:08 +0100 Subject: Exclude hostgroup with true_regexp_matching ? Message-ID: <20110819181908.GD12454@fohnet.co.uk> Hi, I've got true_regexp_matching enabled - mainly to provide a flexible alerting system with priority/time-based alerts, different customers etc - there's no way I could have gotten this far without it. I seem to have hit a wall though in terms of being able to exclude hostgroups from services - say I had a hostgroup called 'prod_ssl_webservers', and I also had a hostgroup called 'prod_ssl_webservers_authbasic' - so I need mostly the same checks as prod_ssl_webservers, but content checking auth mechanism needs to be different. According to the docs, excluding hostgroups doesn't work when regexp_matching or true_regexp_matching is enabled. The regular expression syntax that nagios supports doesn't seem to support negative lookbehind syntax for negating a string search - I.E: ^(? -------------- next part -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 -------------- 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 robert at robertvbolton.com Sat Aug 20 18:05:47 2011 From: robert at robertvbolton.com (Robert V. Bolton) Date: Sat, 20 Aug 2011 10:05:47 -0600 Subject: False Positive Results for check_ping Message-ID: I'm seeing a lot of false positive results from one of the host I'm monitoring with the check_ping plugin. Looking at the logs I see various degrees of packet lost for this host, but when a run the standard ping from the command line don't have any packet loss. Does anyone have any insight about this? --- Section From Log File --- Aug 20 08:55:29 monitor nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 50%, RTA = 0.57 ms Aug 20 08:55:35 monitor nagios: PASSIVE SERVICE CHECK: gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 50%, RTA = 0.57 ms Aug 20 08:56:36 monitor nsca[25608]: SERVICE CHECK -> Host Name: 'gw-ssb-moria', Service Description: 'Ping Check IPv4', Return Code: '0', Output: 'PING OK - Packet loss = 37%, RTA = 0.56 ms' Aug 20 08:56:38 monitor nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 37%, RTA = 0.56 ms Aug 20 08:56:44 monitor nagios: PASSIVE SERVICE CHECK: gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 37%, RTA = 0.56 ms Aug 20 08:57:44 monitor nsca[27186]: SERVICE CHECK -> Host Name: 'gw-ssb-moria', Service Description: 'Ping Check IPv4', Return Code: '0', Output: 'PING OK - Packet loss = 0%, RTA = 1.19 ms' Aug 20 08:57:48 monitor nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 0%, RTA = 1.19 ms Aug 20 08:57:53 monitor nagios: PASSIVE SERVICE CHECK: gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 0%, RTA = 1.19 ms Aug 20 08:58:14 monitor nsca[27765]: HOST CHECK -> Host Name: 'gw-ssb-moria', Return Code: '0', Output: 'PING OK - Packet loss = 0%, RTA = 0.55 ms' Aug 20 08:58:16 monitor nagios: EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;gw-ssb-moria;0;PING OK - Packet loss = 0%, RTA = 0.55 ms Aug 20 08:58:23 monitor nagios: PASSIVE HOST CHECK: gw-ssb-moria;0;PING OK - Packet loss = 0%, RTA = 0.55 ms Aug 20 08:58:44 monitor nsca[28875]: SERVICE CHECK -> Host Name: 'gw-ssb-moria', Service Description: 'Ping Check IPv4', Return Code: '0', Output: 'PING OK - Packet loss = 50%, RTA = 0.54 ms' Aug 20 08:58:49 monitor nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 50%, RTA = 0.54 ms Aug 20 08:58:53 monitor nagios: PASSIVE SERVICE CHECK: gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 50%, RTA = 0.54 ms Aug 20 08:59:46 monitor nsca[30278]: SERVICE CHECK -> Host Name: 'gw-ssb-moria', Service Description: 'Ping Check IPv4', Return Code: '0', Output: 'PING OK - Packet loss = 0%, RTA = 0.54 ms' Aug 20 08:59:48 monitor nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 0%, RTA = 0.54 ms Aug 20 08:59:54 monitor nagios: PASSIVE SERVICE CHECK: gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 0%, RTA = 0.54 ms --- Results From Ping Command --- PING 172.30.0.3 (172.30.0.3) 56(84) bytes of data. 64 bytes from 172.30.0.3: icmp_seq=1 ttl=255 time=0.531 ms 64 bytes from 172.30.0.3: icmp_seq=2 ttl=255 time=0.563 ms 64 bytes from 172.30.0.3: icmp_seq=3 ttl=255 time=0.506 ms 64 bytes from 172.30.0.3: icmp_seq=4 ttl=255 time=0.554 ms 64 bytes from 172.30.0.3: icmp_seq=5 ttl=255 time=0.505 ms 64 bytes from 172.30.0.3: icmp_seq=6 ttl=255 time=0.561 ms 64 bytes from 172.30.0.3: icmp_seq=7 ttl=255 time=0.534 ms 64 bytes from 172.30.0.3: icmp_seq=8 ttl=255 time=0.499 ms 64 bytes from 172.30.0.3: icmp_seq=9 ttl=255 time=0.496 ms 64 bytes from 172.30.0.3: icmp_seq=10 ttl=255 time=0.554 ms 64 bytes from 172.30.0.3: icmp_seq=11 ttl=255 time=0.512 ms --- 172.30.0.3 ping statistics --- 11 packets transmitted, 11 received, 0% packet loss, time 10000ms rtt min/avg/max/mdev = 0.496/0.528/0.563/0.035 ms -- Robert V. Bolton Email: robert at robertvbolton.com Web: http://robertvbolton.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 -------------- 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 Sat Aug 20 18:16:37 2011 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Sat, 20 Aug 2011 16:16:37 +0000 Subject: False Positive Results for check_ping In-Reply-To: References: Message-ID: <70D7A4219FE365439DA53582BA6D8F2E4DE5DBBD@HCSD-MAIL2> I believe there Is a previous post about a bug in check_ping. Use check_icmp instead. HTH Marty From: Robert V. Bolton [mailto:robert at robertvbolton.com] Sent: Saturday, August 20, 2011 12:06 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] False Positive Results for check_ping I'm seeing a lot of false positive results from one of the host I'm monitoring with the check_ping plugin. Looking at the logs I see various degrees of packet lost for this host, but when a run the standard ping from the command line don't have any packet loss. Does anyone have any insight about this? --- Section From Log File --- Aug 20 08:55:29 monitor nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 50%, RTA = 0.57 ms Aug 20 08:55:35 monitor nagios: PASSIVE SERVICE CHECK: gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 50%, RTA = 0.57 ms Aug 20 08:56:36 monitor nsca[25608]: SERVICE CHECK -> Host Name: 'gw-ssb-moria', Service Description: 'Ping Check IPv4', Return Code: '0', Output: 'PING OK - Packet loss = 37%, RTA = 0.56 ms' Aug 20 08:56:38 monitor nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 37%, RTA = 0.56 ms Aug 20 08:56:44 monitor nagios: PASSIVE SERVICE CHECK: gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 37%, RTA = 0.56 ms Aug 20 08:57:44 monitor nsca[27186]: SERVICE CHECK -> Host Name: 'gw-ssb-moria', Service Description: 'Ping Check IPv4', Return Code: '0', Output: 'PING OK - Packet loss = 0%, RTA = 1.19 ms' Aug 20 08:57:48 monitor nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 0%, RTA = 1.19 ms Aug 20 08:57:53 monitor nagios: PASSIVE SERVICE CHECK: gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 0%, RTA = 1.19 ms Aug 20 08:58:14 monitor nsca[27765]: HOST CHECK -> Host Name: 'gw-ssb-moria', Return Code: '0', Output: 'PING OK - Packet loss = 0%, RTA = 0.55 ms' Aug 20 08:58:16 monitor nagios: EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;gw-ssb-moria;0;PING OK - Packet loss = 0%, RTA = 0.55 ms Aug 20 08:58:23 monitor nagios: PASSIVE HOST CHECK: gw-ssb-moria;0;PING OK - Packet loss = 0%, RTA = 0.55 ms Aug 20 08:58:44 monitor nsca[28875]: SERVICE CHECK -> Host Name: 'gw-ssb-moria', Service Description: 'Ping Check IPv4', Return Code: '0', Output: 'PING OK - Packet loss = 50%, RTA = 0.54 ms' Aug 20 08:58:49 monitor nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 50%, RTA = 0.54 ms Aug 20 08:58:53 monitor nagios: PASSIVE SERVICE CHECK: gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 50%, RTA = 0.54 ms Aug 20 08:59:46 monitor nsca[30278]: SERVICE CHECK -> Host Name: 'gw-ssb-moria', Service Description: 'Ping Check IPv4', Return Code: '0', Output: 'PING OK - Packet loss = 0%, RTA = 0.54 ms' Aug 20 08:59:48 monitor nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 0%, RTA = 0.54 ms Aug 20 08:59:54 monitor nagios: PASSIVE SERVICE CHECK: gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet loss = 0%, RTA = 0.54 ms --- Results From Ping Command --- PING 172.30.0.3 (172.30.0.3) 56(84) bytes of data. 64 bytes from 172.30.0.3: icmp_seq=1 ttl=255 time=0.531 ms 64 bytes from 172.30.0.3: icmp_seq=2 ttl=255 time=0.563 ms 64 bytes from 172.30.0.3: icmp_seq=3 ttl=255 time=0.506 ms 64 bytes from 172.30.0.3: icmp_seq=4 ttl=255 time=0.554 ms 64 bytes from 172.30.0.3: icmp_seq=5 ttl=255 time=0.505 ms 64 bytes from 172.30.0.3: icmp_seq=6 ttl=255 time=0.561 ms 64 bytes from 172.30.0.3: icmp_seq=7 ttl=255 time=0.534 ms 64 bytes from 172.30.0.3: icmp_seq=8 ttl=255 time=0.499 ms 64 bytes from 172.30.0.3: icmp_seq=9 ttl=255 time=0.496 ms 64 bytes from 172.30.0.3: icmp_seq=10 ttl=255 time=0.554 ms 64 bytes from 172.30.0.3: icmp_seq=11 ttl=255 time=0.512 ms --- 172.30.0.3 ping statistics --- 11 packets transmitted, 11 received, 0% packet loss, time 10000ms rtt min/avg/max/mdev = 0.496/0.528/0.563/0.035 ms -- Robert V. Bolton Email: robert at robertvbolton.com Web: http://robertvbolton.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 -------------- 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 robert at robertvbolton.com Sat Aug 20 18:48:12 2011 From: robert at robertvbolton.com (Robert V. Bolton) Date: Sat, 20 Aug 2011 10:48:12 -0600 Subject: False Positive Results for check_ping In-Reply-To: <70D7A4219FE365439DA53582BA6D8F2E4DE5DBBD@HCSD-MAIL2> References: <70D7A4219FE365439DA53582BA6D8F2E4DE5DBBD@HCSD-MAIL2> Message-ID: Thanks for the tip Marty. On Sat, Aug 20, 2011 at 10:16 AM, Martin Hugo wrote: > I believe there Is a previous post about a bug in check_ping. Use > check_icmp instead.**** > > ** ** > > HTH**** > > ** ** > > Marty**** > > ** ** > > *From:* Robert V. Bolton [mailto:robert at robertvbolton.com] > *Sent:* Saturday, August 20, 2011 12:06 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] False Positive Results for check_ping**** > > ** ** > > I'm seeing a lot of false positive results from one of the host I'm > monitoring with the check_ping plugin. Looking at the logs I see various > degrees of packet lost for this host, but when a run the standard ping from > the command line don't have any packet loss. Does anyone have any insight > about this? > > --- Section From Log File --- > Aug 20 08:55:29 monitor nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet > loss = 50%, RTA = 0.57 ms > Aug 20 08:55:35 monitor nagios: PASSIVE SERVICE CHECK: gw-ssb-moria;Ping > Check IPv4;0;PING OK - Packet loss = 50%, RTA = 0.57 ms > Aug 20 08:56:36 monitor nsca[25608]: SERVICE CHECK -> Host Name: > 'gw-ssb-moria', Service Description: 'Ping Check IPv4', Return Code: '0', > Output: 'PING OK - Packet loss = 37%, RTA = 0.56 ms' > Aug 20 08:56:38 monitor nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet > loss = 37%, RTA = 0.56 ms > Aug 20 08:56:44 monitor nagios: PASSIVE SERVICE CHECK: gw-ssb-moria;Ping > Check IPv4;0;PING OK - Packet loss = 37%, RTA = 0.56 ms > Aug 20 08:57:44 monitor nsca[27186]: SERVICE CHECK -> Host Name: > 'gw-ssb-moria', Service Description: 'Ping Check IPv4', Return Code: '0', > Output: 'PING OK - Packet loss = 0%, RTA = 1.19 ms' > Aug 20 08:57:48 monitor nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet > loss = 0%, RTA = 1.19 ms > Aug 20 08:57:53 monitor nagios: PASSIVE SERVICE CHECK: gw-ssb-moria;Ping > Check IPv4;0;PING OK - Packet loss = 0%, RTA = 1.19 ms > Aug 20 08:58:14 monitor nsca[27765]: HOST CHECK -> Host Name: > 'gw-ssb-moria', Return Code: '0', Output: 'PING OK - Packet loss = 0%, RTA = > 0.55 ms' > Aug 20 08:58:16 monitor nagios: EXTERNAL COMMAND: > PROCESS_HOST_CHECK_RESULT;gw-ssb-moria;0;PING OK - Packet loss = 0%, RTA = > 0.55 ms > Aug 20 08:58:23 monitor nagios: PASSIVE HOST CHECK: gw-ssb-moria;0;PING OK > - Packet loss = 0%, RTA = 0.55 ms > Aug 20 08:58:44 monitor nsca[28875]: SERVICE CHECK -> Host Name: > 'gw-ssb-moria', Service Description: 'Ping Check IPv4', Return Code: '0', > Output: 'PING OK - Packet loss = 50%, RTA = 0.54 ms' > Aug 20 08:58:49 monitor nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet > loss = 50%, RTA = 0.54 ms > Aug 20 08:58:53 monitor nagios: PASSIVE SERVICE CHECK: gw-ssb-moria;Ping > Check IPv4;0;PING OK - Packet loss = 50%, RTA = 0.54 ms > Aug 20 08:59:46 monitor nsca[30278]: SERVICE CHECK -> Host Name: > 'gw-ssb-moria', Service Description: 'Ping Check IPv4', Return Code: '0', > Output: 'PING OK - Packet loss = 0%, RTA = 0.54 ms' > Aug 20 08:59:48 monitor nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;gw-ssb-moria;Ping Check IPv4;0;PING OK - Packet > loss = 0%, RTA = 0.54 ms > Aug 20 08:59:54 monitor nagios: PASSIVE SERVICE CHECK: gw-ssb-moria;Ping > Check IPv4;0;PING OK - Packet loss = 0%, RTA = 0.54 ms > > --- Results From Ping Command --- > PING 172.30.0.3 (172.30.0.3) 56(84) bytes of data. > 64 bytes from 172.30.0.3: icmp_seq=1 ttl=255 time=0.531 ms > 64 bytes from 172.30.0.3: icmp_seq=2 ttl=255 time=0.563 ms > 64 bytes from 172.30.0.3: icmp_seq=3 ttl=255 time=0.506 ms > 64 bytes from 172.30.0.3: icmp_seq=4 ttl=255 time=0.554 ms > 64 bytes from 172.30.0.3: icmp_seq=5 ttl=255 time=0.505 ms > 64 bytes from 172.30.0.3: icmp_seq=6 ttl=255 time=0.561 ms > 64 bytes from 172.30.0.3: icmp_seq=7 ttl=255 time=0.534 ms > 64 bytes from 172.30.0.3: icmp_seq=8 ttl=255 time=0.499 ms > 64 bytes from 172.30.0.3: icmp_seq=9 ttl=255 time=0.496 ms > 64 bytes from 172.30.0.3: icmp_seq=10 ttl=255 time=0.554 ms > 64 bytes from 172.30.0.3: icmp_seq=11 ttl=255 time=0.512 ms > > --- 172.30.0.3 ping statistics --- > 11 packets transmitted, 11 received, 0% packet loss, time 10000ms > rtt min/avg/max/mdev = 0.496/0.528/0.563/0.035 ms > > -- > Robert V. Bolton > Email: robert at robertvbolton.com > Web: http://robertvbolton.com > > **** > > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > _______________________________________________ > Nagios-users mailing list > Nagios-users 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 > -- Robert V. Bolton Email: robert at robertvbolton.com Web: http://robertvbolton.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 -------------- 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 brian.murphy at gmx.net Sun Aug 21 12:09:50 2011 From: brian.murphy at gmx.net (Brian Murphy) Date: Sun, 21 Aug 2011 12:09:50 +0200 Subject: problem with checks being rescheduled outside their timeperiod Message-ID: <20110821100950.137770@gmx.net> I have some checks to be run a specific times that are scheduled using timeperiods, daily bacth job checks and the like define timeperiod{ timeperiod_name 0600daily alias For Running Checks Daily at 0600 monday 06:00-06:10 tuesday 06:00-06:10 wednesday 06:00-06:10 thursday 06:00-06:10 friday 06:00-06:10 saturday 06:00-06:10 sunday 06:00-06:10 } and check defined define service{ use solaris-prod-service host_name host check_period 0600daily service_description JOB DAILY ... max_check_attempts 1 check_interval 30 ... check_command check_nrpe!check_JOB_DAILY } Currently Next Scheduled Check: 2011-08-22 05:59:59 which based on past experience will fail to run and reschedule for the next day. Until about 2 hours ago the check showed up in the queue to be checked at 06:00 Could someone give me some idea what could be causing the check to get rescheduled outside its timeperiod. Once such a thing is scheduled what would change its scheduled run time. Running nagios 3.2.3 on RHEL on VM. Thanks in advance Brian -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zur?ck-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Nagios-users mailing list Nagios-users 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 mcc171 at psu.edu Mon Aug 22 16:43:36 2011 From: mcc171 at psu.edu (Mark Campbell) Date: Mon, 22 Aug 2011 10:43:36 -0400 Subject: Special characters Message-ID: <4E526B18.5080607@psu.edu> I am trying to set a special character in a variable called $USER12$. This is then used in a command definition check_blah -H $HOSTADDRESS$ -u $USER11$ -p $USER12$ -l hello -s read -w $ARG1$ -c $ARG2$ The Var definition looks like this $USER12$=s1t\\@Home I have also tried s1t\@Home and 's1t at Home' and s1t\\\\@Home. All have failed. Has anyone made this work in the past? Thanks Mark ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 damnshock at gmail.com Mon Aug 22 18:16:19 2011 From: damnshock at gmail.com (=?ISO-8859-1?Q?Marc_Deop_i_Argem=ED?=) Date: Mon, 22 Aug 2011 18:16:19 +0200 Subject: Special characters In-Reply-To: <4E526B18.5080607@psu.edu> References: <4E526B18.5080607@psu.edu> Message-ID: <4E5280D3.5010005@gmail.com> On 22/08/2011 16:43, Mark Campbell wrote: > I have also tried s1t\@Home and 's1t at Home' and s1t\\\\@Home. All have > failed. what exactly "has failed"? And what's exactly what you are trying to get into the variable? ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 allanc at chickenandporn.com Mon Aug 22 18:33:38 2011 From: allanc at chickenandporn.com (Allan Clark) Date: Mon, 22 Aug 2011 09:33:38 -0700 Subject: Special characters In-Reply-To: <4E526B18.5080607@psu.edu> References: <4E526B18.5080607@psu.edu> Message-ID: On Mon, Aug 22, 2011 at 07:43, Mark Campbell wrote: > I am trying to set a special character in a variable called $USER12$. > This is then used in a command definition ?check_blah -H $HOSTADDRESS$ > -u $USER11$ -p $USER12$ -l hello -s read -w $ARG1$ -c $ARG2$ > > > The Var definition looks like this ? $USER12$=s1t\\@Home > > > I have also tried s1t\@Home and 's1t at Home' ?and s1t\\\\@Home. ?All have > failed. > > Has anyone made this work in the past? It's difficult to know what you're actually trying to get as the value -- are you trying for a value with "\@" or "@" in it, for example? This may be a case of the layers of scripting and passing -- the various escaping might get ripped off at each layer. In that case, the following debugging wrapper might add another layer to work with, but it might help show what's actually getting use in your plugin call, which can help you randomize to find the right value: http://www.waggy.at/nagios/capture_plugin.htm Allan -- allanc at chickenandporn.com? "??" http://linkedin.com/in/goldfish ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 mcc171 at psu.edu Mon Aug 22 19:15:42 2011 From: mcc171 at psu.edu (Mark Campbell) Date: Mon, 22 Aug 2011 13:15:42 -0400 Subject: Special characters In-Reply-To: <4E5280D3.5010005@gmail.com> References: <4E526B18.5080607@psu.edu> <4E5280D3.5010005@gmail.com> Message-ID: <4E528EBE.8050906@psu.edu> I am trying to pass s1t at Home (or at least something similar) to a check_blah script. On 8/22/2011 12:16 PM, Marc Deop i Argem? wrote: > On 22/08/2011 16:43, Mark Campbell wrote: >> I have also tried s1t\@Home and 's1t at Home' and s1t\\\\@Home. All have >> failed. > what exactly "has failed"? > > And what's exactly what you are trying to get into the variable? > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > 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 ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 mcc171 at psu.edu Mon Aug 22 19:16:41 2011 From: mcc171 at psu.edu (Mark Campbell) Date: Mon, 22 Aug 2011 13:16:41 -0400 Subject: Special characters In-Reply-To: References: <4E526B18.5080607@psu.edu> Message-ID: <4E528EF9.5060106@psu.edu> So trying to get s1t at Home (or something similar with an @ symbol in it) to a check_blah command. On 8/22/2011 12:33 PM, Allan Clark wrote: > On Mon, Aug 22, 2011 at 07:43, Mark Campbell wrote: >> I am trying to set a special character in a variable called $USER12$. >> This is then used in a command definition check_blah -H $HOSTADDRESS$ >> -u $USER11$ -p $USER12$ -l hello -s read -w $ARG1$ -c $ARG2$ >> >> >> The Var definition looks like this $USER12$=s1t\\@Home >> >> >> I have also tried s1t\@Home and 's1t at Home' and s1t\\\\@Home. All have >> failed. >> >> Has anyone made this work in the past? > It's difficult to know what you're actually trying to get as the value > -- are you trying for a value with "\@" or "@" in it, for example? > > This may be a case of the layers of scripting and passing -- the > various escaping might get ripped off at each layer. In that case, > the following debugging wrapper might add another layer to work with, > but it might help show what's actually getting use in your plugin > call, which can help you randomize to find the right value: > > http://www.waggy.at/nagios/capture_plugin.htm > > Allan > > ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 Mon Aug 22 21:44:53 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Mon, 22 Aug 2011 15:44:53 -0400 Subject: $NOTIFICATIONRECIPIENTS$ macro contents inaccurate Message-ID: <4E52B1B5.9010400@paul.dubuc.org> Nagios 3.2.3 documentation says the notification macro: $NOTIFICATIONRECIPIENTS$ is A comma-separated list of the short names of all contacts that are being notified about the host or service. Instead this macro contains all contacts for the host or service regardless of whether the particular notification is actually being sent to them. I have one contact for all services that only gets CRITICAL (c) notifications according to its service_notification_options setting, but the $NOTIFICATIONRECIPIENTS$ macro includes this contact along with others that get WARNING notifications when the WARNING notification is sent. This would imply that the critical only contact also got the notification but this isn't true. Paul Dubuc ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev From michel.vdv at wxs.nl Tue Aug 23 01:12:24 2011 From: michel.vdv at wxs.nl (Michel van der Voort) Date: Tue, 23 Aug 2011 01:12:24 +0200 Subject: Special characters In-Reply-To: <4E528EF9.5060106@psu.edu> References: <4E526B18.5080607@psu.edu> <4E528EF9.5060106@psu.edu> Message-ID: I beleive it just as simple as putting ' and ' before and after the whole character string I've also used this with check_nt and servicenames with $ sign in it Verstuurd vanaf mijn iPhone Op 22 aug. 2011 om 19:16 heeft Mark Campbell het volgende geschreven: > So trying to get s1t at Home (or something similar with an @ symbol in it) > to a check_blah command. > > > > > On 8/22/2011 12:33 PM, Allan Clark wrote: >> On Mon, Aug 22, 2011 at 07:43, Mark Campbell wrote: >>> I am trying to set a special character in a variable called $USER12$. >>> This is then used in a command definition check_blah -H $HOSTADDRESS$ >>> -u $USER11$ -p $USER12$ -l hello -s read -w $ARG1$ -c $ARG2$ >>> >>> >>> The Var definition looks like this $USER12$=s1t\\@Home >>> >>> >>> I have also tried s1t\@Home and 's1t at Home' and s1t\\\\@Home. All have >>> failed. >>> >>> Has anyone made this work in the past? >> It's difficult to know what you're actually trying to get as the value >> -- are you trying for a value with "\@" or "@" in it, for example? >> >> This may be a case of the layers of scripting and passing -- the >> various escaping might get ripped off at each layer. In that case, >> the following debugging wrapper might add another layer to work with, >> but it might help show what's actually getting use in your plugin >> call, which can help you randomize to find the right value: >> >> http://www.waggy.at/nagios/capture_plugin.htm >> >> Allan >> >> > > > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > 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 ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ 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 brian.murphy at gmx.net Tue Aug 23 06:02:12 2011 From: brian.murphy at gmx.net (Brian Murphy) Date: Tue, 23 Aug 2011 06:02:12 +0200 Subject: problem with checks being rescheduled outside their timeperiod Message-ID: <20110823040212.289110@gmx.net> Hmmm well I have found my problem but have not got a solution. NTP is changing the time on the system, and then [1313911134.718762] [001.0] [pid=14714] compensate_for_system_time_change() start [1313911134.718767] [008.0] [pid=14714] Detected a backwards time change of 0d 0h 0m 1s. [1313911134.718833] [001.0] [pid=14714] adjust_timestamp_for_time_change() [1313911134.718841] [001.0] [pid=14714] adjust_timestamp_for_time_change() the adjust_timestamp_for_time_change() (in events.c) does not check the timeperiod for the check, it just applies the time change to it, therefore often moving it out of its timeperiod and causing it not to run, and to be rescheduled for the next day. [1313504998.099400] [016.0] [pid=2285] Attempting to run scheduled check of service 'DAILY JOB' on host 'host': check options=0, latency=0.099000 [1313504998.099408] [001.0] [pid=2285] run_async_service_check() [1313504998.099412] [001.0] [pid=2285] check_service_check_viability() [1313504998.099417] [001.0] [pid=2285] check_time_against_period() [1313504998.099439] [016.2] [pid=2285] This is not a valid time for this service to be actively checked. [1313504998.099445] [001.0] [pid=2285] check_service_dependencies() [1313504998.099451] [016.1] [pid=2285] Unable to run scheduled service check at this time [1313504998.099455] [001.0] [pid=2285] get_next_valid_time() [1313504998.099459] [001.0] [pid=2285] check_time_against_period() [1313504998.099471] [001.0] [pid=2285] check_time_against_period() [1313504998.099484] [016.1] [pid=2285] Rescheduled next service check for Thu Aug 18 02:30:00 2011 that is the next day, that 02:30:00 time is going outside the timeperiod if there is a second lost in the next 24 hours too. There seems to be something unrequired here, the checks have been scheduled for a time time x, the real time, time y, has been adjusted but we still want the check to run at time x! Or to catch up as much as required running checks scheduled in the new past! Anyway, apart from not having the Virtual time move around on me, has anyone got any suggestions to stop the time rescheduling going outside the timeperiods? Brian -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Nagios-users mailing list Nagios-users 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 Aug 23 06:34:23 2011 From: Samuel.Kidman at panres.com (Samuel Kidman) Date: Tue, 23 Aug 2011 12:34:23 +0800 Subject: Unable to verify config - no line number given for error Message-ID: <2017228CAF598D4F8B68E7555B95876101B6E8B2@pr-pro-exch01-3.SMY.local> Hello I am having an issue with a config change. I am not sure what I have changed to cause this error. There is no line number given so I'm not sure what's causing it. The error and the last config file loaded before the error are below. Thanks in advance. prl at PR-PRO-CR-NAG02:~/host-config/finished-lists$ sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios-master-test.cfg Nagios Core 3.3.1 Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 07-25-2011 License: GPL Website: http://www.nagios.org Reading configuration data... Read main config file okay... Processing object config directory '/home/prl/nagios-config/common'... Processing object config file '/home/prl/nagios-config/common/hostgroups.cfg'... Processing object config file '/home/prl/nagios-config/common/commands.cfg'... Processing object config file '/home/prl/nagios-config/common/serviceescalations.cfg'... Processing object config file '/home/prl/nagios-config/common/templates.cfg'... Processing object config file '/home/prl/nagios-config/common/contacts.cfg'... Processing object config file '/home/prl/nagios-config/common/servicedependencies.cfg'... Processing object config file '/home/prl/nagios-config/common/timeperiods.cfg'... Processing object config directory '/home/prl/nagios-config/master'... Processing object config file '/home/prl/nagios-config/master/unallocated.cfg'... Processing object config file '/home/prl/nagios-config/master/sites.cfg'... Processing object config file '/home/prl/nagios-config/master/sandy-temp.cfg'... Processing object config file '/home/prl/nagios-config/master/gidgee-temp.cfg'... Processing object config file '/home/prl/nagios-config/master/high_level_network_devices.cfg'... Processing object config file '/home/prl/nagios-config/master/low_level_network_devices.cfg'... Processing object config file '/home/prl/nagios-config/master/services.cfg'... Processing object config file '/home/prl/nagios-config/master/windows_servers.cfg'... Error processing object config files! ***> The name of the main configuration file looks suspicious... Make sure you are specifying the name of the MAIN configuration file on the command line and not the name of another configuration file. The main configuration file is typically '/usr/local/nagios/etc/nagios.cfg' ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. Contents of windows_servers.cfg: define host { use generic-master-host parents PR-KNM-ESXSC01,PR-KNM-ESXSC02 hostgroups 100_WindowsServers, 120_ExchangeServers,100_WindowsServers_drive_c,100_WindowsServers_drive_ e host_name PR-KNM-EXCH01-3 display_name Savannah Exchange Server Backend alias PR-KNM-EXCH01-3 address 192.168.30.5 __SiteList __Site Savannah __ShareList __Services __ServerName __MapiProfile snm.test __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-KNM-ESXSC01,PR-KNM-ESXSC02 hostgroups 100_WindowsServers, 130_FileServers,100_WindowsServers_drive_c,100_WindowsServers_drive_e,10 0_WindowsServers_drive_f,100_WindowsServers_drive_g host_name PR-KNM-FS01 display_name Savannah File Server alias PR-KNM-FS01 address 192.168.30.6 __SiteList __Site Savannah __ShareList snmhistoricaldata$,snmav$,shared,users$,profiles$ __Services __ServerName snmdata __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-KNM-ESXSC01,PR-KNM-ESXSC02 hostgroups 100_WindowsServers, 140_MSSQLServers, 100_WindowsServers_drive_c,100_WindowsServers_drive_e host_name PR-SNM-CR-SQL02 display_name Savannah SQL Database Server alias PR-SNM-CR-SQL02 address 192.168.39.16 __SiteList Savannah Inflight::http://snm-inflight.smy.local/INX_KNM/Inflight/::ntlm::snm.tes t::Password{01,Savannah Intuition::http://pr-knm-sql01/INX_KNM/InTuition/::ntlm::snm.test::Passw ord{01,Savannah Incontrol::http://pr-knm-sql01/INX_KNM/INCONTROL/::ntlm::snm.test::Passw ord{01 __Site Savannah __ShareList __Services inx hosted webservice __ServerName __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-KNM-ESXSC01,PR-KNM-ESXSC02 hostgroups 100_WindowsServers, 140_MSSQLServers, 160_WebServers,100_WindowsServers_drive_c,100_WindowsServers_drive_e host_name PR-KNM-SQL01 display_name Savannah SQL Database Server alias PR-KNM-SQL01 address 192.168.30.7 __SiteList Savannah Inflight::http://snm-inflight.smy.local/INX_KNM/Inflight/::ntlm::snm.tes t::Password{01,Savannah Intuition::http://pr-knm-sql01/INX_KNM/InTuition/::ntlm::snm.test::Passw ord{01,Savannah Incontrol::http://pr-knm-sql01/INX_KNM/INCONTROL/::ntlm::snm.test::Passw ord{01 __Site Savannah __ShareList __Services inx hosted webservice __ServerName __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-KNM-ESXSC01,PR-KNM-ESXSC02 hostgroups 100_WindowsServers, 110_DomainControllers,100_WindowsServers_drive_c host_name PR-KNM-DC01 display_name Savannah Domain Controller 1 alias PR-KNM-DC01 address 192.168.34.1 __SiteList __Site Savannah __ShareList netlogon,sysvol __Services __ServerName 192.168.34.1 __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-KNM-ESXSC01,PR-KNM-ESXSC02 hostgroups 100_WindowsServers, 110_DomainControllers,100_WindowsServers_drive_c host_name PR-KNM-DC02 display_name Savannah Domain Controller 1 alias PR-KNM-DC02 address 192.168.34.2 __SiteList __Site Savannah __ShareList netlogon,sysvol __Services __ServerName 192.168.34.2 __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-KNM-ESXSC01,PR-KNM-ESXSC02 hostgroups 100_WindowsServers, 150_AppServers, 160_WebServers,100_WindowsServers_drive_c,100_WindowsServers_drive_e host_name PR-KNM-NA01 display_name Savannah Application Server 1 alias PR-KNM-NA01 address 192.168.34.3 __SiteList Savannah Sharepoint::http://snm-intranet.smy.local/default.aspx::ntlm::snm.test:: Password{01 __Site Savannah __ShareList __Services dhcpserver,sptimerv3,sptrace,bcaaa __ServerName __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-KNM-ESXSC01,PR-KNM-ESXSC02 hostgroups 100_WindowsServers,100_WindowsServers_drive_c,100_WindowsServers_drive_e host_name PR-KNM-MAN01 display_name Savannah Management Server 1 alias PR-KNM-MAN01 address 192.168.39.2 __SiteList __Site Savannah __ShareList __Services __ServerName __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-KNM-ESXSC01,PR-KNM-ESXSC02 hostgroups 100_WindowsServers,150_AppServers,100_WindowsServers_drive_c host_name PR-KNM-CR-VC02 display_name Savannah Virtual Center alias PR-KNM-CR-VC02 address 192.168.39.156 __SiteList __Site Savannah __ShareList __Services vmtools,vmware-ufad-vci,vmupgradehelper,vpxd,adam_vmwarevcmsds __ServerName __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-PRO-ESXSC01,PR-PRO-ESXSC02 hostgroups 100_WindowsServers, 150_AppServers,100_WindowsServers_drive_c,100_WindowsServers_drive_e host_name PR-PRO-MAN01 display_name Perth Management Server 1 alias PR-PRO-MAN01 address 192.168.20.1 __SiteList __Site Perth __ShareList software,applicationinstall$ __Services avbackup,BackupExecAgentAccelerator,BackupExecAgentBrowser,BackupExecDev iceMediaService,BackupExecJobEngine,BackupExecRPCService __ServerName PR-PRO-MAN01 __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-PRO-ESXSC01,PR-PRO-ESXSC02 hostgroups 100_WindowsServers, 150_AppServers, 160_WebServers,100_WindowsServers_drive_c,100_WindowsServers_drive_e host_name PR-PRO-CR-MAN03 display_name Perth Management Server 3 alias PR-PRO-CR-MAN03 address 192.168.20.23 __SiteList Desktop Central::http://servicedesk:8080/homepage.do::ntlm::prl.test::Password{0 1,Servicedesk::http://servicedesk:8020/configurations.do::ntlm::prl.test ::Password{01 __Site Perth __ShareList __Services servicedesk,manageengine desktop central - agent,desktopcentralserver __ServerName __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-PRO-ESXSC01,PR-PRO-ESXSC02 hostgroups 100_WindowsServers, 110_DomainControllers,100_WindowsServers_drive_c host_name PR-PRO-DC01 display_name Perth Domain Controller 1 alias PR-PRO-DC01 address 192.168.21.1 __SiteList __Site Perth __ShareList netlogon,sysvol __Services __ServerName 192.168.21.1 __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-PRO-ESXSC01,PR-PRO-ESXSC02 hostgroups 100_WindowsServers, 110_DomainControllers,100_WindowsServers_drive_c host_name PR-PRO-DC02 display_name Perth Domain Controller 1 alias PR-PRO-DC02 address 192.168.21.2 __SiteList __Site Perth __ShareList netlogon,sysvol __Services __ServerName 192.168.21.2 __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-PRO-ESXSC01,PR-PRO-ESXSC02 hostgroups 100_WindowsServers, 150_AppServers, 160_WebServers,100_WindowsServers_drive_c,100_WindowsServers_drive_e host_name PR-PRO-NA01 display_name Perth Application Server 1 alias PR-PRO-NA01 address 192.168.21.3 __SiteList Panoramic Sharepoint::http://prlgroup.smy.local/default.aspx::ntlm::prl.test::Pass word{01 __Site Perth __ShareList __Services bcaaa,blackberry server alert,bbattachserver,blackberry controller,blackberry database consistency service,blackberry dispatcher,blackberry mds connection service,blackberry policy service,blackberry router,blackberry syncserver,iisadmin,w3svc,ofcservice,mssqlserver,sqlbrowser,sqlwriter,vo icemailproserver,sptimerv3,sptrace,smtpsvc __ServerName __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-PRO-ESXSC01,PR-PRO-ESXSC02 hostgroups 100_WindowsServers,100_WindowsServers_drive_c host_name PR-PRO-NA02 display_name Perth Application Server 2 alias PR-PRO-NA02 address 192.168.21.4 __SiteList __Site Perth __ShareList __Services __ServerName __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-PRO-ESXSC01,PR-PRO-ESXSC02 hostgroups 100_WindowsServers, 150_AppServers,100_WindowsServers_drive_c,100_WindowsServers_drive_e host_name PR-PRO-CR-NA03 display_name Perth Application Server 3 alias PR-PRO-CR-NA03 address 192.168.21.5 __SiteList __Site Perth __ShareList __Services activefaxservicent __ServerName __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-PRO-ESXSC01,PR-PRO-ESXSC02 hostgroups 100_WindowsServers, 150_AppServers,100_WindowsServers_drive_c,100_WindowsServers_drive_e host_name PR-PRO-CR-NA04 display_name Perth Application Server 4 alias PR-PRO-CR-NA04 address 192.168.21.6 __SiteList __Site Perth __ShareList __Services bas-as,bas-ncc,blackberry server alert,bbattachserver,blackberry controller,blackberry dispatcher,blackberry mailstore service,blackberry mds connection service,blackberry router,mssql$blackberry,sqlbrowser,sqlwriter __ServerName __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-PRO-ESXSC01,PR-PRO-ESXSC01 hostgroups 100_WindowsServers, 140_MSSQLServers,100_WindowsServers_drive_c,100_WindowsServers_drive_e host_name PR-PRO-CR-SQL02 display_name Perth SQL Database Server alias PR-PRO-CR-SQL02 address 192.168.21.16 __SiteList __Site Perth __ShareList __Services __ServerName __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-PRO-ESXSC01,PR-PRO-ESXSC02 hostgroups 100_WindowsServers, 140_MSSQLServers,100_WindowsServers_drive_c,100_WindowsServers_drive_e host_name PR-PRO-SQL01 display_name Perth SQL Database Server alias PR-PRO-SQL01 address 192.168.22.10 __SiteList __Site Perth __ShareList __Services __ServerName __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-PRO-ESXSC01,PR-PRO-ESXSC02 hostgroups 100_WindowsServers,150_AppServers,160_WebServers,100_WindowsServers_driv e_c host_name PR-PRO-EXCH02-3 display_name Perth Exchange Server OWA alias PR-PRO-EXCH02-3 address 192.168.22.12 __SiteList Outlook Web Access::http://mail.panres.com/exchange/::basic::prl.test::Password{01,S ecure Outlook Web Access::http://mail.panres.com/exchange/::https-basic::prl.test::Passwor d{01 __Site Perth __ShareList __Services msexchangesa,microsoft exchange routing engine,microsoft exchange mta stacks,msexchangemgmt __ServerName __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-PRO-ESXSC01,PR-PRO-ESXSC02 hostgroups 100_WindowsServers, 120_ExchangeServers,100_WindowsServers_drive_c,100_WindowsServers_drive_ e host_name PR-PRO-EXCH01-3 display_name Perth Exchange Server Backend alias PR-PRO-EXCH01-3 address 192.168.22.8 __SiteList __Site Perth __ShareList __Services __ServerName __MapiProfile prl.test __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-PRO-ESXSC01,PR-PRO-ESXSC02 hostgroups 100_WindowsServers, 130_FileServers,100_WindowsServers_drive_c,100_WindowsServers_drive_e,10 0_WindowsServers_drive_f,100_WindowsServers_drive_g host_name PR-PRO-FS01 display_name Perth File Server alias PR-PRO-FS01 address 192.168.22.9 __SiteList __Site Perth __ShareList applicationdata$,profiles,users,historicaldata$,hsoft,montiesvl,prlav$,r eserves$,safetydmc,shared __Services __ServerName prldata __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-PRO-ESXSC01,PR-PRO-ESXSC02 hostgroups 100_WindowsServers,150_AppServers,100_WindowsServers_drive_c host_name PR-PRO-CR-VC02 display_name Perth Virtual Center alias PR-PRO-CR-VC02 address 192.168.20.126 __SiteList __Site Perth __ShareList __Services vmtools,vmware-ufad-vci,vmupgradehelper,vpxd,adam_vmwarevcmsds __ServerName __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-LNM-ESXSC01,PR-LNM-ESXSC02 hostgroups 100_WindowsServers, 140_MSSQLServers, 100_WindowsServers_drive_c,100_WindowsServers_drive_e host_name PR-LNM-CR-SQL02 display_name Lanfranchi SQL Database Server alias PR-LNM-CR-SQL02 address 192.168.27.16 __SiteList Lanfranchi Inflight::http://lnm-inflight.smy.local/inflight/::ntlm::lnm.test::Passw ord{01 __Site Lanfranchi __ShareList __Services __ServerName __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-LNM-ESXSC01,PR-LNM-ESXSC02 hostgroups 100_WindowsServers, 140_MSSQLServers, 160_WebServers,100_WindowsServers_drive_c,100_WindowsServers_drive_e host_name PR-LNM-SQL01 display_name Lanfranchi SQL Database Server alias PR-LNM-SQL01 address 192.168.25.11 __SiteList Lanfranchi Inflight::http://lnm-inflight.smy.local/inflight/::ntlm::lnm.test::Passw ord{01 __Site Lanfranchi __ShareList __Services __ServerName __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-LNM-ESXSC01,PR-LNM-ESXSC02 hostgroups 100_WindowsServers, 120_ExchangeServers,100_WindowsServers_drive_c,100_WindowsServers_drive_ e host_name PR-LNM-EXCH01-3 display_name Lanfranchi Exchange Server Backend alias PR-LNM-EXCH01-3 address 192.168.25.7 __SiteList __Site Lanfranchi __ShareList __Services __ServerName __MapiProfile lnm.test __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-LNM-ESXSC01,PR-LNM-ESXSC02 hostgroups 100_WindowsServers, 130_FileServers,100_WindowsServers_drive_c,100_WindowsServers_drive_e,10 0_WindowsServers_drive_f,100_WindowsServers_drive_g host_name PR-LNM-FS01 display_name Lanfranchi File Server alias PR-LNM-FS01 address 192.168.25.8 __SiteList __Site Lanfranchi __ShareList shared,profiles,users,lnmav$,workshopav$ __Services __ServerName lnmdata __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-LNM-ESXSC01,PR-LNM-ESXSC02 hostgroups 100_WindowsServers, 110_DomainControllers,100_WindowsServers_drive_c host_name PR-LNM-DC01 display_name Lanfranchi Domain Controller 1 alias PR-LNM-DC01 address 192.168.26.1 __SiteList __Site Lanfranchi __ShareList netlogon,sysvol __Services __ServerName 192.168.26.1 __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-LNM-ESXSC01,PR-LNM-ESXSC02 hostgroups 100_WindowsServers, 110_DomainControllers,100_WindowsServers_drive_c host_name PR-LNM-DC02 display_name Lanfranchi Domain Controller 2 alias PR-LNM-DC02 address 192.168.26.2 __SiteList __Site Lanfranchi __ShareList netlogon,sysvol __Services __ServerName 192.168.26.2 __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-LNM-ESXSC01,PR-LNM-ESXSC02 hostgroups 100_WindowsServers, 150_AppServers, 160_WebServers,100_WindowsServers_drive_c,100_WindowsServers_drive_e host_name PR-LNM-NA01 display_name Lanfranchi Application Server 1 alias PR-LNM-NA01 address 192.168.26.3 __SiteList Lanfranchi Sharepoint::http://lnm-intranet.smy.local/default.aspx::ntlm::lnm.test:: Password{01 __Site Lanfranchi __ShareList __Services dhcpserver,mwclicserverservice,sptimerv3,sptrace,bcaaa __ServerName __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-LNM-ESXSC01,PR-LNM-ESXSC02 hostgroups 100_WindowsServers,100_WindowsServers_drive_c,100_WindowsServers_drive_e host_name PR-LNM-MAN01 display_name Lanfranchi Management Server 1 alias PR-LNM-MAN01 address 192.168.27.1 __SiteList __Site Lanfranchi __ShareList __Services __ServerName __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } define host { use generic-master-host parents PR-LNM-ESXSC01,PR-LNM-ESXSC02 hostgroups 100_WindowsServers,150_AppServers,100_WindowsServers_drive_c host_name PR-LNM-CR-VC02 display_name Lanfranchi Virtual Center alias PR-LNM-CR-VC02 address 192.168.27.126 __SiteList __Site Lanfranchi __ShareList __Services vmtools,vmware-ufad-vci,vmupgradehelper,vpxd,adam_vmwarevcmsds __ServerName __MapiProfile __Interface Vmware Accelerated AMD PCNet Adapter } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 -------------- 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 michael.friedrich at univie.ac.at Tue Aug 23 09:48:02 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Tue, 23 Aug 2011 09:48:02 +0200 Subject: problem with checks being rescheduled outside their timeperiod In-Reply-To: <20110823040212.289110@gmx.net> References: <20110823040212.289110@gmx.net> Message-ID: <4E535B32.5090506@univie.ac.at> Brian Murphy wrote: > Hmmm well I have found my problem but have not got a solution. > > NTP is changing the time on the system, and then > > [1313911134.718762] [001.0] [pid=14714] compensate_for_system_time_change() start > [1313911134.718767] [008.0] [pid=14714] Detected a backwards time change of 0d 0h 0m 1s. > [1313911134.718833] [001.0] [pid=14714] adjust_timestamp_for_time_change() > [1313911134.718841] [001.0] [pid=14714] adjust_timestamp_for_time_change() > > the adjust_timestamp_for_time_change() (in events.c) does not check the timeperiod for the check, it just applies the time change to it, therefore often moving it out of its timeperiod and causing it not to run, and to be rescheduled for the next day. > > [1313504998.099400] [016.0] [pid=2285] Attempting to run scheduled check of service 'DAILY JOB' on host 'host': check options=0, latency=0.099000 > [1313504998.099408] [001.0] [pid=2285] run_async_service_check() > [1313504998.099412] [001.0] [pid=2285] check_service_check_viability() > [1313504998.099417] [001.0] [pid=2285] check_time_against_period() > [1313504998.099439] [016.2] [pid=2285] This is not a valid time for this service to be actively checked. > [1313504998.099445] [001.0] [pid=2285] check_service_dependencies() > [1313504998.099451] [016.1] [pid=2285] Unable to run scheduled service check at this time > [1313504998.099455] [001.0] [pid=2285] get_next_valid_time() > [1313504998.099459] [001.0] [pid=2285] check_time_against_period() > [1313504998.099471] [001.0] [pid=2285] check_time_against_period() > [1313504998.099484] [016.1] [pid=2285] Rescheduled next service check for Thu Aug 18 02:30:00 2011 > > that is the next day, that 02:30:00 time is going outside the timeperiod if there is a second lost in the next 24 hours too. > > There seems to be something unrequired here, the checks have been scheduled for a time time x, the real time, time y, has been adjusted but we still want the check to run at time x! Or to catch up as much as required running checks scheduled in the new past! > > Anyway, apart from not having the Virtual time move around on me, has anyone got any suggestions to stop the time rescheduling going outside the timeperiods? just don't use it. make a cron scheduling a downtime instead to suppress notifications. the code with timeperiods is not covering 100% of the cases where it could be triggered and calculating a valid next check time. tracker.nagios.org holds an old issue on that while you can also read about that on the nagios-devel mailinglist archives. > Brian -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Nagios-users mailing list Nagios-users 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 Tue Aug 23 14:02:10 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 23 Aug 2011 14:02:10 +0200 Subject: Memory leak in Nagios 3.3.1 Message-ID: <4E5396C2.7030902@op5.se> Hey all. I just stumbled across a memory leak in Nagios 3.3.1 which causes about 500 bytes of data (the exact amount varies with contact names, notification types, acknowledgement comments etc) to be lost on each notification opportunity (that is, when a host or service triggers a notification that actually gets sent to one or more contacts). The leak isn't big and will take a long time to cripple a running system, but you should be aware of it even so and take appropriate measures to avoid any negative impact on your production systems. A weekly restart should prevent leak buildups from reaching anywhere near critical levels. An update to the latest Nagios from subversion should also do the trick. More testing is in progress though, so cautious users (ie, the ones not yet running 3.3.1 anyway) should probably give it a week or two until upgrading. Cheers -- Andreas Ericsson andreas.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. ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 From ae at op5.se Tue Aug 23 14:19:06 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 23 Aug 2011 14:19:06 +0200 Subject: Nagios 3.3.1 Installation Failure In-Reply-To: <4E4D1E9A.3060002@saix.net> References: <4E4D1E9A.3060002@saix.net> Message-ID: <4E539ABA.6020802@op5.se> On 08/18/2011 04:15 PM, Jaco Lesch wrote: > Christian > > I had a similar problem on Solaris 10 and it seem to be an issue with > the for loop in one of the makefiles. Found this on one of the Ubuntu > forums that sorted out the problem for me. Check out the URL below: > > http://ubuntuforums.org/showthread.php?t=1814086 > Thanks for the pointer. I just pushed a fix for this issue. -- Andreas Ericsson andreas.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. ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Nagios-users mailing list Nagios-users 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 daniel.wittenberg.r0ko at statefarm.com Tue Aug 23 16:12:06 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 23 Aug 2011 14:12:06 +0000 Subject: Nagios 3.3.1 Installation Failure In-Reply-To: <4E539ABA.6020802@op5.se> References: <4E4D1E9A.3060002@saix.net> <4E539ABA.6020802@op5.se> Message-ID: <4288A518A157EC4C8873FEE74F778BF00245D0@WPSDGQHH.OPR.STATEFARM.ORG> So will we see a point release at some point? 3.3.2? Dan -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Tuesday, August 23, 2011 7:19 AM To: Nagios Users List Subject: Re: [Nagios-users] Nagios 3.3.1 Installation Failure On 08/18/2011 04:15 PM, Jaco Lesch wrote: > Christian > > I had a similar problem on Solaris 10 and it seem to be an issue with > the for loop in one of the makefiles. Found this on one of the Ubuntu > forums that sorted out the problem for me. Check out the URL below: > > http://ubuntuforums.org/showthread.php?t=1814086 > Thanks for the pointer. I just pushed a fix for this issue. -- Andreas Ericsson andreas.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. ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Nagios-users mailing list Nagios-users 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 ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Nagios-users mailing list Nagios-users 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 daniel.wittenberg.r0ko at statefarm.com Tue Aug 23 16:31:39 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 23 Aug 2011 14:31:39 +0000 Subject: Nagios 3.3.1 Installation Failure In-Reply-To: <4E53B67D.8030009@op5.se> References: <4E4D1E9A.3060002@saix.net> <4E539ABA.6020802@op5.se> <4288A518A157EC4C8873FEE74F778BF00245D0@WPSDGQHH.OPR.STATEFARM.ORG> <4E53B67D.8030009@op5.se> Message-ID: <4288A518A157EC4C8873FEE74F778BF00245FA@WPSDGQHH.OPR.STATEFARM.ORG> Yeah I figured so...time to update my resume :) Dan -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Tuesday, August 23, 2011 9:18 AM To: Nagios Users List Cc: Daniel Wittenberg Subject: Re: [Nagios-users] Nagios 3.3.1 Installation Failure On 08/23/2011 04:12 PM, Daniel Wittenberg wrote: > So will we see a point release at some point? 3.3.2? > No, never. 3.3.1 is the end of the line for Nagios ;) -- Andreas Ericsson andreas.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. ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Nagios-users mailing list Nagios-users 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 Tue Aug 23 16:17:33 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 23 Aug 2011 16:17:33 +0200 Subject: Nagios 3.3.1 Installation Failure In-Reply-To: <4288A518A157EC4C8873FEE74F778BF00245D0@WPSDGQHH.OPR.STATEFARM.ORG> References: <4E4D1E9A.3060002@saix.net> <4E539ABA.6020802@op5.se> <4288A518A157EC4C8873FEE74F778BF00245D0@WPSDGQHH.OPR.STATEFARM.ORG> Message-ID: <4E53B67D.8030009@op5.se> On 08/23/2011 04:12 PM, Daniel Wittenberg wrote: > So will we see a point release at some point? 3.3.2? > No, never. 3.3.1 is the end of the line for Nagios ;) -- Andreas Ericsson andreas.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. ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Nagios-users mailing list Nagios-users 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 Tue Aug 23 23:20:58 2011 From: cbeattie at geninfo.com (Chris Beattie) Date: Tue, 23 Aug 2011 17:20:58 -0400 Subject: Unable to verify config - no line number given for error In-Reply-To: <2017228CAF598D4F8B68E7555B95876101B6E8B2@pr-pro-exch01-3.SMY.local> References: <2017228CAF598D4F8B68E7555B95876101B6E8B2@pr-pro-exch01-3.SMY.local> Message-ID: <4E5419BA.6010104@geninfo.com> Samuel Kidman wrote: > > prl at PR-PRO-CR-NAG02:~/host-config/finished-lists$ sudo > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios-master-test.cfg > > > Error processing object config files! I have a hunch the problem's in nagios-master-test.cfg. Do you have a backup of that file from before the last time you modified it, or have a known-good "nagios-master.cfg" file you can compare it to? Or the example bone-stock nagios.cfg? You're using a newer version of Nagios than I am, too. A while back I realized I'd been migrating an ancient nagios.cfg for too long. My old file contained deprecated settings and was completely missing new settings, so that might be something else to check for. -- -Chris ------ Nothing in this message is intended to make or accept an offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users 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 trm.nagios at gmail.com Wed Aug 24 07:31:18 2011 From: trm.nagios at gmail.com (trm asn) Date: Wed, 24 Aug 2011 11:01:18 +0530 Subject: Passive host count Message-ID: Hi List, I have one Active+Passive checks nagios server . Under tac.cgi , the passive host checks count is 0. # Active Host / Service Checks: 584 / 44 # Passive Host / Service Checks: 0 / 2544 Is there any workaround to make this fix. /\ dE -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 nibin.vm at piserve.com Wed Aug 24 16:11:08 2011 From: nibin.vm at piserve.com (Nibin V M) Date: Wed, 24 Aug 2011 19:41:08 +0530 Subject: check_snmp arguments Message-ID: Hello, Is there any option to pass argument via check_snmp plugin to the remote server? Basically I am trying to call a script on the remote server, which I want to accept an argument from the nagios server using check_snmp. Like this,,, check_snmp -H server -C commun -o extOutput.1 - I want to pass an argument to the " extOutput.1" script on the remote server when I call this command from nagios server. Is it possible? -- Regards, Nibin. --------------------------------- Nibin.V.M Systems Integrator PiServe.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 Christian.Mies at it-novum.com Wed Aug 24 19:31:49 2011 From: Christian.Mies at it-novum.com (Mies, Christian) Date: Wed, 24 Aug 2011 19:31:49 +0200 Subject: Nagios 3.3.1 Installation Failure In-Reply-To: <4E53B67D.8030009@op5.se> References: <4E4D1E9A.3060002@saix.net><4E539ABA.6020802@op5.se><4288A518A157EC4C8873FEE74F778BF00245D0@WPSDGQHH.OPR.STATEFARM.ORG> <4E53B67D.8030009@op5.se> Message-ID: Hi List, this means there will be a Nagios 4 release in the near future? i.A. Christian Mies Senior Consultant Tel: +49 (661) 103-874 (-333) Fax: +49 (661) 103-17874 (-334) mailto:Christian.Mies at it-novum.com it-novum GmbH . Edelzeller Strasse 44 . 36043 Fulda . http://www.it-novum.com Handelsregister Amtsgericht Fulda, HRB 1934 . Gesch?ftsf?hrer: Michael Kienle . Sitz der Gesellschaft: Fulda Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empfaenger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielfaeltigung oder Weiterleitung dieser Mail ist strengstens verboten. This e-mail may contain confidential and/or priviledged information. If you are not the intended recepient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden. -----Urspr?ngliche Nachricht----- Von: Andreas Ericsson [mailto:ae at op5.se] Gesendet: Dienstag, 23. August 2011 16:18 An: Nagios Users List Betreff: Re: [Nagios-users] Nagios 3.3.1 Installation Failure On 08/23/2011 04:12 PM, Daniel Wittenberg wrote: > So will we see a point release at some point? 3.3.2? > No, never. 3.3.1 is the end of the line for Nagios ;) -- Andreas Ericsson andreas.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. ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Nagios-users mailing list Nagios-users 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 ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users 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.ford at wellsfargo.com Thu Aug 25 01:20:06 2011 From: andrew.ford at wellsfargo.com (andrew.ford at wellsfargo.com) Date: Wed, 24 Aug 2011 19:20:06 -0400 Subject: scheduled downtime allows host up notification Message-ID: <92F840F61CBA7641ABC9FBC87ABE86EB5AF81538B5@MSGCMSIL1011.ent.wfb.bank.corp> I have a distributed system (Nagios 3.2.1) where most of the service and host checks are passively submitted to the central servers that send the notifications. I was surprised to find that when the checks are passive, host up and service recovery notifications would get sent even when the host and/or service was in scheduled downtime. Bug or feature? Andy Ford Network Security Services, Wells Fargo 314-348-4937 andrew.ford at wellsfargo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 nagiostool at gmail.com Thu Aug 25 07:26:37 2011 From: nagiostool at gmail.com (nag ios) Date: Thu, 25 Aug 2011 10:56:37 +0530 Subject: email notification error Message-ID: Hi i'm totally new to nagios and i have installed nagios xi in linux machine which was loaded with CENTOS 5.0 i have configured it to send email notification when any service fails but i'm not able to recieve the mail and getting the following error as mail from mail deamon to my (root) mailbox Please help me in figuring this out >From MAILER-DAEMON at nagiostst.example.com Tue Aug 2 17:49:51 2011 Return-Path: Received: from localhost (localhost) by nagiostst.example.com (8.13.8/8.13.8) id p72CIRCQ030104; Tue, 2 Aug 2011 17:49:51 +0530 Date: Tue, 2 Aug 2011 17:49:51 +0530 From: Mail Delivery Subsystem Message-Id: <201108021219.p72CIRCQ030104 at nagiostst.example.com> To: MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="p72CIRCQ030104.1312287591/nagiostst.example.com" Subject: Warning: could not send message for past 4 hours Auto-Submitted: auto-generated (warning-timeout) Status: RO This is a MIME-encapsulated message --p72CIRCQ030104.1312287591/nagiostst.example.com ********************************************** ** THIS IS A WARNING MESSAGE ONLY ** ** YOU DO NOT NEED TO RESEND YOUR MESSAGE ** The original message was received at Tue, 2 Aug 2011 13:04:27 +0530 from nagiostst.example.com [127.0.0.1] ----- Transcript of session follows ----- ... Deferred: Connection timed out with infotech-enterprises.com. Warning: message still undelivered after 4 hours Will keep trying until message is 5 days old --p72CIRCQ030104.1312287591/nagiostst.example.com Content-Type: message/delivery-status Reporting-MTA: dns; nagiostst.example.com Arrival-Date: Tue, 2 Aug 2011 13:04:27 +0530 Final-Recipient: RFC822; krishna.Nukala at infotech-enterprises.com Action: delayed Status: 4.4.1 Remote-MTA: DNS; infotech-enterprises.com Last-Attempt-Date: Tue, 2 Aug 2011 17:49:51 +0530 Will-Retry-Until: Sun, 7 Aug 2011 13:04:27 +0530 --p72CIRCQ030104.1312287591/nagiostst.example.com Content-Type: message/rfc822 Return-Path: Received: from nagiostst.example.com (nagiostst.example.com [127.0.0.1]) by nagiostst.example.com (8.13.8/8.13.8) with ESMTP id p727YRkU008636 for ; Tue, 2 Aug 2011 13:04:27 +0530 Received: (from apache at localhost) by nagiostst.example.com (8.13.8/8.13.8/Submit) id p727YR9x008635; Tue, 2 Aug 2011 13:04:27 +0530 X-Authentication-Warning: nagiostst.example.com: apache set sender to root at nagiostst.example.com using -f To: krishna.Nukala at infotech-enterprises.com Subject: Nagios XI Email Test Date: Tue, 2 Aug 2011 13:04:27 +0530 From: Nagios XI Reply-to: Nagios XI Message-ID: X-Priority: 3 X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_fdf00e19882825ce5df097bc448696b6" --b1_fdf00e19882825ce5df097bc448696b6 Content-Type: text/plain; charset = "iso-8859-1" Content-Transfer-Encoding: 8bit This is a test email from Nagios XI --b1_fdf00e19882825ce5df097bc448696b6 Content-Type: text/html; charset = "iso-8859-1" Content-Transfer-Encoding: 8bit This is a test email from Nagios XI --b1_fdf00e19882825ce5df097bc448696b6-- --p72CIRCQ030104.1312287591/nagiostst.example.com-- >From krishna.nukala at infotech-enterprises.com Tue Aug 2 14:10:19 2011 Return-Path: Received: from corp.infotech-enterprises.com (nagiostst.example.com[127.0.0.1]) by nagiostst.example.com (8.13.8/8.13.8) with ESMTP id p727qVbP014105; Tue, 2 Aug 2011 13:25:11 +0530 Date: Tue, 2 Aug 2011 13:22:31 +0530 From: krishna.nukala at infotech-enterprises.com Message-Id: <201108020755.p727qVbP014105 at nagiostst.example.com> Status: RO test mail check it out >From root at nagiostst.example.com Tue Aug 2 07:00:12 2011 Return-Path: Received: from nagiostst.example.com (nagiostst.example.com [127.0.0.1]) by nagiostst.example.com (8.13.8/8.13.8) with ESMTP id p721U4LC022775 for ; Tue, 2 Aug 2011 07:00:12 +0530 Received: (from root at localhost) by nagiostst.example.com (8.13.8/8.13.8/Submit) id p721U4Tq022773; Tue, 2 Aug 2011 07:00:04 +0530 Date: Tue, 2 Aug 2011 07:00:04 +0530 Message-Id: <201108020130.p721U4Tq022773 at nagiostst.example.com> From: root at nagiostst.example.com (Cron Daemon) To: root at nagiostst.example.com Subject: Cron /root/scripts/automysqlbackup Content-Type: text/plain; charset=UTF-8 Auto-Submitted: auto-generated X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: Status: RO -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 rab at walkermartyn.co.uk Thu Aug 25 09:10:25 2011 From: rab at walkermartyn.co.uk (Robert Jackson) Date: Thu, 25 Aug 2011 08:10:25 +0100 Subject: Which Is Best Message-ID: I'm looking into a Nagios installation to monitor both our Data Centre hardware as well as our own internal hardware. Would it be best to have 2 separate installations of Nagios (one for each site) or have a distributed installation? Also what would be the best platform for Nagios (either RHEL or Solaris - we currently use both in our environment)? We access to our Data Centre over a VPN link. Regards, Rab. ============================================================= Robert Jackson Phone: +44 (0) 141 332 7999 IT Manager Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus Place Email: rab at walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk ============================================================= ************************************************************************ The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administrator at walkermartyn.co.uk Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. **************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 Thu Aug 25 10:12:18 2011 From: ae at op5.se (Andreas Ericsson) Date: Thu, 25 Aug 2011 10:12:18 +0200 Subject: Nagios 3.3.1 Installation Failure In-Reply-To: References: <4E4D1E9A.3060002@saix.net><4E539ABA.6020802@op5.se><4288A518A157EC4C8873FEE74F778BF00245D0@WPSDGQHH.OPR.STATEFARM.ORG> <4E53B67D.8030009@op5.se> Message-ID: <4E5603E2.8030804@op5.se> On 08/24/2011 07:31 PM, Mies, Christian wrote: > Hi List, > this means there will be a Nagios 4 release in the near future? > We don't cut a major release for tiny install bugs. Major releases are for when we break the eventbroker API, which we try kinda hard not to do. -- 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. ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users 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 Thu Aug 25 10:14:56 2011 From: ae at op5.se (Andreas Ericsson) Date: Thu, 25 Aug 2011 10:14:56 +0200 Subject: scheduled downtime allows host up notification In-Reply-To: <92F840F61CBA7641ABC9FBC87ABE86EB5AF81538B5@MSGCMSIL1011.ent.wfb.bank.corp> References: <92F840F61CBA7641ABC9FBC87ABE86EB5AF81538B5@MSGCMSIL1011.ent.wfb.bank.corp> Message-ID: <4E560480.6040709@op5.se> On 08/25/2011 01:20 AM, andrew.ford at wellsfargo.com wrote: > I have a distributed system (Nagios 3.2.1) where most of the service > and host checks are passively submitted to the central servers that > send the notifications. I was surprised to find that when the checks > are passive, host up and service recovery notifications would get > sent even when the host and/or service was in scheduled downtime. Bug > or feature? > When you encounter something you're not sure of whether it's a bug or a feature, a sensible course of action is to test if the behaviour is still present in later releases. If it isn't, it was a bug but has been fixed. If it is, it might be a bug and then you're "allowed" to ask without getting snapped at. We normally ignore bugreports against older releases than the latest micro-release in its series. In this case, that means you need to test 3.2.3 to see if the problem is still present there. If it is, let us know. Otherwise, we'll just ignore this and hope it's fixed in 3.2.3 and tell you to upgrade to that (completely compatible) version. -- 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. ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users 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 Thu Aug 25 10:17:47 2011 From: ae at op5.se (Andreas Ericsson) Date: Thu, 25 Aug 2011 10:17:47 +0200 Subject: Which Is Best In-Reply-To: References: Message-ID: <4E56052B.3090101@op5.se> On 08/25/2011 09:10 AM, Robert Jackson wrote: > I'm looking into a Nagios installation to monitor both our Data Centre > hardware as well as our own internal hardware. Would it be best to have > 2 separate installations of Nagios (one for each site) or have a > distributed installation? Also what would be the best platform for > Nagios (either RHEL or Solaris - we currently use both in our > environment)? > Nagios relies heavily on fork() being cheap, which it is on Linux but not on Solaris, so Linux is better for this. As for one or two systems, that's mainly a matter of preference. Have a look at Merlin if you want to connect two systems though. It'll be a lot easier for you in the long run than maintaining config and stuff yourself while using NSCA to run the checks. -- 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. ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users 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 haseeb at carepvtltd.com Thu Aug 25 11:37:06 2011 From: haseeb at carepvtltd.com (Muhammad Haseeb) Date: Thu, 25 Aug 2011 14:37:06 +0500 Subject: Problem Executing Passive Checks Message-ID: <2CCF24B11EA3054D9965D3F5E1D27C1C02E58DEB86CB@1aurora.care.com> Hi I want to get information for hosts and services when user needs it using Service Command - Re-schedule the next check of this service in Nagios GUI. I write submit command in commands.cfg and in services.cfg I define passive service which is used that command as check command. I used the sample script provided by Nagios for sending commands to Nagios. Script successfully execute in terminal but when I initiate from Nagios GUI using Reschedule Service Command, it gets executed and after that it gets to OK state with (null) plugin output every time as shown in below nagios logs. I used the nagios 3.2.2, nagios pugins 1.4.15 and Fedora 12 32bit. Following is the configuration, nagios log file and sample scripts. Commands.cfg define command{ command_name passive_check command_line /$USER1$/submit_check_result $HOSTNAME$ "$SERVICEDESC$" $ARG1$ } Services.cfg define service { use generic-service ; your template host_name anjum service_description passive_test is_volatile 1 ; every change is logged ... max_check_attempts 1 ; a change is after only 1 try ... active_checks_enabled 0 ; unset template's default ... passive_checks_enabled 1 ; ditto ... check_freshness 0 freshness_threshold 300 notification_options n ; no notifications ... check_command passive_check } Sample Script echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` Log file [1314265019] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;anjum;passive_test;1314265018 [1314265019] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;anjum;passive_test;1;haseeb [1314265029] PASSIVE SERVICE CHECK: anjum;passive_test;1;haseeb [1314265029] SERVICE ALERT: anjum;passive_test;WARNING;HARD;1;haseeb [1314265029] SERVICE ALERT: anjum;passive_test;OK;HARD;1;(null) [1314265236] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;anjum;passive_test;1314265235 [1314265236] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;anjum;passive_test;1;haseeb [1314265239] PASSIVE SERVICE CHECK: anjum;passive_test;1;haseeb [1314265239] SERVICE ALERT: anjum;passive_test;WARNING;HARD;1;haseeb [1314265239] SERVICE ALERT: anjum;passive_test;OK;HARD;1;(null) As mention in above log, after executing my passive check, service alert is raised and suddenly another service alert with OK state and (null) plugin output is raised and visible in Nagios GUI. Looking forward for quick response. Thanks. Regards Muhammad Haseeb Software Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 BChan at Shawcor.com Thu Aug 25 12:58:30 2011 From: BChan at Shawcor.com (Brian Chan) Date: Thu, 25 Aug 2011 06:58:30 -0400 Subject: AUTO: Chan, Brian is away from the office on Business Travel (Returning 08/06/2011) (returning 08/30/2011) Message-ID: I am out of the office until 08/30/2011. I will respond to your message when I return. If this is a request for support, click here to open an ITRequest--:> mailto:itrequest at shawcor.com Alternatively, all questions can be directed to the Help Desk at 416-744-5557 Brian Chan Note: This is an automated response to your message "Nagios-users Digest, Vol 63, Issue 15" sent on 8/25/2011 6:58:03. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users 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 archaitanya25 at yahoo.co.in Thu Aug 25 13:03:06 2011 From: archaitanya25 at yahoo.co.in (ramesh chaitanya) Date: Thu, 25 Aug 2011 16:33:06 +0530 (IST) Subject: Using contacts and contact_groups on same service definition Message-ID: <1314270186.85496.YahooMailClassic@web94612.mail.in2.yahoo.com> Hi, We have nagios 2.6 running and have our environment monitored by nagios.?Recently I had a scenario where I had to add a new contact to get notified on one of the services.I added the contact to the contacts.cfg and when trying to add the contact to the service definition as below -? define service{ ??????? use???????????????????????????? generic-public-service ??????? service_description???????????? HTTPS-Shard6-testEvent ??????? servicegroups?????????????????? Live HTTP Sites ??????? host_name ? ? ? ? ? ? ? ? ? ? ? XXXXXXXXXXXX ? ? ? ? check_command?????????????????? check_httpS!"/tracking/api/core/testEvent?shardId=6"!"resultCode\":0," ???????? max_check_attempts????????????? 10 ??????? contacts ? ? ? ? ? ? ? ? ? ? ? ?test ??????? contact_groups????????????????? sys,noc ? ? ? ? notification_interval?????????? 30 It errors out saying?Error: Invalid service object directive 'contacts'. Error: Could not add object property in file '/etc/nagios/cfg/public/svc.cfg'? Does having contacts and contact_groups on the same service definition not allowed? Thanks, Ramesh Ayyagari -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 Thu Aug 25 13:27:27 2011 From: ae at op5.se (Andreas Ericsson) Date: Thu, 25 Aug 2011 13:27:27 +0200 Subject: Using contacts and contact_groups on same service definition In-Reply-To: <1314270186.85496.YahooMailClassic@web94612.mail.in2.yahoo.com> References: <1314270186.85496.YahooMailClassic@web94612.mail.in2.yahoo.com> Message-ID: <4E56319F.9000605@op5.se> On 08/25/2011 01:03 PM, ramesh chaitanya wrote: > Hi, > We have nagios 2.6 running and have our environment monitored by nagios. Recently I had a scenario where I had to add a new contact to get notified on one of the services.I added the contact to the contacts.cfg and when trying to add the contact to the service definition as below - > define service{ > > > use > generic-public-service > > > service_description > HTTPS-Shard6-testEvent > > > servicegroups > Live HTTP Sites > > > host_name XXXXXXXXXXXX > check_command > check_httpS!"/tracking/api/core/testEvent?shardId=6"!"resultCode\":0," > > > max_check_attempts > 10 > > > contacts test > > > contact_groups > sys,noc > notification_interval > 30 > It errors out saying Error: Invalid service object > directive 'contacts'. > > Error: Could not add object property in file '/etc/nagios/cfg/public/svc.cfg' > Does having contacts and contact_groups on the same service definition not allowed? > In 2.6 it's not allowed. Upgrade to 3.2.x or 3.3.1 if you want that feature. -- 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. ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users 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 lmw94002 at hotmail.com Thu Aug 25 15:21:20 2011 From: lmw94002 at hotmail.com (Mathew Walker) Date: Thu, 25 Aug 2011 09:21:20 -0400 Subject: Which Is Best In-Reply-To: References: Message-ID: Hello, If it's just two sites... I like to have two Nagios servers. I would put one in each site. That way if the VPN link is down, you don't lose performance data from the other site during the window. Plus each Nagios server can monitor the other. Also I've used my HQ install to monitor my datacenter over the ISP link to monitor general performance of my apps. If you're going to end up with multiple sites, then maybe start with a distributed setup now to safe work down the road. I also prefer a RH/Centos install for Nagios. -- Mat W. Date: Thu, 25 Aug 2011 08:10:25 +0100 From: rab at walkermartyn.co.uk To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Which Is Best I?m looking into a Nagios installation to monitor both our Data Centre hardware as well as our own internal hardware. Would it be best to have 2 separate installations of Nagios (one for each site) or have a distributed installation? Also what would be the best platform for Nagios (either RHEL or Solaris ? we currently use both in our environment)? We access to our Data Centre over a VPN link. Regards,Rab.=============================================================Robert Jackson Phone: +44 (0) 141 332 7999IT Manager Fax: +44 (0) 141 331 2820Walker Martyn Ltd1 Park Circus Place Email: rab at walkermartyn.co.ukGlasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk============================================================= ************************************************************************ The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administrator at walkermartyn.co.uk. Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. **************************************************************** ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users 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 -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 michael.friedrich at univie.ac.at Thu Aug 25 20:14:32 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 25 Aug 2011 20:14:32 +0200 Subject: email notification error In-Reply-To: References: Message-ID: <4E569108.8020903@univie.ac.at> On 25.08.2011 07:26, nag ios wrote: > Hi i'm totally new to nagios and i have installed nagios xi in linux > machine which was loaded with CENTOS 5.0 > i have configured it to send email notification when any service > fails but i'm not able to recieve the mail and getting the following > error as mail from mail deamon to my (root) mailbox > Please help me in figuring this out http://support.nagios.com > > > > From MAILER-DAEMON at nagiostst.example.com > Tue Aug 2 17:49:51 2011 > Return-Path: > > Received: from localhost (localhost) > by nagiostst.example.com > (8.13.8/8.13.8) id p72CIRCQ030104; > Tue, 2 Aug 2011 17:49:51 +0530 > Date: Tue, 2 Aug 2011 17:49:51 +0530 > From: Mail Delivery Subsystem > > Message-Id: <201108021219.p72CIRCQ030104 at nagiostst.example.com > > > To: > > MIME-Version: 1.0 > Content-Type: multipart/report; report-type=delivery-status; > boundary="p72CIRCQ030104.1312287591/nagiostst.example.com > " > Subject: Warning: could not send message for past 4 hours > Auto-Submitted: auto-generated (warning-timeout) > Status: RO > > This is a MIME-encapsulated message > > --p72CIRCQ030104.1312287591/nagiostst.example.com > > > ********************************************** > ** THIS IS A WARNING MESSAGE ONLY ** > ** YOU DO NOT NEED TO RESEND YOUR MESSAGE ** > > > The original message was received at Tue, 2 Aug 2011 13:04:27 +0530 > from nagiostst.example.com [127.0.0.1] > > ----- Transcript of session follows ----- > >... Deferred: > Connection timed out with infotech-enterprises.com > . > Warning: message still undelivered after 4 hours > Will keep trying until message is 5 days old > > --p72CIRCQ030104.1312287591/nagiostst.example.com > > Content-Type: message/delivery-status > > Reporting-MTA: dns; nagiostst.example.com > Arrival-Date: Tue, 2 Aug 2011 13:04:27 +0530 > > Final-Recipient: RFC822; krishna.Nukala at infotech-enterprises.com > > Action: delayed > Status: 4.4.1 > Remote-MTA: DNS; infotech-enterprises.com > > Last-Attempt-Date: Tue, 2 Aug 2011 17:49:51 +0530 > Will-Retry-Until: Sun, 7 Aug 2011 13:04:27 +0530 > > --p72CIRCQ030104.1312287591/ nagiostst.example.com > > Content-Type: message/rfc822 > > Return-Path: > > Received: from nagiostst.example.com > (nagiostst.example.com [127.0.0.1]) > by nagiostst.example.com > (8.13.8/8.13.8) with ESMTP id p727YRkU008636 > for >; Tue, 2 Aug 2011 > 13:04:27 +0530 > Received: (from apache at localhost) > by nagiostst.example.com > (8.13.8/8.13.8/Submit) id p727YR9x008635; > Tue, 2 Aug 2011 13:04:27 +0530 > X-Authentication-Warning: nagiostst.example.com > : apache set sender to > root at nagiostst.example.com using -f > To: krishna.Nukala at infotech-enterprises.com > > Subject: Nagios XI Email Test > Date: Tue, 2 Aug 2011 13:04:27 +0530 > From: Nagios XI > > Reply-to: Nagios XI > > Message-ID: > > X-Priority: 3 > X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net > ) > MIME-Version: 1.0 > Content-Type: multipart/alternative; > boundary="b1_fdf00e19882825ce5df097bc448696b6" > --b1_fdf00e19882825ce5df097bc448696b6 > Content-Type: text/plain; charset = "iso-8859-1" > Content-Transfer-Encoding: 8bit > > This is a test email from Nagios XI > > > --b1_fdf00e19882825ce5df097bc448696b6 > Content-Type: text/html; charset = "iso-8859-1" > Content-Transfer-Encoding: 8bit > > This is a test email from Nagios XI > > > > --b1_fdf00e19882825ce5df097bc448696b6-- > > > --p72CIRCQ030104.1312287591/nagiostst.example.com-- > > From krishna.nukala at infotech-enterprises.com > Tue Aug 2 14:10:19 2011 > Return-Path: > > Received: from corp.infotech-enterprises.com > (nagiostst.example.com > [127.0.0.1]) > by nagiostst.example.com > (8.13.8/8.13.8) with ESMTP id p727qVbP014105; > Tue, 2 Aug 2011 13:25:11 +0530 > Date: Tue, 2 Aug 2011 13:22:31 +0530 > From: krishna.nukala at infotech-enterprises.com > > Message-Id: <201108020755.p727qVbP014105 at nagiostst.example.com > > > Status: RO > > test mail > check it out > > From root at nagiostst.example.com > Tue Aug 2 07:00:12 2011 > Return-Path: > > Received: from nagiostst.example.com > (nagiostst.example.com [127.0.0.1]) > by nagiostst.example.com > (8.13.8/8.13.8) with ESMTP id p721U4LC022775 > for >; Tue, 2 Aug 2011 07:00:12 +0530 > Received: (from root at localhost) > by nagiostst.example.com > (8.13.8/8.13.8/Submit) id p721U4Tq022773; > Tue, 2 Aug 2011 07:00:04 +0530 > Date: Tue, 2 Aug 2011 07:00:04 +0530 > Message-Id: <201108020130.p721U4Tq022773 at nagiostst.example.com > > > From: root at nagiostst.example.com > (Cron Daemon) > To: root at nagiostst.example.com > Subject: Cron /root/scripts/automysqlbackup > Content-Type: text/plain; charset=UTF-8 > Auto-Submitted: auto-generated > X-Cron-Env: > X-Cron-Env: > X-Cron-Env: > X-Cron-Env: > X-Cron-Env: > Status: RO > > > > ------------------------------------------------------------------------------ > EMC VNX: the world's simplest storage, starting under $10K > The only unified storage solution that offers unified management > Up to 160% more powerful than alternatives and 25% more efficient. > Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users 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 -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 Aug 26 03:02:10 2011 From: Samuel.Kidman at panres.com (Samuel Kidman) Date: Fri, 26 Aug 2011 09:02:10 +0800 Subject: [RESOLVED] Unable to verify config - no line number given for error Message-ID: <2017228CAF598D4F8B68E7555B95876101B6EAAB@pr-pro-exch01-3.SMY.local> There were some syntax errors in one of the cfg files. I picked it up by diffing with a previous known working version. Strange that it didn't show any line number for the error though. -----Original Message----- From: Chris Beattie [mailto:cbeattie at geninfo.com] Sent: Wednesday, 24 August 2011 5:21 AM To: Nagios Users List Subject: Re: [Nagios-users] Unable to verify config - no line number given for error Samuel Kidman wrote: > > prl at PR-PRO-CR-NAG02:~/host-config/finished-lists$ sudo > /usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios-master-test.cfg > > > Error processing object config files! I have a hunch the problem's in nagios-master-test.cfg. Do you have a backup of that file from before the last time you modified it, or have a known-good "nagios-master.cfg" file you can compare it to? Or the example bone-stock nagios.cfg? You're using a newer version of Nagios than I am, too. A while back I realized I'd been migrating an ancient nagios.cfg for too long. My old file contained deprecated settings and was completely missing new settings, so that might be something else to check for. -- -Chris ------ Nothing in this message is intended to make or accept an offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. ------------------------------------------------------------------------ ------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users 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 ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users 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 jcasale at activenetwerx.com Fri Aug 26 05:38:54 2011 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Fri, 26 Aug 2011 03:38:54 +0000 Subject: iSCSI mounts not appearing in storage table Message-ID: I have several new RHEL 6 based machines that unlike RHEL 5 do not enumerate storage info for iscsi based mounts with snmp, just local storage. Anyone know what/why this has changed and a way around this? Thanks! jlc ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users 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 aravind at linuz.in Fri Aug 26 11:05:08 2011 From: aravind at linuz.in (Aravind M D) Date: Fri, 26 Aug 2011 14:35:08 +0530 Subject: Nagios Cluster with Load Balancing and High Availability Message-ID: <20110826143508.Horde.JmINUVwlEB5OV2HEuyZG9VA@mail.linuz.in> Hi I need to configure two physical servers as active-active cluster and configure Loadbalancing with High availabiltiy for Nagios. Can somebody help me how to achieve this. I have checked some of loadbalancing modules like mod_gearmen, merlin and DNX. If any one knows about the difference between these modules please let me know. Rgds, Aravind M D -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 aravind at linuz.in Fri Aug 26 12:37:29 2011 From: aravind at linuz.in (Aravind M D) Date: Fri, 26 Aug 2011 16:07:29 +0530 Subject: Nagios Cluster with Load Balancing and High Availability In-Reply-To: References: <20110826143508.Horde.JmINUVwlEB5OV2HEuyZG9VA@mail.linuz.in> Message-ID: <20110826160729.Horde.3FfLZFwlEB5OV3dp44D3yLA@mail.linuz.in> Quoting nap : Hi Thanks for your reply. I need to implement the solution using Nagios please help me to create a solution based on Nagios. Rgds, Aravind M D >> Hi, > > > > You can also try Shinken, a liad balancing with HA architecture is by > > design, wheras with Nagios you will have performances impacts > and "hard to > > manage configuration". It's fully compatible with Nagios > configuration and > > plugins :) > > > > Regards, > > > > > > Jean > > > > On Fri, Aug 26, 2011 at 11:05 AM, Aravind M D wrote: > > > >> Hi > >> > >> I need to configure two physical servers as active-active cluster and > >> configure Loadbalancing with High availabiltiy for Nagios. > >> > >> Can somebody help me how to achieve this. > >> > >> I have checked some of loadbalancing modules like mod_gearmen, > merlin and > >> DNX. If any one knows about the difference between these > modules please let > >> me know. > >> > >> Rgds, > >> Aravind M D > >> > >> > >> > ------------------------------------------------------------------------------ > >> EMC VNX: the world's simplest storage, starting under $10K > >> The only unified storage solution that offers unified management > >> Up to 160% more powerful than alternatives and 25% more efficient. > >> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users 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 -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 haseeb at carepvtltd.com Fri Aug 26 14:05:04 2011 From: haseeb at carepvtltd.com (Muhammad Haseeb) Date: Fri, 26 Aug 2011 17:05:04 +0500 Subject: Problem Executing Passive Checks In-Reply-To: <2CCF24B11EA3054D9965D3F5E1D27C1C02E58DEB86CB@1aurora.care.com> References: <2CCF24B11EA3054D9965D3F5E1D27C1C02E58DEB86CB@1aurora.care.com> Message-ID: <2CCF24B11EA3054D9965D3F5E1D27C1C02E770F03CD3@1aurora.care.com> Can anyone solve my problem. I am waiting for reply. From: Muhammad Haseeb [mailto:haseeb at carepvtltd.com] Sent: Thursday, August 25, 2011 2:37 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem Executing Passive Checks Hi I want to get information for hosts and services when user needs it using Service Command - Re-schedule the next check of this service in Nagios GUI. I write submit command in commands.cfg and in services.cfg I define passive service which is used that command as check command. I used the sample script provided by Nagios for sending commands to Nagios. Script successfully execute in terminal but when I initiate from Nagios GUI using Reschedule Service Command, it gets executed and after that it gets to OK state with (null) plugin output every time as shown in below nagios logs. I used the nagios 3.2.2, nagios pugins 1.4.15 and Fedora 12 32bit. Following is the configuration, nagios log file and sample scripts. Commands.cfg define command{ command_name passive_check command_line /$USER1$/submit_check_result $HOSTNAME$ "$SERVICEDESC$" $ARG1$ } Services.cfg define service { use generic-service ; your template host_name anjum service_description passive_test is_volatile 1 ; every change is logged ... max_check_attempts 1 ; a change is after only 1 try ... active_checks_enabled 0 ; unset template's default ... passive_checks_enabled 1 ; ditto ... check_freshness 0 freshness_threshold 300 notification_options n ; no notifications ... check_command passive_check } Sample Script echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` Log file [1314265019] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;anjum;passive_test;1314265018 [1314265019] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;anjum;passive_test;1;haseeb [1314265029] PASSIVE SERVICE CHECK: anjum;passive_test;1;haseeb [1314265029] SERVICE ALERT: anjum;passive_test;WARNING;HARD;1;haseeb [1314265029] SERVICE ALERT: anjum;passive_test;OK;HARD;1;(null) [1314265236] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;anjum;passive_test;1314265235 [1314265236] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;anjum;passive_test;1;haseeb [1314265239] PASSIVE SERVICE CHECK: anjum;passive_test;1;haseeb [1314265239] SERVICE ALERT: anjum;passive_test;WARNING;HARD;1;haseeb [1314265239] SERVICE ALERT: anjum;passive_test;OK;HARD;1;(null) As mention in above log, after executing my passive check, service alert is raised and suddenly another service alert with OK state and (null) plugin output is raised and visible in Nagios GUI. Looking forward for quick response. Thanks. Regards Muhammad Haseeb Software Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 Fri Aug 26 14:52:29 2011 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Fri, 26 Aug 2011 12:52:29 +0000 Subject: Problem Executing Passive Checks In-Reply-To: <2CCF24B11EA3054D9965D3F5E1D27C1C02E770F03CD3@1aurora.care.com> References: <2CCF24B11EA3054D9965D3F5E1D27C1C02E58DEB86CB@1aurora.care.com> <2CCF24B11EA3054D9965D3F5E1D27C1C02E770F03CD3@1aurora.care.com> Message-ID: <70D7A4219FE365439DA53582BA6D8F2E4DEE1A21@HCSD-MAIL2> A GUI instigated check may run under a different username than that used in a terminal script. Were you root in terminal? Marty From: Muhammad Haseeb [mailto:haseeb at carepvtltd.com] Sent: Friday, August 26, 2011 8:05 AM To: Nagios Users List Subject: Re: [Nagios-users] Problem Executing Passive Checks Can anyone solve my problem. I am waiting for reply. From: Muhammad Haseeb [mailto:haseeb at carepvtltd.com] Sent: Thursday, August 25, 2011 2:37 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem Executing Passive Checks Hi I want to get information for hosts and services when user needs it using Service Command - Re-schedule the next check of this service in Nagios GUI. I write submit command in commands.cfg and in services.cfg I define passive service which is used that command as check command. I used the sample script provided by Nagios for sending commands to Nagios. Script successfully execute in terminal but when I initiate from Nagios GUI using Reschedule Service Command, it gets executed and after that it gets to OK state with (null) plugin output every time as shown in below nagios logs. I used the nagios 3.2.2, nagios pugins 1.4.15 and Fedora 12 32bit. Following is the configuration, nagios log file and sample scripts. Commands.cfg define command{ command_name passive_check command_line /$USER1$/submit_check_result $HOSTNAME$ "$SERVICEDESC$" $ARG1$ } Services.cfg define service { use generic-service ; your template host_name anjum service_description passive_test is_volatile 1 ; every change is logged ... max_check_attempts 1 ; a change is after only 1 try ... active_checks_enabled 0 ; unset template's default ... passive_checks_enabled 1 ; ditto ... check_freshness 0 freshness_threshold 300 notification_options n ; no notifications ... check_command passive_check } Sample Script echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` Log file [1314265019] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;anjum;passive_test;1314265018 [1314265019] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;anjum;passive_test;1;haseeb [1314265029] PASSIVE SERVICE CHECK: anjum;passive_test;1;haseeb [1314265029] SERVICE ALERT: anjum;passive_test;WARNING;HARD;1;haseeb [1314265029] SERVICE ALERT: anjum;passive_test;OK;HARD;1;(null) [1314265236] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;anjum;passive_test;1314265235 [1314265236] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;anjum;passive_test;1;haseeb [1314265239] PASSIVE SERVICE CHECK: anjum;passive_test;1;haseeb [1314265239] SERVICE ALERT: anjum;passive_test;WARNING;HARD;1;haseeb [1314265239] SERVICE ALERT: anjum;passive_test;OK;HARD;1;(null) As mention in above log, after executing my passive check, service alert is raised and suddenly another service alert with OK state and (null) plugin output is raised and visible in Nagios GUI. Looking forward for quick response. Thanks. Regards Muhammad Haseeb Software Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 DCeola at twgi.net Fri Aug 26 14:52:05 2011 From: DCeola at twgi.net (Daniel Ceola) Date: Fri, 26 Aug 2011 12:52:05 +0000 Subject: Viewing Nagios Uptime/Status in SharePoint Message-ID: <40B7337A7D70B149A34D5A0FD9FDFA8C2A0663@twgiex.twgi.net> Hi all, I searched around for a bit and only found requests for this, but does anyone know if there has been any sort of SharePoint web part developed that would allow me to easily view what is Down/Critical/etc in Nagios? I currently use Nagstamon on my desktop and it'd be great to have something slightly similar to integrate into our SharePoint site. Thanks, Daniel Ceola Systems Admin The Wills Group La Plata, MD 20646 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 fohnet.co.uk Fri Aug 26 15:27:18 2011 From: noc at fohnet.co.uk (Richard Clark) Date: Fri, 26 Aug 2011 14:27:18 +0100 Subject: Viewing Nagios Uptime/Status in SharePoint In-Reply-To: <40B7337A7D70B149A34D5A0FD9FDFA8C2A0663@twgiex.twgi.net> References: <40B7337A7D70B149A34D5A0FD9FDFA8C2A0663@twgiex.twgi.net> Message-ID: <20110826132718.GA319@fohnet.co.uk> On Fri, Aug 26, 2011 at 12:52:05PM +0000, Daniel Ceola wrote: > Hi all, > > I searched around for a bit and only found requests for this, but does anyone know if there has been any sort of SharePoint web part developed that would allow me to easily view what is Down/Critical/etc in Nagios? I currently use Nagstamon on my desktop and it'd be great to have something slightly similar to integrate into our SharePoint site. > Not sure on the nagios front, but Icinga has got a nice REST API.. -- Richard Clark richard at fohnet.co.uk -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 haseeb at carepvtltd.com Fri Aug 26 15:10:31 2011 From: haseeb at carepvtltd.com (Muhammad Haseeb) Date: Fri, 26 Aug 2011 18:10:31 +0500 Subject: Problem Executing Passive Checks In-Reply-To: <70D7A4219FE365439DA53582BA6D8F2E4DEE1A21@HCSD-MAIL2> References: <2CCF24B11EA3054D9965D3F5E1D27C1C02E58DEB86CB@1aurora.care.com> <2CCF24B11EA3054D9965D3F5E1D27C1C02E770F03CD3@1aurora.care.com> <70D7A4219FE365439DA53582BA6D8F2E4DEE1A21@HCSD-MAIL2> Message-ID: <2CCF24B11EA3054D9965D3F5E1D27C1C02E770F03CE0@1aurora.care.com> Yes, I used terminal as root user and from GUI script executed logged in nagios.log file. From: Martin Hugo [mailto:Martin_Hugo at hboe.org] Sent: Friday, August 26, 2011 5:52 PM To: 'Nagios Users List' Subject: Re: [Nagios-users] Problem Executing Passive Checks A GUI instigated check may run under a different username than that used in a terminal script. Were you root in terminal? Marty From: Muhammad Haseeb [mailto:haseeb at carepvtltd.com] Sent: Friday, August 26, 2011 8:05 AM To: Nagios Users List Subject: Re: [Nagios-users] Problem Executing Passive Checks Can anyone solve my problem. I am waiting for reply. From: Muhammad Haseeb [mailto:haseeb at carepvtltd.com] Sent: Thursday, August 25, 2011 2:37 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem Executing Passive Checks Hi I want to get information for hosts and services when user needs it using Service Command - Re-schedule the next check of this service in Nagios GUI. I write submit command in commands.cfg and in services.cfg I define passive service which is used that command as check command. I used the sample script provided by Nagios for sending commands to Nagios. Script successfully execute in terminal but when I initiate from Nagios GUI using Reschedule Service Command, it gets executed and after that it gets to OK state with (null) plugin output every time as shown in below nagios logs. I used the nagios 3.2.2, nagios pugins 1.4.15 and Fedora 12 32bit. Following is the configuration, nagios log file and sample scripts. Commands.cfg define command{ command_name passive_check command_line /$USER1$/submit_check_result $HOSTNAME$ "$SERVICEDESC$" $ARG1$ } Services.cfg define service { use generic-service ; your template host_name anjum service_description passive_test is_volatile 1 ; every change is logged ... max_check_attempts 1 ; a change is after only 1 try ... active_checks_enabled 0 ; unset template's default ... passive_checks_enabled 1 ; ditto ... check_freshness 0 freshness_threshold 300 notification_options n ; no notifications ... check_command passive_check } Sample Script echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` Log file [1314265019] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;anjum;passive_test;1314265018 [1314265019] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;anjum;passive_test;1;haseeb [1314265029] PASSIVE SERVICE CHECK: anjum;passive_test;1;haseeb [1314265029] SERVICE ALERT: anjum;passive_test;WARNING;HARD;1;haseeb [1314265029] SERVICE ALERT: anjum;passive_test;OK;HARD;1;(null) [1314265236] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;anjum;passive_test;1314265235 [1314265236] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;anjum;passive_test;1;haseeb [1314265239] PASSIVE SERVICE CHECK: anjum;passive_test;1;haseeb [1314265239] SERVICE ALERT: anjum;passive_test;WARNING;HARD;1;haseeb [1314265239] SERVICE ALERT: anjum;passive_test;OK;HARD;1;(null) As mention in above log, after executing my passive check, service alert is raised and suddenly another service alert with OK state and (null) plugin output is raised and visible in Nagios GUI. Looking forward for quick response. Thanks. Regards Muhammad Haseeb Software Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 Fri Aug 26 15:56:17 2011 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Fri, 26 Aug 2011 13:56:17 +0000 Subject: Problem Executing Passive Checks In-Reply-To: <2CCF24B11EA3054D9965D3F5E1D27C1C02E770F03CE0@1aurora.care.com> References: <2CCF24B11EA3054D9965D3F5E1D27C1C02E58DEB86CB@1aurora.care.com> <2CCF24B11EA3054D9965D3F5E1D27C1C02E770F03CD3@1aurora.care.com> <70D7A4219FE365439DA53582BA6D8F2E4DEE1A21@HCSD-MAIL2> <2CCF24B11EA3054D9965D3F5E1D27C1C02E770F03CE0@1aurora.care.com> Message-ID: <70D7A4219FE365439DA53582BA6D8F2E4DEE1AEF@HCSD-MAIL2> Try the check from terminal as the same user as GUI and see what happens. Marty From: Muhammad Haseeb [mailto:haseeb at carepvtltd.com] Sent: Friday, August 26, 2011 9:11 AM To: Nagios Users List Subject: Re: [Nagios-users] Problem Executing Passive Checks Yes, I used terminal as root user and from GUI script executed logged in nagios.log file. From: Martin Hugo [mailto:Martin_Hugo at hboe.org] Sent: Friday, August 26, 2011 5:52 PM To: 'Nagios Users List' Subject: Re: [Nagios-users] Problem Executing Passive Checks A GUI instigated check may run under a different username than that used in a terminal script. Were you root in terminal? Marty From: Muhammad Haseeb [mailto:haseeb at carepvtltd.com] Sent: Friday, August 26, 2011 8:05 AM To: Nagios Users List Subject: Re: [Nagios-users] Problem Executing Passive Checks Can anyone solve my problem. I am waiting for reply. From: Muhammad Haseeb [mailto:haseeb at carepvtltd.com] Sent: Thursday, August 25, 2011 2:37 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem Executing Passive Checks Hi I want to get information for hosts and services when user needs it using Service Command - Re-schedule the next check of this service in Nagios GUI. I write submit command in commands.cfg and in services.cfg I define passive service which is used that command as check command. I used the sample script provided by Nagios for sending commands to Nagios. Script successfully execute in terminal but when I initiate from Nagios GUI using Reschedule Service Command, it gets executed and after that it gets to OK state with (null) plugin output every time as shown in below nagios logs. I used the nagios 3.2.2, nagios pugins 1.4.15 and Fedora 12 32bit. Following is the configuration, nagios log file and sample scripts. Commands.cfg define command{ command_name passive_check command_line /$USER1$/submit_check_result $HOSTNAME$ "$SERVICEDESC$" $ARG1$ } Services.cfg define service { use generic-service ; your template host_name anjum service_description passive_test is_volatile 1 ; every change is logged ... max_check_attempts 1 ; a change is after only 1 try ... active_checks_enabled 0 ; unset template's default ... passive_checks_enabled 1 ; ditto ... check_freshness 0 freshness_threshold 300 notification_options n ; no notifications ... check_command passive_check } Sample Script echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` Log file [1314265019] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;anjum;passive_test;1314265018 [1314265019] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;anjum;passive_test;1;haseeb [1314265029] PASSIVE SERVICE CHECK: anjum;passive_test;1;haseeb [1314265029] SERVICE ALERT: anjum;passive_test;WARNING;HARD;1;haseeb [1314265029] SERVICE ALERT: anjum;passive_test;OK;HARD;1;(null) [1314265236] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;anjum;passive_test;1314265235 [1314265236] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;anjum;passive_test;1;haseeb [1314265239] PASSIVE SERVICE CHECK: anjum;passive_test;1;haseeb [1314265239] SERVICE ALERT: anjum;passive_test;WARNING;HARD;1;haseeb [1314265239] SERVICE ALERT: anjum;passive_test;OK;HARD;1;(null) As mention in above log, after executing my passive check, service alert is raised and suddenly another service alert with OK state and (null) plugin output is raised and visible in Nagios GUI. Looking forward for quick response. Thanks. Regards Muhammad Haseeb Software Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 mail at catsnest.co.uk Fri Aug 26 17:02:46 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Fri, 26 Aug 2011 16:02:46 +0100 Subject: Nagios Cluster with Load Balancing and High Availability In-Reply-To: <20110826143508.Horde.JmINUVwlEB5OV2HEuyZG9VA@mail.linuz.in> References: <20110826143508.Horde.JmINUVwlEB5OV2HEuyZG9VA@mail.linuz.in> Message-ID: On Fri, Aug 26, 2011 at 10:05 AM, Aravind M D wrote: > Hi > > I need to configure two physical servers as active-active cluster and > configure Loadbalancing with High availabiltiy for Nagios. > > Can somebody help me how to achieve this. > > I have checked some of loadbalancing modules like mod_gearmen, merlin and > DNX. If any one knows about the difference between these modules please let > me know. Have a look at Merlin / Ninja, yo will find them on the OP5 site... http://www.op5.org/community/plugin-inventory/op5-projects/merlin Id suggest using the latest version from git over the posted version on the site though. Ritchie, -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> > > Rgds, > Aravind M D > ------------------------------------------------------------------------------ > EMC VNX: the world's simplest storage, starting under $10K > The only unified storage solution that offers unified management > Up to 160% more powerful than alternatives and 25% more efficient. > Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users 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 > ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users 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 stan.laughlin at gmail.com Fri Aug 26 18:06:10 2011 From: stan.laughlin at gmail.com (Stan Laughlin) Date: Fri, 26 Aug 2011 10:06:10 -0600 Subject: how to change nagiosadmin password - forgot it Message-ID: Folks, I have a Nagios installation on a RedHat enterprise system. I deployed and successfully logged to the Nagios system several months ago. Then was pulled to other projects. Now I can get back to the Nagios thing. I happily displays the web site login. I can not remember the nagiosadmin password. I can find sites telling me how to create a new account w/a related password but I don't think I need a new account. I just need the password. Is there a method for simply changing the password for the existing nagiosadmin account? The file showing user and encrypted password is located here: /usr/local/nagios/etc/htpasswd.users Thanks for any assistance. stan -- stan.laughlin at gmail.com "*I'm not suddenly a dirty old man. I've been practicing for years*." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 jim at jimavery.me.uk Fri Aug 26 18:18:31 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 26 Aug 2011 17:18:31 +0100 Subject: how to change nagiosadmin password - forgot it In-Reply-To: References: Message-ID: On 26 August 2011 17:06, Stan Laughlin wrote: > Folks, > I have a Nagios installation on a RedHat enterprise system. > I deployed and successfully logged to the Nagios system several months ago. > Then was pulled to other projects.? Now I can get back to the Nagios thing. > > I happily displays the web site login. > I can not remember the nagiosadmin password. > > I can find sites telling me how to create a new account w/a related password > but I don't think I need a new account.? I just need the password. > > Is there a method for simply changing the password for the existing > nagiosadmin account? htpasswd /usr/local/nagios/etc/htpasswd.users nagiosadmin ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users 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 Aug 26 18:20:23 2011 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Fri, 26 Aug 2011 11:20:23 -0500 Subject: how to change nagiosadmin password - forgot it In-Reply-To: References: Message-ID: htpasswd /usr/local/Nagios/etc/htpasswd.users nagiosadmin or htpasswd2 depend on verison From: Stan Laughlin [mailto:stan.laughlin at gmail.com] Sent: Friday, August 26, 2011 11:06 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] how to change nagiosadmin password - forgot it Folks, I have a Nagios installation on a RedHat enterprise system. I deployed and successfully logged to the Nagios system several months ago. Then was pulled to other projects. Now I can get back to the Nagios thing. I happily displays the web site login. I can not remember the nagiosadmin password. I can find sites telling me how to create a new account w/a related password but I don't think I need a new account. I just need the password. Is there a method for simply changing the password for the existing nagiosadmin account? The file showing user and encrypted password is located here: /usr/local/nagios/etc/htpasswd.users Thanks for any assistance. stan -- stan.laughlin at gmail.com "I'm not suddenly a dirty old man. I've been practicing for years." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 stan.laughlin at gmail.com Fri Aug 26 18:33:15 2011 From: stan.laughlin at gmail.com (Stan Laughlin) Date: Fri, 26 Aug 2011 10:33:15 -0600 Subject: how to change nagiosadmin password - forgot it In-Reply-To: References: Message-ID: Worked fine. Wanted '-c' option. Thanks much. stan On Fri, Aug 26, 2011 at 10:20 AM, Edwin Zoeller wrote: > htpasswd /usr/local/Nagios/etc/htpasswd.users nagiosadmin or htpasswd2 > depend on verison**** > > ** ** > > *From:* Stan Laughlin [mailto:stan.laughlin at gmail.com] > *Sent:* Friday, August 26, 2011 11:06 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] how to change nagiosadmin password - forgot it** > ** > > ** ** > > Folks, > I have a Nagios installation on a RedHat enterprise system. > I deployed and successfully logged to the Nagios system several months ago. > Then was pulled to other projects. Now I can get back to the Nagios thing. > > I happily displays the web site login. > I can not remember the nagiosadmin password. > > I can find sites telling me how to create a new account w/a related > password but I don't think I need a new account. I just need the password. > > Is there a method for simply changing the password for the existing > nagiosadmin account? > > The file showing user and encrypted password is located here: > /usr/local/nagios/etc/htpasswd.users > > Thanks for any assistance. > stan > > -- > stan.laughlin at gmail.com > "*I'm not suddenly a dirty old man. I've been practicing for years*."**** > > > ------------------------------------------------------------------------------ > EMC VNX: the world's simplest storage, starting under $10K > The only unified storage solution that offers unified management > Up to 160% more powerful than alternatives and 25% more efficient. > Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users 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 > -- stan.laughlin at gmail.com "*I'm not suddenly a dirty old man. I've been practicing for years*." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 haseeb at carepvtltd.com Mon Aug 29 06:50:27 2011 From: haseeb at carepvtltd.com (Muhammad Haseeb) Date: Mon, 29 Aug 2011 09:50:27 +0500 Subject: Problem Executing Passive Checks In-Reply-To: <70D7A4219FE365439DA53582BA6D8F2E4DEE1AEF@HCSD-MAIL2> References: <2CCF24B11EA3054D9965D3F5E1D27C1C02E58DEB86CB@1aurora.care.com> <2CCF24B11EA3054D9965D3F5E1D27C1C02E770F03CD3@1aurora.care.com> <70D7A4219FE365439DA53582BA6D8F2E4DEE1A21@HCSD-MAIL2> <2CCF24B11EA3054D9965D3F5E1D27C1C02E770F03CE0@1aurora.care.com> <70D7A4219FE365439DA53582BA6D8F2E4DEE1AEF@HCSD-MAIL2> Message-ID: <2CCF24B11EA3054D9965D3F5E1D27C1C02ED871A68AB@1aurora.care.com> In terminal logged in as nagios, check executed successfully but problem arise when I reschedule the service and it gets to OK state. Is there any problem in executing custom checks using GUI. How can I execute custom checks from GUI. Looking forward to your reply. Regards Muhammad Haseeb From: Martin Hugo [mailto:Martin_Hugo at hboe.org] Sent: Friday, August 26, 2011 6:56 PM To: 'Nagios Users List' Subject: Re: [Nagios-users] Problem Executing Passive Checks Try the check from terminal as the same user as GUI and see what happens. Marty From: Muhammad Haseeb [mailto:haseeb at carepvtltd.com] Sent: Friday, August 26, 2011 9:11 AM To: Nagios Users List Subject: Re: [Nagios-users] Problem Executing Passive Checks Yes, I used terminal as root user and from GUI script executed logged in nagios.log file. From: Martin Hugo [mailto:Martin_Hugo at hboe.org] Sent: Friday, August 26, 2011 5:52 PM To: 'Nagios Users List' Subject: Re: [Nagios-users] Problem Executing Passive Checks A GUI instigated check may run under a different username than that used in a terminal script. Were you root in terminal? Marty From: Muhammad Haseeb [mailto:haseeb at carepvtltd.com] Sent: Friday, August 26, 2011 8:05 AM To: Nagios Users List Subject: Re: [Nagios-users] Problem Executing Passive Checks Can anyone solve my problem. I am waiting for reply. From: Muhammad Haseeb [mailto:haseeb at carepvtltd.com] Sent: Thursday, August 25, 2011 2:37 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem Executing Passive Checks Hi I want to get information for hosts and services when user needs it using Service Command - Re-schedule the next check of this service in Nagios GUI. I write submit command in commands.cfg and in services.cfg I define passive service which is used that command as check command. I used the sample script provided by Nagios for sending commands to Nagios. Script successfully execute in terminal but when I initiate from Nagios GUI using Reschedule Service Command, it gets executed and after that it gets to OK state with (null) plugin output every time as shown in below nagios logs. I used the nagios 3.2.2, nagios pugins 1.4.15 and Fedora 12 32bit. Following is the configuration, nagios log file and sample scripts. Commands.cfg define command{ command_name passive_check command_line /$USER1$/submit_check_result $HOSTNAME$ "$SERVICEDESC$" $ARG1$ } Services.cfg define service { use generic-service ; your template host_name anjum service_description passive_test is_volatile 1 ; every change is logged ... max_check_attempts 1 ; a change is after only 1 try ... active_checks_enabled 0 ; unset template's default ... passive_checks_enabled 1 ; ditto ... check_freshness 0 freshness_threshold 300 notification_options n ; no notifications ... check_command passive_check } Sample Script echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` Log file [1314265019] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;anjum;passive_test;1314265018 [1314265019] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;anjum;passive_test;1;haseeb [1314265029] PASSIVE SERVICE CHECK: anjum;passive_test;1;haseeb [1314265029] SERVICE ALERT: anjum;passive_test;WARNING;HARD;1;haseeb [1314265029] SERVICE ALERT: anjum;passive_test;OK;HARD;1;(null) [1314265236] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;anjum;passive_test;1314265235 [1314265236] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;anjum;passive_test;1;haseeb [1314265239] PASSIVE SERVICE CHECK: anjum;passive_test;1;haseeb [1314265239] SERVICE ALERT: anjum;passive_test;WARNING;HARD;1;haseeb [1314265239] SERVICE ALERT: anjum;passive_test;OK;HARD;1;(null) As mention in above log, after executing my passive check, service alert is raised and suddenly another service alert with OK state and (null) plugin output is raised and visible in Nagios GUI. Looking forward for quick response. Thanks. Regards Muhammad Haseeb Software Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev -------------- 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 Mon Aug 29 11:12:41 2011 From: ae at op5.se (Andreas Ericsson) Date: Mon, 29 Aug 2011 11:12:41 +0200 Subject: Nagios Cluster with Load Balancing and High Availability In-Reply-To: <20110826143508.Horde.JmINUVwlEB5OV2HEuyZG9VA@mail.linuz.in> References: <20110826143508.Horde.JmINUVwlEB5OV2HEuyZG9VA@mail.linuz.in> Message-ID: <4E5B5809.3070808@op5.se> On 08/26/2011 11:05 AM, Aravind M D wrote: > Hi > > I need to configure two physical servers as active-active cluster and > configure Loadbalancing with High availabiltiy for Nagios. > > Can somebody help me how to achieve this. > > I have checked some of loadbalancing modules like mod_gearmen, merlin and > DNX. If any one knows about the difference between these modules please let > me know. > If you want loadbalancing with takeover capabilities, Merlin is your only choice. The other two rely on a single Nagios instance to do scheduling and notifications. If that instance crashes, mod_gearman and DNX can't help you get any info at all. It might be possible to couple them so that mod_gearman and Merlin work together, but you'd be entering unknown territory with that mix and I would be quite surprised if it worked completely without problems the first time you try it. -- 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. ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users 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 werner at aloah-from-hell.de Mon Aug 29 20:00:48 2011 From: werner at aloah-from-hell.de (werner at aloah-from-hell.de) Date: Mon, 29 Aug 2011 20:00:48 +0200 Subject: snmpwalk is working, check_snmp is not ? Message-ID: <4E5BD3D0.8050104@aloah-from-hell.de> Hi everybody, i have a little problem with the check_snmp-Plugin that i do not understand so far. I'm currently trying to montitor Palo-Alto-Firewalls. I'm able to retrieve information via snmpwalk from the firewall: root at nagios:# snmpwalk -v 2c -c public 192.168.2.1 1.3.6.1.4.1.25461.2.1.2.3.3 iso.3.6.1.4.1.25461.2.1.2.3.3.0 = INTEGER: 591 If i try doing the same via the Nagios Check-Plugin check_snmp i get: root at nagios:# /usr/lib/nagios/plugins/check_snmp -H 192.168.2.1 -P 2c -C public -o 1.3.6.1.4.1.25461.2.1.2.3.3 External command error: Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: iso.3.6.1.4.1.25461.2.1.2.3.3 What the heck? Why do I actually get information via snmpwalk but not via check_snmp? Any hints? Thanks, Werner ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users 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 werner at aloah-from-hell.de Mon Aug 29 20:06:34 2011 From: werner at aloah-from-hell.de (werner at aloah-from-hell.de) Date: Mon, 29 Aug 2011 20:06:34 +0200 Subject: snmpwalk is working, check_snmp is not ? In-Reply-To: <4E5BD3D0.8050104@aloah-from-hell.de> References: <4E5BD3D0.8050104@aloah-from-hell.de> Message-ID: <4E5BD52A.2030900@aloah-from-hell.de> Hi again, now I get: root at nagios:~# /usr/lib/nagios/plugins/check_snmp -H 192.168.2.1 -P2c -o 1.3.6.1.4.1.25461.2.1.2.1.11.0 -w 100 -c 200 No valid data returned Any hints? Thanks, Werner ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users 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 Aug 29 20:16:13 2011 From: Martin_Hugo at hboe.org (Martin Hugo) Date: Mon, 29 Aug 2011 18:16:13 +0000 Subject: snmpwalk is working, check_snmp is not ? In-Reply-To: <4E5BD52A.2030900@aloah-from-hell.de> References: <4E5BD3D0.8050104@aloah-from-hell.de> <4E5BD52A.2030900@aloah-from-hell.de> Message-ID: <70D7A4219FE365439DA53582BA6D8F2E4DEE2DE7@HCSD-MAIL2> Have you made any changes since you compiled the plugins? I saw this a while ago with a different plugin (unfortunately I can't remember what I had changed) but a recompile of the plugins fixed it. Marty -----Original Message----- From: werner at aloah-from-hell.de [mailto:werner at aloah-from-hell.de] Sent: Monday, August 29, 2011 2:07 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] snmpwalk is working, check_snmp is not ? Hi again, now I get: root at nagios:~# /usr/lib/nagios/plugins/check_snmp -H 192.168.2.1 -P2c -o 1.3.6.1.4.1.25461.2.1.2.1.11.0 -w 100 -c 200 No valid data returned Any hints? Thanks, Werner ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users 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 ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users 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 werner at aloah-from-hell.de Mon Aug 29 20:48:27 2011 From: werner at aloah-from-hell.de (werner at aloah-from-hell.de) Date: Mon, 29 Aug 2011 20:48:27 +0200 Subject: snmpwalk is working, check_snmp is not ? In-Reply-To: <70D7A4219FE365439DA53582BA6D8F2E4DEE2DE7@HCSD-MAIL2> References: <4E5BD3D0.8050104@aloah-from-hell.de> <4E5BD52A.2030900@aloah-from-hell.de> <70D7A4219FE365439DA53582BA6D8F2E4DEE2DE7@HCSD-MAIL2> Message-ID: <4E5BDEFB.7030809@aloah-from-hell.de> Hi, check_snmp plugin is delivered by Debian Squeeze respectively I didn't compile it by hand. Howsoever it's working now. I just needed to add a ".0" to the OID and now it's working. Thanks, Werner Am 29.08.11 20:16, schrieb Martin Hugo: > Have you made any changes since you compiled the plugins? I saw this a while ago with a different plugin (unfortunately I can't remember what I had changed) but a recompile of the plugins fixed it. > > Marty > > -----Original Message----- > From: werner at aloah-from-hell.de [mailto:werner at aloah-from-hell.de] > Sent: Monday, August 29, 2011 2:07 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] snmpwalk is working, check_snmp is not ? > > Hi again, > > now I get: > > root at nagios:~# /usr/lib/nagios/plugins/check_snmp -H 192.168.2.1 -P2c -o 1.3.6.1.4.1.25461.2.1.2.1.11.0 -w 100 -c 200 > No valid data returned > > Any hints? Thanks, > Werner > > ------------------------------------------------------------------------------ > EMC VNX: the world's simplest storage, starting under $10K > The only unified storage solution that offers unified management > Up to 160% more powerful than alternatives and 25% more efficient. > Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users 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 > > > > ------------------------------------------------------------------------------ > EMC VNX: the world's simplest storage, starting under $10K > The only unified storage solution that offers unified management > Up to 160% more powerful than alternatives and 25% more efficient. > Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users 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 ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ 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 Tue Aug 30 02:28:39 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Tue, 30 Aug 2011 09:28:39 +0900 Subject: Ping massive number of hosts Message-ID: <201108300028.AA04196@S2007337.jp.fujitsu.com> Hello all. I would like to hear opinion from everyone whom had experience of pinging massive number of hosts. Version of nagios we are considering to use is v 3.2.3 on RHEL 5 64 bit machine. The number of hosts we are trying to check is 3000. Since, we have never done this amount of hosts before, I am concerned of the load on nagios by executing active ping service checks. Has anyone had done this amount of active ping checks? Or , should we use the fping periodically by crontab and send as passive checks Thaks! Yu Watanabe ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ 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 Tue Aug 30 11:56:04 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 30 Aug 2011 11:56:04 +0200 Subject: Ping massive number of hosts In-Reply-To: <201108300028.AA04196@S2007337.jp.fujitsu.com> References: <201108300028.AA04196@S2007337.jp.fujitsu.com> Message-ID: <4E5CB3B4.7050901@op5.se> On 08/30/2011 02:28 AM, Yu Watanabe wrote: > Hello all. > > I would like to hear opinion from everyone whom had experience > of pinging massive number of hosts. > > Version of nagios we are considering to use is v 3.2.3 on RHEL 5 64 bit machine. > The number of hosts we are trying to check is 3000. > Consider the number of checks per second instead. 3000 checks spread over 5 minutes is only 10 per second, and that's basically nothing unless you're using hardware from 1964. > > Has anyone had done this amount of active ping checks? Or , > should we use the fping periodically by crontab and send as > passive checks > Just use check_icmp so you avoid fork()'ing an extra time to execute the ping binary from a program and you should be just fine. -- 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. ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ 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 Tue Aug 30 12:39:27 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Tue, 30 Aug 2011 19:39:27 +0900 Subject: Ping massive number of hosts In-Reply-To: <4E5CB3B4.7050901@op5.se> References: <4E5CB3B4.7050901@op5.se> Message-ID: <201108301039.AA04210@S2007337.jp.fujitsu.com> Hello Andreas. Thank you very much for the reply. I will be aware of your advice. Thanks, Yu Watanabe Andreas Ericsson ????????: >On 08/30/2011 02:28 AM, Yu Watanabe wrote: >> Hello all. >> >> I would like to hear opinion from everyone whom had experience >> of pinging massive number of hosts. >> >> Version of nagios we are considering to use is v 3.2.3 on RHEL 5 64 bit machine. >> The number of hosts we are trying to check is 3000. >> > >Consider the number of checks per second instead. 3000 checks >spread over 5 minutes is only 10 per second, and that's basically >nothing unless you're using hardware from 1964. > >> >> Has anyone had done this amount of active ping checks? Or , >> should we use the fping periodically by crontab and send as >> passive checks >> > >Just use check_icmp so you avoid fork()'ing an extra time to >execute the ping binary from a program and you should be just >fine. > >-- >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. > ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ 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 trm.nagios at gmail.com Tue Aug 30 13:21:33 2011 From: trm.nagios at gmail.com (trm asn) Date: Tue, 30 Aug 2011 16:51:33 +0530 Subject: Observing latency Message-ID: Hi List, Below is my stats and nagios.cfg details. HOST SCHEDULING INFORMATION --------------------------- Total hosts: 1815 Total scheduled hosts: 1814 Host inter-check delay method: SMART Average host check interval: 60.00 sec Host inter-check delay: 0.03 sec Max host check spread: 15 min First scheduled check: Tue Aug 30 16:42:02 2011 Last scheduled check: Tue Aug 30 16:43:01 2011 SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 6492 Total scheduled services: 6486 Service inter-check delay method: SMART Average service check interval: 1808.88 sec Inter-check delay: 0.28 sec Interleave factor method: SMART Average services per host: 3.58 Service interleave factor: 4 Max service check spread: 35 min First scheduled check: Tue Aug 30 16:49:34 2011 Last scheduled check: Tue Aug 30 17:18:03 2011 CHECK PROCESSING INFORMATION ---------------------------- Check result reaper interval: 4 sec Max concurrent service checks: Unlimited PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. NAGIOS.CFG ----------------------------- status_update_interval=10 check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd external_command_buffer_slots=4096 lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp temp_path=/tmp event_broker_options=-1 log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 log_passive_checks=1 service_inter_check_delay_method=s max_service_check_spread=35 service_interleave_factor=s host_inter_check_delay_method=s max_host_check_spread=15 max_concurrent_checks=0 check_result_reaper_frequency=5 service_reaper_frequency=4 max_check_result_reaper_time=15 check_result_path=/usr/local/nagios/var/spool/checkresults max_check_result_file_age=3600 cached_host_check_horizon=15 cached_service_check_horizon=15 enable_predictive_host_dependency_checks=1 enable_predictive_service_dependency_checks=1 soft_state_dependencies=0 auto_reschedule_checks=0 auto_rescheduling_interval=30 auto_rescheduling_window=180 sleep_time=0.25 service_check_timeout=120 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=60 use_retained_program_state=1 use_retained_scheduling_info=1 retained_host_attribute_mask=0 retained_service_attribute_mask=0 retained_process_host_attribute_mask=0 retained_process_service_attribute_mask=0 retained_contact_host_attribute_mask=0 retained_contact_service_attribute_mask=0 interval_length=60 use_aggressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 execute_host_checks=1 accept_passive_host_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 obsess_over_services=0 obsess_over_hosts=0 translate_passive_host_checks=0 passive_host_checks_are_soft=0 check_for_orphaned_services=1 check_for_orphaned_hosts=1 check_service_freshness=1 service_freshness_check_interval=60 check_host_freshness=0 host_freshness_check_interval=60 additional_freshness_latency=15 enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us p1_file=/usr/local/nagios/bin/p1.pl enable_embedded_perl=1 use_embedded_perl_implicitly=1 illegal_object_name_chars=`~!$%^*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 daemon_dumps_core=0 use_large_installation_tweaks=0 enable_environment_macros=1 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev -------------- 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 Tue Aug 30 15:54:33 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 30 Aug 2011 15:54:33 +0200 Subject: Observing latency In-Reply-To: References: Message-ID: <4E5CEB99.902@op5.se> On 08/30/2011 01:21 PM, trm asn wrote: > Hi List, > > Below is my stats and nagios.cfg details. > Great. Now we just need your questions and we might be able to provide some answers. http://catb.org/~esr/faqs/smart-questions.html > HOST SCHEDULING INFORMATION > --------------------------- > Total hosts: 1815 > Total scheduled hosts: 1814 > Host inter-check delay method: SMART > Average host check interval: 60.00 sec > Host inter-check delay: 0.03 sec > Max host check spread: 15 min > First scheduled check: Tue Aug 30 16:42:02 2011 > Last scheduled check: Tue Aug 30 16:43:01 2011 > > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 6492 > Total scheduled services: 6486 > Service inter-check delay method: SMART > Average service check interval: 1808.88 sec > Inter-check delay: 0.28 sec > Interleave factor method: SMART > Average services per host: 3.58 > Service interleave factor: 4 > Max service check spread: 35 min > First scheduled check: Tue Aug 30 16:49:34 2011 > Last scheduled check: Tue Aug 30 17:18:03 2011 > > > CHECK PROCESSING INFORMATION > ---------------------------- > Check result reaper interval: 4 sec > Max concurrent service checks: Unlimited > > > PERFORMANCE SUGGESTIONS > ----------------------- > I have no suggestions - things look okay. > > > NAGIOS.CFG > ----------------------------- > > status_update_interval=10 > check_external_commands=1 > command_check_interval=-1 > command_file=/usr/local/nagios/var/rw/nagios.cmd > external_command_buffer_slots=4096 > lock_file=/usr/local/nagios/var/nagios.lock > temp_file=/usr/local/nagios/var/nagios.tmp > temp_path=/tmp > event_broker_options=-1 > log_rotation_method=d > log_archive_path=/usr/local/nagios/var/archives > use_syslog=1 > log_notifications=1 > log_service_retries=1 > log_host_retries=1 > log_event_handlers=1 > log_initial_states=1 > log_external_commands=1 > log_passive_checks=1 > service_inter_check_delay_method=s > max_service_check_spread=35 > service_interleave_factor=s > host_inter_check_delay_method=s > max_host_check_spread=15 > max_concurrent_checks=0 > check_result_reaper_frequency=5 > service_reaper_frequency=4 > max_check_result_reaper_time=15 > check_result_path=/usr/local/nagios/var/spool/checkresults > max_check_result_file_age=3600 > cached_host_check_horizon=15 > cached_service_check_horizon=15 > enable_predictive_host_dependency_checks=1 > enable_predictive_service_dependency_checks=1 > soft_state_dependencies=0 > auto_reschedule_checks=0 > auto_rescheduling_interval=30 > auto_rescheduling_window=180 > sleep_time=0.25 > service_check_timeout=120 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 > retain_state_information=1 > state_retention_file=/usr/local/nagios/var/retention.dat > retention_update_interval=60 > use_retained_program_state=1 > use_retained_scheduling_info=1 > retained_host_attribute_mask=0 > retained_service_attribute_mask=0 > retained_process_host_attribute_mask=0 > retained_process_service_attribute_mask=0 > retained_contact_host_attribute_mask=0 > retained_contact_service_attribute_mask=0 > interval_length=60 > use_aggressive_host_checking=0 > execute_service_checks=1 > accept_passive_service_checks=1 > execute_host_checks=1 > accept_passive_host_checks=1 > enable_notifications=1 > enable_event_handlers=1 > process_performance_data=0 > obsess_over_services=0 > obsess_over_hosts=0 > translate_passive_host_checks=0 > passive_host_checks_are_soft=0 > check_for_orphaned_services=1 > check_for_orphaned_hosts=1 > check_service_freshness=1 > service_freshness_check_interval=60 > check_host_freshness=0 > host_freshness_check_interval=60 > additional_freshness_latency=15 > enable_flap_detection=1 > low_service_flap_threshold=5.0 > high_service_flap_threshold=20.0 > low_host_flap_threshold=5.0 > high_host_flap_threshold=20.0 > date_format=us > p1_file=/usr/local/nagios/bin/p1.pl > enable_embedded_perl=1 > use_embedded_perl_implicitly=1 > illegal_object_name_chars=`~!$%^*|'"<>?,()= > illegal_macro_output_chars=`~$&|'"<> > use_regexp_matching=0 > use_true_regexp_matching=0 > daemon_dumps_core=0 > use_large_installation_tweaks=0 > enable_environment_macros=1 > > > > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > > > > _______________________________________________ > 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 -- 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. ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ 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 mike-nagios at 5dninja.net Tue Aug 30 22:36:03 2011 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Tue, 30 Aug 2011 13:36:03 -0700 Subject: extraneous data in status file, for custom macro Message-ID: <4E5D49B3.7090703@5dninja.net> I'm seeing odd data in my status file, for custom macros: _ENVIRONMENT=0;prod _PORTFOLIO=0;Internal _PRODUCT=0;monitoring _PURPOSE=0;extnagios _SOURCE=0;ASDB/Rolemaps Where are the 0; bits coming from, and what do they signify? -- Mike Lindsey ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ 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 trm.nagios at gmail.com Wed Aug 31 10:13:16 2011 From: trm.nagios at gmail.com (trm asn) Date: Wed, 31 Aug 2011 13:43:16 +0530 Subject: Observing latency In-Reply-To: References: Message-ID: On Tue, Aug 30, 2011 at 4:51 PM, trm asn wrote: > Hi List, > > Below is my stats and nagios.cfg details. > > HOST SCHEDULING INFORMATION > --------------------------- > Total hosts: 1815 > Total scheduled hosts: 1814 > Host inter-check delay method: SMART > Average host check interval: 60.00 sec > Host inter-check delay: 0.03 sec > Max host check spread: 15 min > First scheduled check: Tue Aug 30 16:42:02 2011 > Last scheduled check: Tue Aug 30 16:43:01 2011 > > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 6492 > Total scheduled services: 6486 > Service inter-check delay method: SMART > Average service check interval: 1808.88 sec > Inter-check delay: 0.28 sec > Interleave factor method: SMART > Average services per host: 3.58 > Service interleave factor: 4 > Max service check spread: 35 min > First scheduled check: Tue Aug 30 16:49:34 2011 > Last scheduled check: Tue Aug 30 17:18:03 2011 > > > CHECK PROCESSING INFORMATION > ---------------------------- > Check result reaper interval: 4 sec > Max concurrent service checks: Unlimited > > > PERFORMANCE SUGGESTIONS > ----------------------- > I have no suggestions - things look okay. > > > NAGIOS.CFG > ----------------------------- > > status_update_interval=10 > check_external_commands=1 > command_check_interval=-1 > command_file=/usr/local/nagios/var/rw/nagios.cmd > external_command_buffer_slots=4096 > lock_file=/usr/local/nagios/var/nagios.lock > temp_file=/usr/local/nagios/var/nagios.tmp > temp_path=/tmp > event_broker_options=-1 > log_rotation_method=d > log_archive_path=/usr/local/nagios/var/archives > use_syslog=1 > log_notifications=1 > log_service_retries=1 > log_host_retries=1 > log_event_handlers=1 > log_initial_states=1 > log_external_commands=1 > log_passive_checks=1 > service_inter_check_delay_method=s > max_service_check_spread=35 > service_interleave_factor=s > host_inter_check_delay_method=s > max_host_check_spread=15 > max_concurrent_checks=0 > check_result_reaper_frequency=5 > service_reaper_frequency=4 > max_check_result_reaper_time=15 > check_result_path=/usr/local/nagios/var/spool/checkresults > max_check_result_file_age=3600 > cached_host_check_horizon=15 > cached_service_check_horizon=15 > enable_predictive_host_dependency_checks=1 > enable_predictive_service_dependency_checks=1 > soft_state_dependencies=0 > auto_reschedule_checks=0 > auto_rescheduling_interval=30 > auto_rescheduling_window=180 > sleep_time=0.25 > service_check_timeout=120 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 > retain_state_information=1 > state_retention_file=/usr/local/nagios/var/retention.dat > retention_update_interval=60 > use_retained_program_state=1 > use_retained_scheduling_info=1 > retained_host_attribute_mask=0 > retained_service_attribute_mask=0 > retained_process_host_attribute_mask=0 > retained_process_service_attribute_mask=0 > retained_contact_host_attribute_mask=0 > retained_contact_service_attribute_mask=0 > interval_length=60 > use_aggressive_host_checking=0 > execute_service_checks=1 > accept_passive_service_checks=1 > execute_host_checks=1 > accept_passive_host_checks=1 > enable_notifications=1 > enable_event_handlers=1 > process_performance_data=0 > obsess_over_services=0 > obsess_over_hosts=0 > translate_passive_host_checks=0 > passive_host_checks_are_soft=0 > check_for_orphaned_services=1 > check_for_orphaned_hosts=1 > check_service_freshness=1 > service_freshness_check_interval=60 > check_host_freshness=0 > host_freshness_check_interval=60 > additional_freshness_latency=15 > enable_flap_detection=1 > low_service_flap_threshold=5.0 > high_service_flap_threshold=20.0 > low_host_flap_threshold=5.0 > high_host_flap_threshold=20.0 > date_format=us > p1_file=/usr/local/nagios/bin/p1.pl > enable_embedded_perl=1 > use_embedded_perl_implicitly=1 > illegal_object_name_chars=`~!$%^*|'"<>?,()= > illegal_macro_output_chars=`~$&|'"<> > use_regexp_matching=0 > use_true_regexp_matching=0 > daemon_dumps_core=0 > use_large_installation_tweaks=0 > enable_environment_macros=1 > > Hi List , According the "http://nagios.sourceforge.net/docs/3_0/tuning.html" , I have done some changes. Eventhough I am observing HIGH latency on host & service checks. I have Nagios 3.2.1 . Please suggest , how I can reduce the latency .. /\ dE -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev -------------- 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 jim at jimavery.me.uk Wed Aug 31 13:19:47 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 31 Aug 2011 12:19:47 +0100 Subject: Observing latency In-Reply-To: References: Message-ID: On 31 August 2011 09:13, trm asn wrote: > Please suggest , how I can reduce the latency .. One not-so-obvious thing I found that reduces latency on my heavily-loaded system is to stop and then start the Nagios daemon (don't just do a reload) once a week or so. ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ 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 trm.nagios at gmail.com Wed Aug 31 19:25:50 2011 From: trm.nagios at gmail.com (trm asn) Date: Wed, 31 Aug 2011 22:55:50 +0530 Subject: Passive host count In-Reply-To: References: Message-ID: On Wed, Aug 24, 2011 at 11:01 AM, trm asn wrote: > Hi List, > > I have one Active+Passive checks nagios server . Under tac.cgi , the > passive host checks count is 0. > > # Active Host / Service Checks: 584 / 44 > # Passive Host / Service Checks: 0 / 2544 > > > Is there any workaround to make this fix. > > > /\ > dE > > Hi List, What is the way to get the passive host check count in tac.cgi . /\ dE -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev -------------- 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 michael.friedrich at univie.ac.at Wed Aug 31 19:33:23 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Wed, 31 Aug 2011 19:33:23 +0200 Subject: Passive host count In-Reply-To: References: Message-ID: <4E5E7063.3020109@univie.ac.at> trm asn wrote: > > > On Wed, Aug 24, 2011 at 11:01 AM, trm asn > wrote: > > Hi List, > > I have one Active+Passive checks nagios server . Under tac.cgi , > the passive host checks count is 0. > > # Active Host / Service Checks: 584 / 44 > # Passive Host / Service Checks: 0 / 2544 > > > Is there any workaround to make this fix. > > > /\ > dE > > Hi List, > > What is the way to get the passive host check count in tac.cgi . rewrite the c code. > > /\ > dE > > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > > > _______________________________________________ > 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 -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 mobile: +43 664 60277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev -------------- 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