From frnkblk at iname.com Fri Feb 1 05:35:32 2013 From: frnkblk at iname.com (Frank Bulk) Date: Thu, 31 Jan 2013 22:35:32 -0600 Subject: check_http fails on Cisco ASA Message-ID: <013901ce0035$92558d30$b700a790$@iname.com> Does anyone have check_http working against the SSL VPN GUI interface of a Cisco ASA? Whenever I check it always closes, but wget and curl work fine: ===================================================== nagios:/usr/lib/nagios/plugins# ./check_http -H -S -v GET / HTTP/1.1 User-Agent: check_http/v1.4.15 (nagios-plugins 1.4.15) Connection: close Host: CRITICAL - Socket timeout after 10 seconds nagios:/usr/lib/nagios/plugins# ===================================================== nagios:/usr/lib/nagios/plugins# wget https:// --no-check-certificate --2013-01-31 22:31:39-- https:/// Connecting to :443... connected. WARNING: cannot verify ?s certificate, issued by ?/CN=/unstructuredName=? Self-signed certificate encountered. WARNING: certificate common name ??? HTTP request sent, awaiting response... 302 Object Moved Location: /+CSCOE+/logon.html [following] --2013-01-31 22:31:39-- https:///+CSCOE+/logon.html Connecting to :443... connected. WARNING: cannot verify ?s certificate, issued by ?/CN=/unstructuredName=? Self-signed certificate encountered. WARNING: certificate common name ??? HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ?index.html? [ <=> ] 4,514 --.-K/s in 0.03s 2013-01-31 22:31:39 (158 KB/s) - ?index.html? nagios:/usr/lib/nagios/plugins# ===================================================== nagios:/usr/lib/nagios/plugins# curl https:// --insecure -v * About to connect() to port 443 (#0) * Trying ... connected * Connected to () port 443 (#0) * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * SSLv3, TLS handshake, Client hello (1): * SSLv3, TLS handshake, Server hello (2): * SSLv3, TLS handshake, CERT (11): * SSLv3, TLS handshake, Server finished (14): * SSLv3, TLS handshake, Client key exchange (16): * SSLv3, TLS change cipher, Client hello (1): * SSLv3, TLS handshake, Finished (20): * SSLv3, TLS change cipher, Client hello (1): * SSLv3, TLS handshake, Finished (20): * SSL connection using RC4-SHA * Server certificate: * subject: CN=; unstructuredName= * start date: 2010-02-03 00:10:30 GMT * expire date: 2020-02-01 00:10:30 GMT * common name: (does not match '') * issuer: CN=; unstructuredName= * SSL certificate verify result: self signed certificate (18), continuing anyway. > GET / HTTP/1.1 > User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.5 > Host: > Accept: */* > * HTTP 1.0, assume close after body < HTTP/1.0 302 Object Moved < Server: Cisco AWARE 2.0 < Fri, 01 Feb 2013 04:07:54 GMT < Location: /+CSCOE+/logon.html < Set-Cookie: tg=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/ < Content-Type: text/html; charset=UTF-8 < Transfer-Encoding: chunked < Cache-Control: no-cache < Pragma: no-cache * HTTP/1.0 connection set to keep alive! < Connection: Keep-Alive < Date: * Connection #0 to host left intact * Closing connection #0 * SSLv3, TLS alert, Client hello (1): nagios:/usr/lib/nagios/plugins# ===================================================== ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrunyard at gmail.com Fri Feb 1 06:07:14 2013 From: travisrunyard at gmail.com (Travis Runyard) Date: Thu, 31 Jan 2013 21:07:14 -0800 Subject: check_http fails on Cisco ASA In-Reply-To: <013901ce0035$92558d30$b700a790$@iname.com> References: <013901ce0035$92558d30$b700a790$@iname.com> Message-ID: Have you tried check_http -I -S The -H is for hostnames On Thu, Jan 31, 2013 at 8:35 PM, Frank Bulk wrote: > Does anyone have check_http working against the SSL VPN GUI interface of a > Cisco ASA? > > Whenever I check it always closes, but wget and curl work fine: > ===================================================== > nagios:/usr/lib/nagios/plugins# ./check_http -H -S -v > GET / HTTP/1.1 > User-Agent: check_http/v1.4.15 (nagios-plugins 1.4.15) > Connection: close > Host: > > > CRITICAL - Socket timeout after 10 seconds > nagios:/usr/lib/nagios/plugins# > ===================================================== > nagios:/usr/lib/nagios/plugins# wget https:// --no-check-certificate > --2013-01-31 22:31:39-- https:/// > Connecting to :443... connected. > WARNING: cannot verify ?s certificate, issued by > ?/CN=/unstructuredName=? > > Self-signed certificate encountered. > WARNING: certificate common name ??? > > HTTP request sent, awaiting response... 302 Object Moved > Location: /+CSCOE+/logon.html [following] > --2013-01-31 22:31:39-- https:///+CSCOE+/logon.html > Connecting to :443... connected. > WARNING: cannot verify ?s certificate, issued by > ?/CN=/unstructuredName=? > > Self-signed certificate encountered. > WARNING: certificate common name ??? > > HTTP request sent, awaiting response... 200 OK > Length: unspecified [text/html] > Saving to: ?index.html? > > [ <=> > ] 4,514 --.-K/s in 0.03s > > 2013-01-31 22:31:39 (158 KB/s) - ?index.html? > > nagios:/usr/lib/nagios/plugins# > ===================================================== > nagios:/usr/lib/nagios/plugins# curl https:// --insecure -v > * About to connect() to port 443 (#0) > * Trying ... connected > * Connected to () port 443 (#0) > * successfully set certificate verify locations: > * CAfile: none > CApath: /etc/ssl/certs > * SSLv3, TLS handshake, Client hello (1): > * SSLv3, TLS handshake, Server hello (2): > * SSLv3, TLS handshake, CERT (11): > * SSLv3, TLS handshake, Server finished (14): > * SSLv3, TLS handshake, Client key exchange (16): > * SSLv3, TLS change cipher, Client hello (1): > * SSLv3, TLS handshake, Finished (20): > * SSLv3, TLS change cipher, Client hello (1): > * SSLv3, TLS handshake, Finished (20): > * SSL connection using RC4-SHA > * Server certificate: > * subject: CN=; unstructuredName= > * start date: 2010-02-03 00:10:30 GMT > * expire date: 2020-02-01 00:10:30 GMT > * common name: (does not match '') > * issuer: CN=; unstructuredName= > * SSL certificate verify result: self signed certificate (18), > continuing anyway. > > GET / HTTP/1.1 > > User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 > OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.5 > > Host: > > Accept: */* > > > * HTTP 1.0, assume close after body > < HTTP/1.0 302 Object Moved > < Server: Cisco AWARE 2.0 > < > Fri, 01 Feb 2013 04:07:54 GMT > < Location: /+CSCOE+/logon.html > < Set-Cookie: tg=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/ > < Content-Type: text/html; charset=UTF-8 > < Transfer-Encoding: chunked > < Cache-Control: no-cache > < Pragma: no-cache > * HTTP/1.0 connection set to keep alive! > < Connection: Keep-Alive > < Date: > > * Connection #0 to host left intact > * Closing connection #0 > * SSLv3, TLS alert, Client hello (1): > nagios:/usr/lib/nagios/plugins# > ===================================================== > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan -------------- 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 Fri Feb 1 06:38:18 2013 From: frnkblk at iname.com (Frank Bulk) Date: Thu, 31 Jan 2013 23:38:18 -0600 Subject: check_http fails on Cisco ASA In-Reply-To: References: <013901ce0035$92558d30$b700a790$@iname.com> Message-ID: <014a01ce003e$56de61b0$049b2510$@iname.com> That was it ? thanks! Frank From: Travis Runyard [mailto:travisrunyard at gmail.com] Sent: Thursday, January 31, 2013 11:07 PM To: Nagios Users List Subject: Re: [Nagios-users] check_http fails on Cisco ASA Have you tried check_http -I -S The -H is for hostnames On Thu, Jan 31, 2013 at 8:35 PM, Frank Bulk > wrote: Does anyone have check_http working against the SSL VPN GUI interface of a Cisco ASA? Whenever I check it always closes, but wget and curl work fine: ===================================================== nagios:/usr/lib/nagios/plugins# ./check_http -H -S -v GET / HTTP/1.1 User-Agent: check_http/v1.4.15 (nagios-plugins 1.4.15) Connection: close Host: CRITICAL - Socket timeout after 10 seconds nagios:/usr/lib/nagios/plugins# ===================================================== nagios:/usr/lib/nagios/plugins# wget https:// --no-check-certificate --2013-01-31 22:31:39-- https:// / Connecting to :443... connected. WARNING: cannot verify ?s certificate, issued by ?/CN=/unstructuredName=? Self-signed certificate encountered. WARNING: certificate common name ??? HTTP request sent, awaiting response... 302 Object Moved Location: /+CSCOE+/logon.html [following] --2013-01-31 22:31:39-- https:// /+CSCOE+/logon.html Connecting to :443... connected. WARNING: cannot verify ?s certificate, issued by ?/CN=/unstructuredName=? Self-signed certificate encountered. WARNING: certificate common name ??? HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: ?index.html? [ <=> ] 4,514 --.-K/s in 0.03s 2013-01-31 22:31:39 (158 KB/s) - ?index.html? nagios:/usr/lib/nagios/plugins# ===================================================== nagios:/usr/lib/nagios/plugins# curl https:// --insecure -v * About to connect() to port 443 (#0) * Trying ... connected * Connected to () port 443 (#0) * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * SSLv3, TLS handshake, Client hello (1): * SSLv3, TLS handshake, Server hello (2): * SSLv3, TLS handshake, CERT (11): * SSLv3, TLS handshake, Server finished (14): * SSLv3, TLS handshake, Client key exchange (16): * SSLv3, TLS change cipher, Client hello (1): * SSLv3, TLS handshake, Finished (20): * SSLv3, TLS change cipher, Client hello (1): * SSLv3, TLS handshake, Finished (20): * SSL connection using RC4-SHA * Server certificate: * subject: CN=; unstructuredName= * start date: 2010-02-03 00:10:30 GMT * expire date: 2020-02-01 00:10:30 GMT * common name: (does not match '') * issuer: CN=; unstructuredName= * SSL certificate verify result: self signed certificate (18), continuing anyway. > GET / HTTP/1.1 > User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.5 > Host: > Accept: */* > * HTTP 1.0, assume close after body < HTTP/1.0 302 Object Moved < Server: Cisco AWARE 2.0 < Fri, 01 Feb 2013 04:07:54 GMT < Location: /+CSCOE+/logon.html < Set-Cookie: tg=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/ < Content-Type: text/html; charset=UTF-8 < Transfer-Encoding: chunked < Cache-Control: no-cache < Pragma: no-cache * HTTP/1.0 connection set to keep alive! < Connection: Keep-Alive < Date: * Connection #0 to host left intact * Closing connection #0 * SSLv3, TLS alert, Client hello (1): nagios:/usr/lib/nagios/plugins# ===================================================== ---------------------------------------------------------------------------- -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan -------------- 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 goetz.reinicke at filmakademie.de Mon Feb 4 17:20:21 2013 From: goetz.reinicke at filmakademie.de (=?ISO-8859-15?Q?G=F6tz_Reinicke_-_IT_Koordinator?=) Date: Mon, 04 Feb 2013 17:20:21 +0100 Subject: Question regarding Availability Report Message-ID: <510FDFC5.6020500@filmakademie.de> Hi, we run Nagios for a some years now and only from time to time I had to generate Host Availability Reports. Now that I updated to the latest 3.4.4 (we hat 3.4.1 installed) I wanted to generate some reports for host availability in 2012. So I select the host, set "Report Period:" to "Last Year" and leave the other options untouched. Hitting the create report button fires up the avail.cgi on the nagios system ad it is doing some work with up to 99% of CPU. But after some time, the command is ended the webpage is still empty. No report. No error or anything else. So my question: What might be wrong? What might I check/adjust? Thanks for any hint and suggestion. Regards . G?tz -- G?tz Reinicke IT-Koordinator Tel. +49 7141 969 82 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzender des Aufsichtsrats: J?rgen Walter MdL Staatssekret?r im Ministerium f?r Wissenschaft, Forschung und Kunst Baden-W?rttemberg Gesch?ftsf?hrer: Prof. Thomas Schadt -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5174 bytes Desc: S/MIME Kryptografische Unterschrift URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan -------------- 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 kaushalshriyan at gmail.com Mon Feb 4 18:09:01 2013 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Mon, 4 Feb 2013 22:39:01 +0530 Subject: RPM Binaries for Nagios Version 3.4.4 and NRPE 2.14 on CentOS 5.8 Message-ID: Hi, Any documentation on generating rpm packages for CentOS 5.8 from nagios.spec file located inside after extracting source file for both the links http://www.nagios.org/news/77-news-announcements/346-nagios-core-344-releasedand http://www.nagios.org/news/77-news-announcements/345-nrpe-214-released ? Regards, Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan -------------- 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 paxindustria at gmail.com Mon Feb 4 18:14:42 2013 From: paxindustria at gmail.com (Alaric) Date: Mon, 4 Feb 2013 12:14:42 -0500 Subject: Log Rotations Issue In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B854175861F@HC-EXMBX03.herefordshire.gov.uk> References: <2CD65BBB-C9DD-46A8-9A17-105A94EA4BEF@gmail.com> <7CA580B59C1ABD45B4614ED90D4C7B854175861F@HC-EXMBX03.herefordshire.gov.uk> Message-ID: <881AF2DD-A594-4C23-A963-D575909E9B7E@gmail.com> On Jan 31, 2013, at 12:53 PM, "Randal, Phil" wrote: > I'm seeing the same issue here :-( > > Phil > > > -----Original Message----- > From: Alaric [mailto:paxindustria at gmail.com] > Sent: 31 January 2013 15:57 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Log Rotations Issue > > Hi, > > I was hoping that someone on this list might have some insight to an issue that I recently ran into after upgrading my Nagios core installation to 3.4.4 (out of the EPEL Repo) After upgrading, log rotation stopped on one of my two servers, and perfdata_file_processing_commands stopped working, and whatever Job that sets 'CURRENT HOST STATE' in the main nagios logs stopped working. > > I upgraded both my Dev server, and my Production server, and only my Prod servers seems to have the issue. Both run the same code, and both have the same configs. > I'm confident the configs as the same, as both get the configs deployed via puppet. I've googled around quite a bit, and haven't had any luck figuring it out. Has anyone seen anything similar? > My feeling, based on the behavior of my Dev server is that it's not a problem with the code, but that something got "stuck" but I'm darned if I can figure out what. I've cleared out the logs, restarted nagios, rebooted the server. Audited configs and checked the debug output. > > Any help is much appreciated! > > > -a > > I just wanted to bump this..... I was thinking I might delete retention.dat and let nagios recreate it... although I can't think of why that would have much effect.... can anyone think of anything I can do to trace back the root cause? It seems like most of the other cache or temp files get recreated each time nagios starts. Thanks, -a ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From javier.garces at ehu.es Tue Feb 5 08:32:50 2013 From: javier.garces at ehu.es (Javier Garces Asensio) Date: Tue, 5 Feb 2013 08:32:50 +0100 Subject: Question regarding Availability Report In-Reply-To: <510FDFC5.6020500@filmakademie.de> References: <510FDFC5.6020500@filmakademie.de> Message-ID: <11220.6590049484$1360049777@news.gmane.org> ?Perhaps a timeout in the web server because the archive logs are too long and the avail.cgi script needs a lot of time to process them? Good luck -----Mensaje original----- De: G?tz Reinicke - IT Koordinator [mailto:goetz.reinicke at filmakademie.de] Enviado el: lunes, 04 de febrero de 2013 17:20 Para: nagios-users at lists.sourceforge.net Asunto: [Nagios-users] Question regarding Availability Report Hi, we run Nagios for a some years now and only from time to time I had to generate Host Availability Reports. Now that I updated to the latest 3.4.4 (we hat 3.4.1 installed) I wanted to generate some reports for host availability in 2012. So I select the host, set "Report Period:" to "Last Year" and leave the other options untouched. Hitting the create report button fires up the avail.cgi on the nagios system ad it is doing some work with up to 99% of CPU. But after some time, the command is ended the webpage is still empty. No report. No error or anything else. So my question: What might be wrong? What might I check/adjust? Thanks for any hint and suggestion. Regards . G?tz -- G?tz Reinicke IT-Koordinator Tel. +49 7141 969 82 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzender des Aufsichtsrats: J?rgen Walter MdL Staatssekret?r im Ministerium f?r Wissenschaft, Forschung und Kunst Baden-W?rttemberg Gesch?ftsf?hrer: Prof. Thomas Schadt ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Tue Feb 5 17:22:37 2013 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 5 Feb 2013 16:22:37 +0000 Subject: check_snmp syntax question Message-ID: <4E194A85C5A6CF4E88D0E7635770CAD51362DEEE@PHSX10MB6.partners.org> Hello -- I am testing out check_snmp on our printers, and I have been successful using the following syntax: ./check_snmp -H -C public -o sysDescr.0 which has provided the following output: SNMP OK - HP ETHERNET MULTI-ENVIRONMENT,ROM R.22.01,JETDIRECT,JD95,EEPROM R.25.57,CIDATE 05/02/2006 | What I am trying to do now is get the status of the printer with the goal of generating output that would indicate if toner is low, or if other components are in need of service. What would be the correct syntax to use to accomplish this? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjcarr at gmail.com Tue Feb 5 19:01:37 2013 From: sjcarr at gmail.com (Steven Carr) Date: Tue, 5 Feb 2013 18:01:37 +0000 Subject: check_snmp syntax question In-Reply-To: <4E194A85C5A6CF4E88D0E7635770CAD51362DEEE@PHSX10MB6.partners.org> References: <4E194A85C5A6CF4E88D0E7635770CAD51362DEEE@PHSX10MB6.partners.org> Message-ID: Have you tried the actual HP JetDirect plugin instead of trying to reinvent the wheel? check_hpjd? http://nagiosplugins.org/man/check_hpjd Steve On 5 February 2013 16:22, Kaplan, Andrew H. wrote: > Hello -- > > I am testing out check_snmp on our printers, and I have been successful > using the following syntax: > > ./check_snmp -H -C public -o sysDescr.0 > > which has provided the following output: > > SNMP OK - HP ETHERNET MULTI-ENVIRONMENT,ROM R.22.01,JETDIRECT,JD95,EEPROM > R.25.57,CIDATE 05/02/2006 | > > What I am trying to do now is get the status of the printer with the goal of > generating output that would > indicate if toner is low, or if other components are in need of service. > What would be the correct syntax > to use to accomplish this? > > Thanks. > > > > > The information in this e-mail is intended only for the person to whom it is > addressed. If you believe this e-mail was sent to you in error and the > e-mail > contains patient information, please contact the Partners Compliance > HelpLine at > http://www.partners.org/complianceline . If the e-mail was sent to you in > error > but does not contain patient information, please contact the sender and > properly > dispose of the e-mail. > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Tue Feb 5 19:09:52 2013 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 5 Feb 2013 18:09:52 +0000 Subject: check_snmp syntax question In-Reply-To: References: <4E194A85C5A6CF4E88D0E7635770CAD51362DEEE@PHSX10MB6.partners.org> Message-ID: <4E194A85C5A6CF4E88D0E7635770CAD51362E1F9@PHSX10MB6.partners.org> Hello -- I did try the check_hpjd plugin. While it did provide some information concerning an issue with a test printer, it did not go in-depth as to what was the actual error condition. I want to see what check_snmp would provide, and compare that to the output generated by the check_hpjd plugin. -----Original Message----- From: Steven Carr [mailto:sjcarr at gmail.com] Sent: Tuesday, February 05, 2013 1:02 PM To: Nagios Users List Subject: Re: [Nagios-users] check_snmp syntax question Have you tried the actual HP JetDirect plugin instead of trying to reinvent the wheel? check_hpjd? http://nagiosplugins.org/man/check_hpjd Steve On 5 February 2013 16:22, Kaplan, Andrew H. wrote: > Hello -- > > I am testing out check_snmp on our printers, and I have been successful > using the following syntax: > > ./check_snmp -H -C public -o sysDescr.0 > > which has provided the following output: > > SNMP OK - HP ETHERNET MULTI-ENVIRONMENT,ROM R.22.01,JETDIRECT,JD95,EEPROM > R.25.57,CIDATE 05/02/2006 | > > What I am trying to do now is get the status of the printer with the goal of > generating output that would > indicate if toner is low, or if other components are in need of service. > What would be the correct syntax > to use to accomplish this? > > Thanks. > > > > > The information in this e-mail is intended only for the person to whom it is > addressed. If you believe this e-mail was sent to you in error and the > e-mail > contains patient information, please contact the Partners Compliance > HelpLine at > http://www.partners.org/complianceline . If the e-mail was sent to you in > error > but does not contain patient information, please contact the sender and > properly > dispose of the e-mail. > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alperen at elhan.org Wed Feb 6 10:54:12 2013 From: alperen at elhan.org (Osman Alperen Elhan) Date: Wed, 06 Feb 2013 11:54:12 +0200 Subject: Defining commands on server side Message-ID: <51122844.9040000@elhan.org> Is there a way to define commands onserverside to execute them in agent? There are lots of agents i don't want to define commands in each agents. Thanks. -- O. Alperen Elhan - http://elhan.org Hacettepe University - Computer Engineering -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sunil at sunil.cc Wed Feb 6 12:53:27 2013 From: sunil at sunil.cc (Sunil Sankar) Date: Wed, 6 Feb 2013 17:23:27 +0530 Subject: Defining commands on server side In-Reply-To: <51122844.9040000@elhan.org> References: <51122844.9040000@elhan.org> Message-ID: This how we have done in our environment ,we have used arguments this helps in defining whatever you want in the server side and on the client side compile nrpe with arguments Regards Sunil On Wed, Feb 6, 2013 at 3:24 PM, Osman Alperen Elhan wrote: > Is there a way to define commands on server side to execute them in > agent? There are lots of agents i don't want to define commands in each > agents. Thanks. > > -- > O. Alperen Elhan - http://elhan.org > Hacettepe University - Computer Engineering > > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Regards Sunil Sankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb -------------- 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 alperen at elhan.org Wed Feb 6 13:09:10 2013 From: alperen at elhan.org (Osman Alperen Elhan) Date: Wed, 06 Feb 2013 14:09:10 +0200 Subject: Defining commands on server side In-Reply-To: References: <51122844.9040000@elhan.org> Message-ID: <511247E6.4020204@elhan.org> On Wed 06 Feb 2013 01:53:27 PM EET, Sunil Sankar wrote: > This how we have done in our environment ,we have used arguments this > helps in defining whatever you want in the server side and on the > client side compile nrpe with arguments > > > Regards > Sunil > > On Wed, Feb 6, 2013 at 3:24 PM, Osman Alperen Elhan > wrote: > > Is there a way to define commands onserverside to execute them in > agent? There are lots of agents i don't want to define commands in > each agents. Thanks. > > -- > O. Alperen Elhan - http://elhan.org > Hacettepe University - Computer Engineering > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- > Regards > Sunil Sankar > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null I installed nagios and agents from repository. Is there another way to achieve this? -- O. Alperen Elhan - http://elhan.org Hacettepe University - Computer Engineering ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paxindustria at gmail.com Wed Feb 6 16:43:28 2013 From: paxindustria at gmail.com (Alaric) Date: Wed, 6 Feb 2013 10:43:28 -0500 Subject: Log Rotations Issue In-Reply-To: <7CA580B59C1ABD45B4614ED90D4C7B854175861F@HC-EXMBX03.herefordshire.gov.uk> References: <2CD65BBB-C9DD-46A8-9A17-105A94EA4BEF@gmail.com> <7CA580B59C1ABD45B4614ED90D4C7B854175861F@HC-EXMBX03.herefordshire.gov.uk> Message-ID: <4214E1DE-5FDC-40A0-9F33-81EBB0813C30@gmail.com> On Jan 31, 2013, at 12:53 PM, "Randal, Phil" wrote: > I'm seeing the same issue here :-( > > Phil > > Phil, Stopping Nagios completely, and then flushing retention.dat worked for me. I stopped Nagios, NSCA, and NRPE, then did a "cat > retention.dat " then restarted all of the nagios related services. (reloaded xinetd too which is where mk_livestatus runs for me) The following night, log rotations worked and Current status updated correctly. I have no real idea what this worked, but it did. I hope it helps you! -a ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Wed Feb 6 21:50:05 2013 From: work at paul.dubuc.org (Paul Dubuc) Date: Wed, 06 Feb 2013 15:50:05 -0500 Subject: "distributable" downtime delete commands? In-Reply-To: <510A85DB.70109@paul.dubuc.org> References: <510A85DB.70109@paul.dubuc.org> Message-ID: <5112C1FD.2060605@paul.dubuc.org> Paul Dubuc wrote: > Among the enhancements listed for Nagios 3.3.1: > > 3.3.1. - 07/25/2011 ENHANCEMENTS > > * Downtime delete commands made "distributable" by deleting by host group > name, host name or start time/comment (Opsview team) > > Where are these commands documented? I don't see them in the online > documentation: > > http://old.nagios.org/developerinfo/externalcommands/commandlist.php?category_id=6&version_id=0&btnSubmit=Update > > only lists delete commands that require a downtime ID. > For anyone else who's interested, here are the external command formats for these new commands. They're very handy for automating downtime deletion since downtime IDs are hard to obtain for that purpose. Values in in brackets are optional and serve to make filtering more specific: DEL_DOWNTIME_BY_HOSTGROUP_NAME;;[];[];[];[] DEL_DOWNTIME_BY_HOST_NAME;;[];[];[] DEL_DOWNTIME_BY_START_TIME_COMMENT;;[] DEL_DOWNTIME_BY_START_TIME_COMMENT; ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Wed Feb 6 23:34:28 2013 From: work at paul.dubuc.org (Paul Dubuc) Date: Wed, 06 Feb 2013 17:34:28 -0500 Subject: [Nagios-users] "distributable" downtime delete commands? In-Reply-To: <5112C1FD.2060605@paul.dubuc.org> References: <510A85DB.70109@paul.dubuc.org> <5112C1FD.2060605@paul.dubuc.org> Message-ID: <5112DA74.1050904@paul.dubuc.org> Paul Dubuc wrote: > Paul Dubuc wrote: >> Among the enhancements listed for Nagios 3.3.1: >> >> 3.3.1. - 07/25/2011 ENHANCEMENTS >> >> * Downtime delete commands made "distributable" by deleting by host group >> name, host name or start time/comment (Opsview team) >> >> Where are these commands documented? I don't see them in the online >> documentation: >> >> http://old.nagios.org/developerinfo/externalcommands/commandlist.php?category_id=6&version_id=0&btnSubmit=Update >> >> only lists delete commands that require a downtime ID. >> > > For anyone else who's interested, here are the external command formats for > these new commands. They're very handy for automating downtime deletion since > downtime IDs are hard to obtain for that purpose. Values in in brackets are > optional and serve to make filtering more specific: > > > DEL_DOWNTIME_BY_HOSTGROUP_NAME;;[];[];[];[] > > DEL_DOWNTIME_BY_HOST_NAME;;[];[];[] > > DEL_DOWNTIME_BY_START_TIME_COMMENT;;[] > > DEL_DOWNTIME_BY_START_TIME_COMMENT; This last one should be: DEL_DOWNTIME_BY_START_TIME_COMMENT;; You must have either a , or a , or both with DEL_DOWNTIME_BY_START_TIME_COMMENT. ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb From kaushalshriyan at gmail.com Thu Feb 7 02:36:57 2013 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Thu, 7 Feb 2013 07:06:57 +0530 Subject: RPM Binaries for Nagios Version 3.4.4 and NRPE 2.14 on CentOS 5.8 In-Reply-To: References: Message-ID: On Mon, Feb 4, 2013 at 10:39 PM, Kaushal Shriyan wrote: > Hi, > > Any documentation on generating rpm packages for CentOS 5.8 from > nagios.spec file located inside after extracting source file for both the > links > http://www.nagios.org/news/77-news-announcements/346-nagios-core-344-releasedand > http://www.nagios.org/news/77-news-announcements/345-nrpe-214-released ? > > Hi, Can someone please reply for my earlier post to this mailing list? Regards, Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb -------------- 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 phil.randal at hoopleltd.co.uk Thu Feb 7 13:42:53 2013 From: phil.randal at hoopleltd.co.uk (Randal, Phil) Date: Thu, 7 Feb 2013 12:42:53 +0000 Subject: Log Rotations Issue In-Reply-To: <4214E1DE-5FDC-40A0-9F33-81EBB0813C30@gmail.com> References: <2CD65BBB-C9DD-46A8-9A17-105A94EA4BEF@gmail.com> <7CA580B59C1ABD45B4614ED90D4C7B854175861F@HC-EXMBX03.herefordshire.gov.uk> <4214E1DE-5FDC-40A0-9F33-81EBB0813C30@gmail.com> Message-ID: <7CA580B59C1ABD45B4614ED90D4C7B854176EBC4@HC-EXMBX03.herefordshire.gov.uk> Hmm, does Nagios clean out old entries in retention.dat on a daily basis? And it's this process which is failing, and it's not log-related? I'm unlikeky to find any time to check the source in the immediate future, alas. Phil -----Original Message----- From: Alaric [mailto:paxindustria at gmail.com] Sent: 06 February 2013 15:43 To: Nagios Users List Subject: Re: [Nagios-users] Log Rotations Issue On Jan 31, 2013, at 12:53 PM, "Randal, Phil" wrote: > I'm seeing the same issue here :-( > > Phil > > Phil, Stopping Nagios completely, and then flushing retention.dat worked for me. I stopped Nagios, NSCA, and NRPE, then did a "cat > retention.dat " then restarted all of the nagios related services. (reloaded xinetd too which is where mk_livestatus runs for me) The following night, log rotations worked and Current status updated correctly. I have no real idea what this worked, but it did. I hope it helps you! -a ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ?Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. monitors its email service. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it. ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palli at ok.is Fri Feb 8 04:32:01 2013 From: palli at ok.is (=?utf-8?Q?P=C3=A1ll_Gu=C3=B0j=C3=B3n_Sigur=C3=B0sson?=) Date: Fri, 08 Feb 2013 03:32:01 -0000 (GMT) Subject: "distributable" downtime delete commands? In-Reply-To: <5112C1FD.2060605@paul.dubuc.org> References: <5112C1FD.2060605@paul.dubuc.org> Message-ID: Thanks a lot Paul, We have been achieving the same goals with pynag scripts and DEL_SVC_DOWNTIME command. Is there anyone on the list that might take it into their hands to keep documentation up to date, maybe even write a routine in nagios to ask for every supported external command, so that external scripts know what external commands are supported ? The pynag team depends on the documentation to generate library functions, but we have found a few glitches in both external commands docs and the nagios.cfg docs. Anyone willing to help us on "getting it right" deserves a beer. Kind regards, Pall Sigurdsson ----- Original Message ----- From: "Paul Dubuc" To: "Nagios Users List" Cc: "Nagios Developers List" Sent: Wednesday, February 6, 2013 8:50:05 PM Subject: Re: [Nagios-users] "distributable" downtime delete commands? Paul Dubuc wrote: > Among the enhancements listed for Nagios 3.3.1: > > 3.3.1. - 07/25/2011 ENHANCEMENTS > > * Downtime delete commands made "distributable" by deleting by host group > name, host name or start time/comment (Opsview team) > > Where are these commands documented? I don't see them in the online > documentation: > > http://old.nagios.org/developerinfo/externalcommands/commandlist.php?category_id=6&version_id=0&btnSubmit=Update > > only lists delete commands that require a downtime ID. > For anyone else who's interested, here are the external command formats for these new commands. They're very handy for automating downtime deletion since downtime IDs are hard to obtain for that purpose. Values in in brackets are optional and serve to make filtering more specific: DEL_DOWNTIME_BY_HOSTGROUP_NAME;;[];[];[];[] DEL_DOWNTIME_BY_HOST_NAME;;[];[];[] DEL_DOWNTIME_BY_START_TIME_COMMENT;;[] DEL_DOWNTIME_BY_START_TIME_COMMENT; ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f at zz.de Fri Feb 8 15:34:34 2013 From: f at zz.de (Florian Lohoff) Date: Fri, 8 Feb 2013 15:34:34 +0100 Subject: passive check in tactical overview / freshness Message-ID: <20130208143434.GA22058@pax.zz.de> Hi, i think i have read the FAQ and most stuff i could google. Using a passive check with active_check_enabled 0 causes it to be a red flag in the tactival overview as a disabled check. Making it a active_check_enabled 1 and time_period none makes it not honor the freshness_threshhold ... So either its broken^Wconfusing in the web frontend or its broken. Has anyone made patches? Does Nagios 4 fix this? Flo -- Florian Lohoff f at zz.de -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 828 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb -------------- 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 Sat Feb 9 11:48:29 2013 From: ae at op5.se (Andreas Ericsson) Date: Sat, 09 Feb 2013 11:48:29 +0100 Subject: "distributable" downtime delete commands? In-Reply-To: References: Message-ID: <5116297D.8000108@op5.se> On 02/08/2013 04:32 AM, P?ll Gu?j?n Sigur?sson wrote: > Thanks a lot Paul, > > We have been achieving the same goals with pynag scripts and > DEL_SVC_DOWNTIME command. > > Is there anyone on the list that might take it into their hands to > keep documentation up to date, maybe even write a routine in nagios > to ask for every supported external command, so that external scripts > know what external commands are supported ? > It wouldn't be hard to build a command query-handler in Nagios that can list the available commands, along with a short description saying what it does. The same could be used with macros and other things we already have pre-compiled lists of. I've been meaning to write one that can handle external commands from users and reply with a result code to let people know how it actually went parsing, understanding and applying it anyway, so it'll get done eventually. Right now I'm working on something different though. > The pynag team depends on the documentation to generate library > functions, but we have found a few glitches in both external commands > docs and the nagios.cfg docs. Anyone willing to help us on "getting > it right" deserves a beer. > Use the code instead. The external commands are all listed in include/common.h, so sed -n 's/^#define CMD_\([A-Z_]*\).*/\1/p' will list all of them (although some of them are disabled internally, so you'll have to keep a list of those). -- 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. ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rprague at gmail.com Sun Feb 10 21:48:41 2013 From: rprague at gmail.com (Ronald Prague) Date: Sun, 10 Feb 2013 12:48:41 -0800 Subject: check_snmp_load and check_snmp_mem output (null) issue. Message-ID: So I have an odd issue. Running check_snmp_mem.pl and check_snmp_load.plfrom Manbulon's check_snmp plugins is returning (null) and I can't figure out why. (The firewall is an Astaro/Sophos UTM 320) I tried turning on debugging, this is the output: [1360352407.069695] [016.1] [pid=23937] HOST: clk_astaro, SERVICE: Firewall Load , CHECK TYPE: Active, OPTIONS: 0, SCHEDULED: Yes, RESCHEDULE: Yes, EXITED OK: Yes, RETURN CODE: 2, OUTPUT: (null) If I run the command by hand, it works fine, as the nagios user, I've also verified the nagios user has write access to /tmp just in case: nagios at monitor:/usr/local/nagios# /usr/local/nagios/libexec/ check_snmp_load.pl -H 192.168.0.2 -C public -T stand -w 25 -c 90 2 CPU, average load 5.0% < 25% : OK Here's the command: define command{ command_name check_snmp_load_v1 command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ $USER7$ -T $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$ } And the service definition: define service{ use generic-service ; Inherit values from a template host_name clk_astaro service_description Firewall Load check_command check_snmp_load_v1!stand!25!90 } $USER1$ and $USER7$ are defined in resource.cfg: $USER1$=/usr/local/nagios/libexec $USER7$=-C public The only changes to the plugin are for fixing the error for a version string, from this page: https://wiki.icinga.org/display/howtos/check_snmp Argument "v6.0.1" isn't numeric in numeric lt (<) This sources from old plugins getting a changed version string in libnet-snmp-perl. This can be fixed by replacing all occurences of the integer less than equal by the string compare 'lt'. # sed -i 's/Net::SNMP->VERSION < 4/Net::SNMP->VERSION lt 4/g' check_snmp_mem.pl Any ideas? All of the other services/checks work fine. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb -------------- 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 daniel-listas at gmx.net Mon Feb 11 12:32:45 2013 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Mon, 11 Feb 2013 08:32:45 -0300 Subject: RRD checking for high and low values Message-ID: <20130211113245.GA13602@defiant.freesoftware> Hi all! I was looking for plugins to check the values of RRD databases and found these in Nagios Exchange: http://exchange.nagios.org/directory/Plugins/Databases/RRD Unfortunately none of them seems to be established whether the thresholds are higher or lower. This would be useful if we monitor the values of a UPS, for example. I mean something like the options provided by check_lm_sensors: -l, --low specifies a check for a sensor value which is too low. Example: --low fan1=2000,1000 will give a warning if the value of the fan1 sensor drops below 2000 RPMs and a critical status if it drops below 1000 RPMs -h, --high specifies a check for a sensor value which is too high. Example: --high temp1=50,60 will give a warning if the value of the temp1 sensor reaches 50 degrees and a critical status if it reaches 60 degrees Is there a plugin for RRD having this flexibility? Thanks in advance for your reply. Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Mon Feb 11 16:12:09 2013 From: work at paul.dubuc.org (Paul Dubuc) Date: Mon, 11 Feb 2013 10:12:09 -0500 Subject: "distributable" downtime delete commands? In-Reply-To: References: Message-ID: <51190A49.1070200@paul.dubuc.org> P?ll Gu?j?n Sigur?sson wrote: > Thanks a lot Paul, > > We have been achieving the same goals with pynag scripts and > DEL_SVC_DOWNTIME command. > > Is there anyone on the list that might take it into their hands to keep > documentation up to date, maybe even write a routine in nagios to ask for > every supported external command, so that external scripts know what > external commands are supported ? > > The pynag team depends on the documentation to generate library functions, > but we have found a few glitches in both external commands docs and the > nagios.cfg docs. Anyone willing to help us on "getting it right" deserves a > beer. > > Kind regards, Pall Sigurdsson In my humble opinion, it is incumbent upon those who add new features to provide documentation for them. I was happy to help here, since I needed to know how these worked myself (and since I'm fluent in C). As Andreas pointed out, it's easy to grep the source code to find the external command names, but that is only the beginning in figuring out how the commands actually work. ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ffeijo at ffeijo.com Mon Feb 11 22:43:29 2013 From: ffeijo at ffeijo.com (Fernando Feijo) Date: Mon, 11 Feb 2013 15:43:29 -0600 Subject: check_snmp_load and check_snmp_mem output (null) issue. In-Reply-To: References: Message-ID: <375AC2E7-5A28-46B3-96EE-C9776BD690E9@ffeijo.com> Looking at the config it seems that the community string reference in the pasted command definition (-c $ARG3$) will refer to the parameter "90" from the service definition, when the manual run shown implies "90" should be the critical value, not the community string. A possible fix would be adding "!public!" in the service definition and changing the community string call to "-c $ARG4$" in the command definition. On Feb 10, 2013, at 2:48 PM, Ronald Prague wrote: > So I have an odd issue. Running check_snmp_mem.pl and check_snmp_load.pl from Manbulon's check_snmp plugins is returning (null) and I can't figure out why. > > (The firewall is an Astaro/Sophos UTM 320) > I tried turning on debugging, this is the output: > > [1360352407.069695] [016.1] [pid=23937] HOST: clk_astaro, SERVICE: Firewall Load , CHECK TYPE: Active, OPTIONS: 0, SCHEDULED: Yes, RESCHEDULE: Yes, EXITED OK: Yes, RETURN CODE: 2, OUTPUT: (null) > > > If I run the command by hand, it works fine, as the nagios user, I've also verified the nagios user has write access to /tmp just in case: > > nagios at monitor:/usr/local/nagios# /usr/local/nagios/libexec/check_snmp_load.pl -H 192.168.0.2 -C public -T stand -w 25 -c 90 > 2 CPU, average load 5.0% < 25% : OK > > > Here's the command: > > define command{ > command_name check_snmp_load_v1 > command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ $USER7$ -T $ARG1$ -w $ARG2$ -c $ARG3$ $ARG4$ > } > > > And the service definition: > > define service{ > use generic-service ; Inherit values from a template > host_name clk_astaro > service_description Firewall Load > check_command check_snmp_load_v1!stand!25!90 > } > > > $USER1$ and $USER7$ are defined in resource.cfg: > > $USER1$=/usr/local/nagios/libexec > $USER7$=-C public > > The only changes to the plugin are for fixing the error for a version string, from this page: https://wiki.icinga.org/display/howtos/check_snmp > Argument "v6.0.1" isn't numeric in numeric lt (<) > This sources from old plugins getting a changed version string in libnet-snmp-perl. This can be fixed by replacing all occurences of the integer less than equal by the string compare 'lt'. > > # sed -i 's/Net::SNMP->VERSION < 4/Net::SNMP->VERSION lt 4/g' check_snmp_mem.pl > > Any ideas? All of the other services/checks work fine. > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palli at ok.is Tue Feb 12 05:24:13 2013 From: palli at ok.is (=?utf-8?Q?P=C3=A1ll_Gu=C3=B0j=C3=B3n_Sigur=C3=B0sson?=) Date: Tue, 12 Feb 2013 04:24:13 -0000 (GMT) Subject: "distributable" downtime delete commands? In-Reply-To: <5116297D.8000108@op5.se> References: <5116297D.8000108@op5.se> Message-ID: <0356611d-dc8f-454a-8c0f-4c406478eba4@zimbra.okhysing.is> Thanks for the sed Andreas, If anyone on the list is interested i compared include.common.h from nagios-3.4.4 with the documentation at http://www.nagios.org/developerinfo/externalcommands/ and discovered the following discrepancies: External commands that are documented but not found in the source code: DISABLE_SERVICE_FLAP_DETECTION RESTART_PROGRAM SHUTDOWN_PROGRAM External commands that appear undocumented: NONE RESTART_PROCESS SHUTDOWN_PROCESS DELAY_HOST_SVC_NOTIFICATIONS CANCEL_HOST_DOWNTIME CANCEL_SVC_DOWNTIME CANCEL_ACTIVE_HOST_DOWNTIME CANCEL_PENDING_HOST_DOWNTIME CANCEL_ACTIVE_SVC_DOWNTIME CANCEL_PENDING_SVC_DOWNTIME CANCEL_ACTIVE_HOST_SVC_DOWNTIME CANCEL_PENDING_HOST_SVC_DOWNTIME FLUSH_PENDING_COMMANDS CHANGE_HOST_NOTIFICATION_TIMEPERIOD DEL_DOWNTIME_BY_HOST_NAME DEL_DOWNTIME_BY_HOSTGROUP_NAME DEL_DOWNTIME_BY_START_TIME_COMMENT CUSTOM_COMMAND I totally agree with Andreas, that it would be nice if there was a handler that could print commands, short description, and in an utopian world, the documentation would be generated from that so there is no need to maintain it manually. Cheers, Palli ----- Original Message ----- From: "Andreas Ericsson" To: "Nagios Users List" Cc: "P?ll Gu?j?n Sigur?sson" , "Nagios Developers List" Sent: Saturday, February 9, 2013 5:48:29 PM Subject: Re: [Nagios-users] "distributable" downtime delete commands? On 02/08/2013 04:32 AM, P?ll Gu?j?n Sigur?sson wrote: > Thanks a lot Paul, > > We have been achieving the same goals with pynag scripts and > DEL_SVC_DOWNTIME command. > > Is there anyone on the list that might take it into their hands to > keep documentation up to date, maybe even write a routine in nagios > to ask for every supported external command, so that external scripts > know what external commands are supported ? > It wouldn't be hard to build a command query-handler in Nagios that can list the available commands, along with a short description saying what it does. The same could be used with macros and other things we already have pre-compiled lists of. I've been meaning to write one that can handle external commands from users and reply with a result code to let people know how it actually went parsing, understanding and applying it anyway, so it'll get done eventually. Right now I'm working on something different though. > The pynag team depends on the documentation to generate library > functions, but we have found a few glitches in both external commands > docs and the nagios.cfg docs. Anyone willing to help us on "getting > it right" deserves a beer. > Use the code instead. The external commands are all listed in include/common.h, so sed -n 's/^#define CMD_\([A-Z_]*\).*/\1/p' will list all of them (although some of them are disabled internally, so you'll have to keep a list of those). -- 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. ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 12 09:58:09 2013 From: ae at op5.se (Andreas Ericsson) Date: Tue, 12 Feb 2013 09:58:09 +0100 Subject: [Nagios-users] "distributable" downtime delete commands? In-Reply-To: <0356611d-dc8f-454a-8c0f-4c406478eba4@zimbra.okhysing.is> References: <0356611d-dc8f-454a-8c0f-4c406478eba4@zimbra.okhysing.is> Message-ID: <511A0421.2090207@op5.se> On 02/12/2013 05:24 AM, P?ll Gu?j?n Sigur?sson wrote: > Thanks for the sed Andreas, > > If anyone on the list is interested i compared include.common.h from nagios-3.4.4 with the documentation at http://www.nagios.org/developerinfo/externalcommands/ and discovered the following discrepancies: > > External commands that are documented but not found in the source code: > DISABLE_SERVICE_FLAP_DETECTION This is in reality 'DISABLE_SVC_FLAP_DETECTION' > RESTART_PROGRAM > SHUTDOWN_PROGRAM > These are 'RESTART_PROCESS' and 'SHUTDOWN_PROCESS', respectively. > > External commands that appear undocumented: > NONE This is an error marker for internal use only and shouldn't be documented at all. > DELAY_HOST_SVC_NOTIFICATIONS This is currently unimplemented. > CANCEL_HOST_DOWNTIME > CANCEL_SVC_DOWNTIME > CANCEL_ACTIVE_HOST_DOWNTIME > CANCEL_PENDING_HOST_DOWNTIME > CANCEL_ACTIVE_SVC_DOWNTIME > CANCEL_PENDING_SVC_DOWNTIME > CANCEL_ACTIVE_HOST_SVC_DOWNTIME > CANCEL_PENDING_HOST_SVC_DOWNTIME These are unimplemented, as documented by comments in include/common.h A command overhaul in time for 4.1 would be a good idea. Using a hash- table to look up the command and its handler would be a very good idea indeed. Then we'd do the "insert to hash-table" thing as add_command(char *name, char *description, int (*handler)(char *cmd, char *args)) or some such and generate the help-list from that, while allowing nebs to access the same command parsing routines as the rest of Nagios. Though to be honest, I'd much rather just extend the query handler thing and let commands take key/value vectors via the socket. That way we can support multiline values properly and get rid of nonsensical attributes. > FLUSH_PENDING_COMMANDS This has no meaning anymore, and if I guess correctly it never had, as it would be impossible to submit a command that flushes all pending commands, as any command one want to flush are either already parsed and processed when we get to this command, or hasn't been picked up by the command queue yet (in Nagios 3 that is; In Nagios 4 it has absolutely zero meaning). I'll remove this. > CHANGE_HOST_NOTIFICATION_TIMEPERIOD This is undocumented for real, although its meaning should be fairly self-explanatory. > DEL_DOWNTIME_BY_HOST_NAME > DEL_DOWNTIME_BY_HOSTGROUP_NAME > DEL_DOWNTIME_BY_START_TIME_COMMENT These are the new 'distributable' downtime delete commands, which I suppose are undocumented. > CUSTOM_COMMAND > This is currently unused, to the best of my knowledge. Its intended use is for eventbroker modules that want to accept external commands. There can't really be any documentation for it, apart from whatever the module itself decides to accept as input. Since the query handler got implemented (which allows for feedback from the targeted handler), this should be considered obsolete. > I totally agree with Andreas, that it would be nice if there was a > handler that could print commands, short description, and in an > utopian world, the documentation would be generated from that so there > is no need to maintain it manually. > Well, it still needs to be maintained manually, since the description and the command template isn't going to write itself. It would just be a lot more up to date if the documentation was kept inline with the code. -- 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. ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb From support at voipbusiness.us Wed Feb 13 17:58:27 2013 From: support at voipbusiness.us (Tech Support) Date: Wed, 13 Feb 2013 11:58:27 -0500 Subject: Problem sending passive results using NSCA with multi-line output Message-ID: <007201ce0a0b$587195c0$0954c140$@us> All; I have a bunch of ( PERL ) plugins that are run passively out of CRON with the results sent to the Nagios monitoring host using NSCA. Most of them work great, and they return results on dozens of services. I'm doing it this way because instead of running dozens of plugins actively, I can run one plugin passively. The problem is I have a few that are choking when the output contains multi-line output, and I'm not sure how to get around that. Basically, my scripts look something like this: foreach my $service ( @services ) { $nsca_cmd .= "$nscahost\t$service\t$code\t$output"; }; my $retval = `$system /bin/echo -e "$nsca_cmd" | $nscaprog -H $nagioshost -c $nscacfg`; Like I said, Nagios is choking when the output contains multi-line output. Does anyone have any insight at all on how I can get around this? Any help at all would be greatly appreciated. Thanks; John Tech Support Technical Support VoIP Business Solutions 240-215-3479, ext. 305 support at voipbusiness.us -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb -------------- 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.browne at ausregistry.com.au Wed Feb 13 23:27:11 2013 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Thu, 14 Feb 2013 09:27:11 +1100 Subject: Problem sending passive results using NSCA with multi-line output In-Reply-To: <007201ce0a0b$587195c0$0954c140$@us> References: <007201ce0a0b$587195c0$0954c140$@us> Message-ID: <8CEF048B9EC83748B1517DC64EA130FB76DCF8A3D9@off-win2003-01.ausregistrygroup.local> Sadly, the way NSCA works at the moment isn't capable of doing multi-line responses (when I investigated about 6 months ago at least) as it uses the external command file (which is a single-line command/response FIFO). What I ended up doing to simulate the behaviour was to implement gearman/mod_gearman. It has a send_gearman utility that allows for multi-line passive result submissions. Stuart From: Tech Support [mailto:support at voipbusiness.us] Sent: Thursday, 14 February 2013 3:58 AM To: 'Nagios Users List' Subject: [Nagios-users] Problem sending passive results using NSCA with multi-line output All; I have a bunch of ( PERL ) plugins that are run passively out of CRON with the results sent to the Nagios monitoring host using NSCA. Most of them work great, and they return results on dozens of services. I'm doing it this way because instead of running dozens of plugins actively, I can run one plugin passively. The problem is I have a few that are choking when the output contains multi-line output, and I'm not sure how to get around that. Basically, my scripts look something like this: foreach my $service ( @services ) { $nsca_cmd .= "$nscahost\t$service\t$code\t$output"; }; my $retval = `$system /bin/echo -e "$nsca_cmd" | $nscaprog -H $nagioshost -c $nscacfg`; Like I said, Nagios is choking when the output contains multi-line output. Does anyone have any insight at all on how I can get around this? Any help at all would be greatly appreciated. Thanks; John Tech Support Technical Support VoIP Business Solutions 240-215-3479, ext. 305 support at voipbusiness.us -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb -------------- 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 holger at cis.fu-berlin.de Thu Feb 14 00:32:15 2013 From: holger at cis.fu-berlin.de (Holger =?iso-8859-1?Q?Wei=DF?=) Date: Thu, 14 Feb 2013 00:32:15 +0100 Subject: Problem sending passive results using NSCA with multi-line output In-Reply-To: <007201ce0a0b$587195c0$0954c140$@us> References: <007201ce0a0b$587195c0$0954c140$@us> Message-ID: <20130213233214.GC701712@zedat.fu-berlin.de> * Tech Support [2013-02-13 11:58]: > foreach my $service ( @services ) { > > > > $nsca_cmd .= "$nscahost\t$service\t$code\t$output"; > > }; > > my $retval = `$system /bin/echo -e "$nsca_cmd" | $nscaprog -H $nagioshost -c > $nscacfg`; > > Like I said, Nagios is choking when the output contains multi-line output. This looks like you're using a send_nsca version < 2.9, where multiple check results were seperated using newlines. In that case, you'll have to replace each newline character within multi-line output with the literal string '\n'. With NSCA >= 2.9, multiple check results are seperated using ASCII ETB characters (octal value: 27) instead of newlines, and multi-line output can be piped into send_nsca as-is. (Actually, converting the newline characters into '\n' will no longer work with NSCA >= 2.9.) Holger ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From uce_mike at yahoo.com Thu Feb 14 00:47:02 2013 From: uce_mike at yahoo.com (Mike W) Date: Wed, 13 Feb 2013 17:47:02 -0600 Subject: Log rotation issues... Message-ID: <511C25F6.9@yahoo.com> For some reason the loggin with nagios has stopped rotating. I have changed my setting to rotate hourly to see if that would give me a clue but no joy. I normally use daily. log_rotation_method=h I am using nagios version 3.4.3 on RHEL 6.2. I find no errors in the logs related to rotation. Anyone have any tips on how to track down the problem? -- Mike Wilson ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Feb 14 01:58:45 2013 From: a31modela at hotmail.com (steve f) Date: Wed, 13 Feb 2013 19:58:45 -0500 Subject: Log rotation issues... In-Reply-To: <511C25F6.9@yahoo.com> References: <511C25F6.9@yahoo.com> Message-ID: hows your space on the server? Steve > Date: Wed, 13 Feb 2013 17:47:02 -0600 > From: uce_mike at yahoo.com > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Log rotation issues... > > For some reason the loggin with nagios has stopped rotating. I have > changed my setting to rotate hourly to see if that would give me a clue > but no joy. I normally use daily. > > log_rotation_method=h > > I am using nagios version 3.4.3 on RHEL 6.2. > > I find no errors in the logs related to rotation. Anyone have any tips > on how to track down the problem? > > > -- > > Mike Wilson > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb -------------- 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 uce_mike at yahoo.com Thu Feb 14 03:56:40 2013 From: uce_mike at yahoo.com (Mike W) Date: Wed, 13 Feb 2013 20:56:40 -0600 Subject: Log rotation issues... In-Reply-To: References: <511C25F6.9@yahoo.com> Message-ID: <511C5268.40407@yahoo.com> On 2/13/2013 6:58 PM, steve f wrote: > > hows your space on the server? Plenty of space and the directory I have configured for archives is owned by nagios (755). > > Steve > >> Date: Wed, 13 Feb 2013 17:47:02 -0600 >> From: uce_mike at yahoo.com >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Log rotation issues... >> >> For some reason the loggin with nagios has stopped rotating. I have >> changed my setting to rotate hourly to see if that would give me a clue >> but no joy. I normally use daily. >> >> log_rotation_method=h >> >> I am using nagios version 3.4.3 on RHEL 6.2. >> >> I find no errors in the logs related to rotation. Anyone have any tips >> on how to track down the problem? >> >> >> -- >> >> Mike Wilson >> >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> http://p.sf.net/sfu/sophos-d2d-feb >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Wilson ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From goetz.reinicke at filmakademie.de Thu Feb 14 09:52:32 2013 From: goetz.reinicke at filmakademie.de (=?ISO-8859-1?Q?G=F6tz_Reinicke_-_IT_Koordinator?=) Date: Thu, 14 Feb 2013 09:52:32 +0100 Subject: Question regarding Availability Report In-Reply-To: <016c01ce0373$00917c60$01b47520$@garces@ehu.es> References: <510FDFC5.6020500@filmakademie.de> <016c01ce0373$00917c60$01b47520$@garces@ehu.es> Message-ID: <511CA5D0.3020707@filmakademie.de> May be ... where is the needed switch to set the timeout? Nagios Config or apache httpd? Thanks for a hint. Regards . G?tz Am 05.02.13 08:32, schrieb Javier Garces Asensio: > ?Perhaps a timeout in the web server because the archive logs are too long > and the avail.cgi script needs a lot of time to process them? > Good luck > > -----Mensaje original----- > De: G?tz Reinicke - IT Koordinator [mailto:goetz.reinicke at filmakademie.de] > Enviado el: lunes, 04 de febrero de 2013 17:20 > Para: nagios-users at lists.sourceforge.net > Asunto: [Nagios-users] Question regarding Availability Report > > Hi, > > we run Nagios for a some years now and only from time to time I had to > generate Host Availability Reports. > > Now that I updated to the latest 3.4.4 (we hat 3.4.1 installed) I wanted to > generate some reports for host availability in 2012. > > So I select the host, set "Report Period:" to "Last Year" and leave the > other options untouched. > > Hitting the create report button fires up the avail.cgi on the nagios system > ad it is doing some work with up to 99% of CPU. > > But after some time, the command is ended the webpage is still empty. No > report. No error or anything else. > > So my question: What might be wrong? What might I check/adjust? > > Thanks for any hint and suggestion. Regards . G?tz -- G?tz Reinicke IT-Koordinator Tel. +49 7141 969 82 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzender des Aufsichtsrats: J?rgen Walter MdL Staatssekret?r im Ministerium f?r Wissenschaft, Forschung und Kunst Baden-W?rttemberg Gesch?ftsf?hrer: Prof. Thomas Schadt -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5174 bytes Desc: S/MIME Kryptografische Unterschrift URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb -------------- 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 pkannan at apigee.com Wed Feb 13 10:53:13 2013 From: pkannan at apigee.com (Prabhu Kannan) Date: Wed, 13 Feb 2013 15:23:13 +0530 Subject: Help with check_http Message-ID: <511B6289.2080305@apigee.com> Hi, I need help with converting below 2 CURL commands into check_http command, curl -v -H "Content-Type: application/json" -X POST -d '{"RequestHeader":{"Token":null,"Detail":null,"CoordinationId":null},"CreateSessionRequestBody":{"SystemId":"3156","SystemPassword":"dAEWJuXY6vXSY3XDLb6lHYbex0o2tPYZWZL1+ub2KPI=","UserName":"apigee_console","UserPassword":"URQqPzjOBHYGbVO"}}' https://abc.com/v1/session/CreateSession curl --data "client_secret=3ce5f1b2d1c6be44&grant_type=client_credentials&client_id=9f32d9a8598fb416965036c60fad9827&scope=PROFILE%20RENTALHISTORY" --header "Content-Type: application/x-www-form-urlencoded" -k https://abc.com/oauth2-13/token/ regards, prabhu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb -------------- 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 xesos at free.fr Fri Feb 15 07:05:04 2013 From: xesos at free.fr (xesos) Date: Fri, 15 Feb 2013 07:05:04 +0100 Subject: Log rotation issues... In-Reply-To: <511C25F6.9@yahoo.com> References: <511C25F6.9@yahoo.com> Message-ID: <511DD010.8000107@free.fr> Hello, I have exactly the same problem under CentOS 6.3 for 2 days. Which corresponds to the update of the system (yum update). Each day at midnight, Nagios service stops. I have to start it manually. Thanks, Regards. Le 14/02/2013 00:47, Mike W a ?crit : > For some reason the loggin with nagios has stopped rotating. I have > changed my setting to rotate hourly to see if that would give me a clue > but no joy. I normally use daily. > > log_rotation_method=h > > I am using nagios version 3.4.3 on RHEL 6.2. > > I find no errors in the logs related to rotation. Anyone have any tips > on how to track down the problem? > > ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Fri Feb 15 11:04:13 2013 From: m.borsani at it.net (Marco Borsani) Date: Fri, 15 Feb 2013 11:04:13 +0100 Subject: too much memory usage on Nagios server Message-ID: <016401ce0b63$ce55f250$6b01d6f0$@it.net> Hi all I have too cluster centos , both with Nagios 3.3.1 , both with 4Gb of ram. Nagios ?A? , has 400 servers and 3300 services configured. Its memory usage is about 88% Nagios ?B? , has 300 servers and 1900 services configured. Its memory usage is about 95% Where/How can I investigate to understand why this big difference (less checks , more memory usage) ? Marco Borsani Unix and Monitoring Sysadmin Business Unit Internet Solutions - Operations tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di Libero S.r.l. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb -------------- 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 naparuba at gmail.com Fri Feb 15 11:40:05 2013 From: naparuba at gmail.com (nap) Date: Fri, 15 Feb 2013 11:40:05 +0100 Subject: too much memory usage on Nagios server In-Reply-To: <016401ce0b63$ce55f250$6b01d6f0$@it.net> References: <016401ce0b63$ce55f250$6b01d6f0$@it.net> Message-ID: On Fri, Feb 15, 2013 at 11:04 AM, Marco Borsani wrote: > Hi all**** > > ** ** > > I have too cluster centos , both with Nagios 3.3.1 , both with 4Gb of ram. > **** > > ** ** > > Nagios ?A? , has 400 servers and 3300 services configured. Its memory > usage is about 88%**** > > Nagios ?B? , has 300 servers and 1900 services configured. Its memory > usage is about 95%**** > > ** ** > > Where/How can I investigate to understand why this big difference (less > checks , more memory usage) ? > Is the embeeded perl enabled? (the 1.9K services can maybe call more perl than the other). Jean -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb -------------- 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 support at voipbusiness.us Sat Feb 16 17:09:39 2013 From: support at voipbusiness.us (Tech Support) Date: Sat, 16 Feb 2013 11:09:39 -0500 Subject: Problem sending passive results using NSCA with multi-line output In-Reply-To: <20130213233214.GC701712@zedat.fu-berlin.de> References: <007201ce0a0b$587195c0$0954c140$@us> <20130213233214.GC701712@zedat.fu-berlin.de> Message-ID: <000301ce0c60$064a00f0$12de02d0$@us> I updated to version 2.9.1 and it works like a charm. Thanks! John -----Original Message----- From: Holger Wei? [mailto:holger at cis.fu-berlin.de] Sent: Wednesday, February 13, 2013 6:32 PM To: Nagios Users Subject: Re: [Nagios-users] Problem sending passive results using NSCA with multi-line output * Tech Support [2013-02-13 11:58]: > foreach my $service ( @services ) { > > > > $nsca_cmd .= "$nscahost\t$service\t$code\t$output"; > > }; > > my $retval = `$system /bin/echo -e "$nsca_cmd" | $nscaprog -H > $nagioshost -c $nscacfg`; > > Like I said, Nagios is choking when the output contains multi-line output. This looks like you're using a send_nsca version < 2.9, where multiple check results were seperated using newlines. In that case, you'll have to replace each newline character within multi-line output with the literal string '\n'. With NSCA >= 2.9, multiple check results are seperated using ASCII ETB characters (octal value: 27) instead of newlines, and multi-line output can be piped into send_nsca as-is. (Actually, converting the newline characters into '\n' will no longer work with NSCA >= 2.9.) Holger ---------------------------------------------------------------------------- -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From esteban at nuevaeralatam.com Sat Feb 16 22:00:51 2013 From: esteban at nuevaeralatam.com (Esteban Monge) Date: Sat, 16 Feb 2013 15:00:51 -0600 Subject: Problem sending passive results using NSCA with multi-line output In-Reply-To: <20130213233214.GC701712@zedat.fu-berlin.de> References: <007201ce0a0b$587195c0$0954c140$@us> <20130213233214.GC701712@zedat.fu-berlin.de> Message-ID: > * Tech Support [2013-02-13 11:58]: >> foreach my $service ( @services ) { >> >> >> >> $nsca_cmd .= "$nscahost\t$service\t$code\t$output"; >> >> }; >> >> my $retval = `$system /bin/echo -e "$nsca_cmd" | $nscaprog -H >> $nagioshost -c >> $nscacfg`; >> >> Like I said, Nagios is choking when the output contains multi-line >> output. > > This looks like you're using a send_nsca version < 2.9, where multiple > check results were seperated using newlines. In that case, you'll have > to replace each newline character within multi-line output with the > literal string '\n'. > > With NSCA >= 2.9, multiple check results are seperated using ASCII ETB > characters (octal value: 27) instead of newlines, and multi-line output > can be piped into send_nsca as-is. (Actually, converting the newline > characters into '\n' will no longer work with NSCA >= 2.9.) > > Holger > > I have one situation with both versions: NSCA < 2.9 in clients and NSCA > 2.9 in server. Can send passive checks with "\n" for newline? ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at cis.fu-berlin.de Sat Feb 16 22:27:33 2013 From: holger at cis.fu-berlin.de (Holger =?iso-8859-1?Q?Wei=DF?=) Date: Sat, 16 Feb 2013 22:27:33 +0100 Subject: Problem sending passive results using NSCA with multi-line output In-Reply-To: References: <007201ce0a0b$587195c0$0954c140$@us> <20130213233214.GC701712@zedat.fu-berlin.de> Message-ID: <20130216212733.GA178911@zedat.fu-berlin.de> * Esteban Monge [2013-02-16 15:00]: > > This looks like you're using a send_nsca version < 2.9, where multiple > > check results were seperated using newlines. In that case, you'll have > > to replace each newline character within multi-line output with the > > literal string '\n'. > > > > With NSCA >= 2.9, multiple check results are seperated using ASCII ETB > > characters (octal value: 27) instead of newlines, and multi-line output > > can be piped into send_nsca as-is. (Actually, converting the newline > > characters into '\n' will no longer work with NSCA >= 2.9.) > > I have one situation with both versions: > NSCA < 2.9 in clients and NSCA > 2.9 in server. > > Can send passive checks with "\n" for newline? Yes, replacing newline characters with the literal string '\n' should do the trick in your case. Holger ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From farislinux at yahoo.com Sun Feb 17 09:07:11 2013 From: farislinux at yahoo.com (faris) Date: Sun, 17 Feb 2013 00:07:11 -0800 (PST) Subject: (no subject) Message-ID: <1361088431.53679.YahooMailNeo@web120203.mail.ne1.yahoo.com> http://www.sv-coburg.de/uvr/pf5ulnh4c9lawtrbi/cekqwrbljmwww.9y66dw6fkbi dknwk6bbdb60g6kj3tbyx7ixq7itotifjan9nyjlp401shuo33n83n7l5cxc5z4h x5fqzddxme6y1ynjv9wa8vzv -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ -------------- next part -------------- _______________________________________________ Mondo-devel mailing list Mondo-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mondo-devel From m.borsani at it.net Mon Feb 18 10:33:26 2013 From: m.borsani at it.net (Marco Borsani) Date: Mon, 18 Feb 2013 10:33:26 +0100 Subject: R: too much memory usage on Nagios server In-Reply-To: References: <016401ce0b63$ce55f250$6b01d6f0$@it.net> Message-ID: <005201ce0dbb$013885d0$03a99170$@it.net> I am sorry, I don?t remember If the embedded Perl is enabled .. how can I verify ? Regards Marco Da: nap [mailto:naparuba at gmail.com] Inviato: venerd? 15 febbraio 2013 11:40 A: Nagios Users List Oggetto: Re: [Nagios-users] too much memory usage on Nagios server On Fri, Feb 15, 2013 at 11:04 AM, Marco Borsani wrote: Hi all I have too cluster centos , both with Nagios 3.3.1 , both with 4Gb of ram. Nagios ?A? , has 400 servers and 3300 services configured. Its memory usage is about 88% Nagios ?B? , has 300 servers and 1900 services configured. Its memory usage is about 95% Where/How can I investigate to understand why this big difference (less checks , more memory usage) ? Is the embeeded perl enabled? (the 1.9K services can maybe call more perl than the other). Jean -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ -------------- 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 saimonation at gmail.com Sun Feb 17 23:58:52 2013 From: saimonation at gmail.com (saimon michelson) Date: Mon, 18 Feb 2013 00:58:52 +0200 Subject: check_by_ssh plugin - remote command execution failed. Message-ID: Hi, I have a question regarding the check_by_ssh plugin. I have a Linux server running a Nagios-core server and i am developing a plugin to obtain information from a remote SunOS host over SSH. I assumed that the way it works is that the nagios establishes a SSH connection with the remote host, executes the plugin, fetches the output and return code and displays it on the server. But, since my script uses a command available only in SunOS by default, the check_by_ssh plugin returns an error saying that the remote-command was not found. example: trying to execute: "zpool status syspool" ( available on SunOS ) Remote command execution failed: libexec/check_zpool: line 53: zpool: command not found Is there a workaround for this? Thanks, -- Saimon Michelson -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ -------------- 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 ismael.puerto at seres.es Mon Feb 18 16:33:00 2013 From: ismael.puerto at seres.es (Ismael Puerto) Date: Mon, 18 Feb 2013 16:33:00 +0100 Subject: check_by_ssh plugin - remote command execution failed. In-Reply-To: References: Message-ID: <512249AC.50509@seres.es> Hello I think that you should use tha path complete, example: /system/bin/zpool status syspool Best regards On 17/02/13 23:58, saimon michelson wrote: > Hi, > > I have a question regarding the check_by_ssh plugin. > > I have a Linux server running a Nagios-core server and i am developing a > plugin to obtain information from a remote SunOS host over SSH. > > I assumed that the way it works is that the nagios establishes a SSH > connection with the remote host, executes the plugin, fetches the output > and return code and displays it on the server. > > But, since my script uses a command available only in SunOS by default, > the check_by_ssh plugin returns an error saying that the remote-command > was not found. > > example: trying to execute: "zpool status syspool" ( available on SunOS ) > > Remote command execution failed: libexec/check_zpool: line 53: zpool: > command not found > > Is there a workaround for this? > > Thanks, > > -- > > Saimon Michelson > > > ------------------------------------------------------------------------------ > The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, > is your hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials, tech docs, > whitepapers, evaluation guides, and opinion stories. Check out the most > recent posts - join the conversation now. http://goparallel.sourceforge.net/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AdcockJ at leoncountyfl.gov Mon Feb 18 18:27:18 2013 From: AdcockJ at leoncountyfl.gov (Jon Adcock) Date: Mon, 18 Feb 2013 12:27:18 -0500 Subject: Disable ALL Nagios Notifications For One Hour, On One Day, Every Month Message-ID: <51221E26020000750001ADCC@gwia2.leoncountyfl.gov> Within Nagios, is there some way to disable ALL Nagios notifications from 6:00 AM to 7:00 AM every 3rd Saturday of every month? I could run a cron job that replaced the nagios.cfg file with one that has enable_notifications=0 at 6:00 AM (and restart the service), then run another cron job that replaced the nagios.cfg file with the original file at 7:00 AM (and restart the service), but I'm looking for a solution within Nagios. Jon Adcock Network Systems Administrator Leon County MIS 301 S. Monroe St. Tallahassee, FL 32301 Office: (850) 606-5518 http://www.leoncountyfl.gov "People Focused. Performance Driven." Thank you for your e-mail. Please note that under Florida's Public Records laws, most written communications to or from county staff or officials regarding county business are public records available to the public and media upon request. Your e-mail communications may therefore be subject to public disclosure. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ -------------- 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 daniel.wittenberg.r0ko at statefarm.com Mon Feb 18 18:32:21 2013 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Mon, 18 Feb 2013 17:32:21 +0000 Subject: Disable ALL Nagios Notifications For One Hour, On One Day, Every Month In-Reply-To: <51221E26020000750001ADCC@gwia2.leoncountyfl.gov> References: <51221E26020000750001ADCC@gwia2.leoncountyfl.gov> Message-ID: <4288A518A157EC4C8873FEE74F778BF011FE8D18@WPSDGQFT.OPR.STATEFARM.ORG> You can do it programmatically with cron through the external commands, a little cleaner approach: http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=7 Dan On Feb 18, 2013, at 11:27 AM, Jon Adcock wrote: Within Nagios, is there some way to disable ALL Nagios notifications from 6:00 AM to 7:00 AM every 3rd Saturday of every month? I could run a cron job that replaced the nagios.cfg file with one that has enable_notifications=0 at 6:00 AM (and restart the service), then run another cron job that replaced the nagios.cfg file with the original file at 7:00 AM (and restart the service), but I'm looking for a solution within Nagios. Jon Adcock Network Systems Administrator Leon County MIS 301 S. Monroe St. Tallahassee, FL 32301 Office: (850) 606-5518 http://www.leoncountyfl.gov "People Focused. Performance Driven." Thank you for your e-mail. Please note that under Florida's Public Records laws, most written communications to or from county staff or officials regarding county business are public records available to the public and media upon request. Your e-mail communications may therefore be subject to public disclosure. ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ -------------- 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 AdcockJ at leoncountyfl.gov Mon Feb 18 19:48:33 2013 From: AdcockJ at leoncountyfl.gov (Jon Adcock) Date: Mon, 18 Feb 2013 13:48:33 -0500 Subject: Disable ALL Nagios Notifications For One Hour, On One Day, Every Month In-Reply-To: <4288A518A157EC4C8873FEE74F778BF011FE8D18@WPSDGQFT.OPR.STATEFARM.ORG> References: <51221E26020000750001ADCC@gwia2.leoncountyfl.gov> <4288A518A157EC4C8873FEE74F778BF011FE8D18@WPSDGQFT.OPR.STATEFARM.ORG> Message-ID: <51223131020000750001ADD7@gwia2.leoncountyfl.gov> To share, I did what Dan recommended. Here is what I put my crontab: 00 06 15-21 * * test `date +\%a` = Sat && /opt/nagios/libexec/contrib/disable_notifications.sh 00 07 15-21 * * test `date +\%a` = Sat && /opt/nagios/libexec/contrib/enable_notifications.sh The third Sat falls on the fifteenth through the twenty-first. So on those days, it runs a test command to see if it's Sat. If so, then run the disable notifications script at 6, then run the enable_notifications script at 7. The scripts are from the link you listed, and: http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=8 Note: my printf command is in /usr/bin/printf, so I had to modify the scripts. Also, make sure that you have the path exactly correct for YOUR nagios.cmd file. Jon Adcock Network Systems Administrator Leon County MIS 301 S. Monroe St. Tallahassee, FL 32301 Office: (850) 606-5518 http://www.leoncountyfl.gov "People Focused. Performance Driven." Thank you for your e-mail. Please note that under Florida's Public Records laws, most written communications to or from county staff or officials regarding county business are public records available to the public and media upon request. Your e-mail communications may therefore be subject to public disclosure. >>> On 2/18/2013 at 12:32 PM, Daniel Wittenberg wrote: You can do it programmatically with cron through the external commands, a little cleaner approach: http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=7 Dan On Feb 18, 2013, at 11:27 AM, Jon Adcock wrote: Within Nagios, is there some way to disable ALL Nagios notifications from 6:00 AM to 7:00 AM every 3rd Saturday of every month? I could run a cron job that replaced the nagios.cfg file with one that has enable_notifications=0 at 6:00 AM (and restart the service), then run another cron job that replaced the nagios.cfg file with the original file at 7:00 AM (and restart the service), but I'm looking for a solution within Nagios. Jon Adcock Network Systems Administrator Leon County MIS 301 S. Monroe St. Tallahassee, FL 32301 Office: (850) 606-5518 http://www.leoncountyfl.gov "People Focused. Performance Driven." Thank you for your e-mail. Please note that under Florida's Public Records laws, most written communications to or from county staff or officials regarding county business are public records available to the public and media upon request. Your e-mail communications may therefore be subject to public disclosure. ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ -------------- 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 naparuba at gmail.com Mon Feb 18 21:09:33 2013 From: naparuba at gmail.com (nap) Date: Mon, 18 Feb 2013 21:09:33 +0100 Subject: Disable ALL Nagios Notifications For One Hour, On One Day, Every Month In-Reply-To: <51221E26020000750001ADCC@gwia2.leoncountyfl.gov> References: <51221E26020000750001ADCC@gwia2.leoncountyfl.gov> Message-ID: Le 18 f?vr. 2013 18:32, "Jon Adcock" a ?crit : > > > Within Nagios, is there some way to disable ALL Nagios notifications from 6:00 AM to 7:00 AM every 3rd Saturday of every month? > > I could run a cron job that replaced the nagios.cfg file with one that has enable_notifications=0 at 6:00 AM (and restart the service), then run another cron job that replaced the nagios.cfg file with the original file at 7:00 AM (and restart the service), but I'm looking for a solution within Nagios. > > > Hi, Why not add an "exclude" entry to your notification timeperiods? Regards, Jean -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From esteban at nuevaeralatam.com Tue Feb 19 03:01:03 2013 From: esteban at nuevaeralatam.com (Esteban Monge) Date: Mon, 18 Feb 2013 20:01:03 -0600 Subject: Problem sending passive results using NSCA with multi-line output In-Reply-To: <20130216212733.GA178911@zedat.fu-berlin.de> References: <007201ce0a0b$587195c0$0954c140$@us> <20130213233214.GC701712@zedat.fu-berlin.de> <20130216212733.GA178911@zedat.fu-berlin.de> Message-ID: <0c3f34d87efc402ff0e04e772aed1cdf.squirrel@www.nuevaeralatam.com> > * Esteban Monge [2013-02-16 15:00]: > >> > This looks like you're using a send_nsca version < 2.9, where multiple >> > check results were seperated using newlines. In that case, you'll >> have >> > to replace each newline character within multi-line output with the >> > literal string '\n'. >> > >> > With NSCA >= 2.9, multiple check results are seperated using ASCII ETB >> > characters (octal value: 27) instead of newlines, and multi-line >> output >> > can be piped into send_nsca as-is. (Actually, converting the newline >> > characters into '\n' will no longer work with NSCA >= 2.9.) >> >> I have one situation with both versions: >> NSCA < 2.9 in clients and NSCA > 2.9 in server. >> >> Can send passive checks with "\n" for newline? > > Yes, replacing newline characters with the literal string '\n' should do > the trick in your case. > > Holger > > Thanks, I will work on that ------------------------------------------------------------------------------ > The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, > is your hub for all things parallel software development, from weekly > thought > leadership blogs to news, videos, case studies, tutorials, tech docs, > whitepapers, evaluation guides, and opinion stories. Check out the most > recent posts - join the conversation now. > http://goparallel.sourceforge.net/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrunyard at gmail.com Tue Feb 19 05:21:38 2013 From: travisrunyard at gmail.com (Travis Runyard) Date: Mon, 18 Feb 2013 20:21:38 -0800 Subject: R: too much memory usage on Nagios server In-Reply-To: <005201ce0dbb$013885d0$03a99170$@it.net> References: <016401ce0b63$ce55f250$6b01d6f0$@it.net> <005201ce0dbb$013885d0$03a99170$@it.net> Message-ID: Nagios.cfg and default is enabled if i recall correctly. Or google, my friend. Nagios.org also has very thorough documentation. On Feb 18, 2013 1:58 AM, "Marco Borsani" wrote: > I am sorry, I don?t remember If the embedded Perl is enabled .. how can I > verify ?**** > > ** ** > > Regards**** > > Marco**** > > ** ** > > *Da:* nap [mailto:naparuba at gmail.com] > *Inviato:* venerd? 15 febbraio 2013 11:40 > *A:* Nagios Users List > *Oggetto:* Re: [Nagios-users] too much memory usage on Nagios server**** > > ** ** > > ** ** > > On Fri, Feb 15, 2013 at 11:04 AM, Marco Borsani wrote:* > *** > > Hi all**** > > **** > > I have too cluster centos , both with Nagios 3.3.1 , both with 4Gb of ram. > **** > > **** > > Nagios ?A? , has 400 servers and 3300 services configured. Its memory > usage is about 88%**** > > Nagios ?B? , has 300 servers and 1900 services configured. Its memory > usage is about 95%**** > > **** > > Where/How can I investigate to understand why this big difference (less > checks , more memory usage) ? **** > > ** ** > > Is the embeeded perl enabled? (the 1.9K services can maybe call more perl > than the other). > > > Jean**** > > > ------------------------------------------------------------------------------ > The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, > is your hub for all things parallel software development, from weekly > thought > leadership blogs to news, videos, case studies, tutorials, tech docs, > whitepapers, evaluation guides, and opinion stories. Check out the most > recent posts - join the conversation now. > http://goparallel.sourceforge.net/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb -------------- 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 m.borsani at it.net Tue Feb 19 08:40:58 2013 From: m.borsani at it.net (Marco Borsani) Date: Tue, 19 Feb 2013 08:40:58 +0100 Subject: R: R: too much memory usage on Nagios server In-Reply-To: References: <016401ce0b63$ce55f250$6b01d6f0$@it.net> <005201ce0dbb$013885d0$03a99170$@it.net> Message-ID: <004601ce0e74$75777000$60665000$@it.net> I see the two settings in nagios.cfg you have mentioned, but I am quite sure did not compile Nagios code with : ./configure --enable-embedded-perl --with-perlcache otheroptions Da: Travis Runyard [mailto:travisrunyard at gmail.com] Inviato: marted? 19 febbraio 2013 05:22 A: Nagios Users List Oggetto: Re: [Nagios-users] R: too much memory usage on Nagios server Nagios.cfg and default is enabled if i recall correctly. Or google, my friend. Nagios.org also has very thorough documentation. On Feb 18, 2013 1:58 AM, "Marco Borsani" wrote: I am sorry, I don?t remember If the embedded Perl is enabled .. how can I verify ? Regards Marco Da: nap [mailto:naparuba at gmail.com] Inviato: venerd? 15 febbraio 2013 11:40 A: Nagios Users List Oggetto: Re: [Nagios-users] too much memory usage on Nagios server On Fri, Feb 15, 2013 at 11:04 AM, Marco Borsani wrote: Hi all I have too cluster centos , both with Nagios 3.3.1 , both with 4Gb of ram. Nagios ?A? , has 400 servers and 3300 services configured. Its memory usage is about 88% Nagios ?B? , has 300 servers and 1900 services configured. Its memory usage is about 95% Where/How can I investigate to understand why this big difference (less checks , more memory usage) ? Is the embeeded perl enabled? (the 1.9K services can maybe call more perl than the other). Jean ---------------------------------------------------------------------------- -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb -------------- 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 Nobuo.Matsushita at childrenscolorado.org Tue Feb 19 20:04:08 2013 From: Nobuo.Matsushita at childrenscolorado.org (Matsushita, Nobuo) Date: Tue, 19 Feb 2013 19:04:08 +0000 Subject: Help --- email notification problem Message-ID: <63E421D9117DDB4FAB5FA62A57518F1510CD863D@PRDEXMB02.thechildrenshospital.org> Hi, I am using nagios 3.4.4. and RedHat Enterprise v 6.3. And I compiled from the source. I am experiencing strange email notification problems. I have been using nagios since 3.2, but I didn't notice this problem until recently. The problem is that not only correct contact person gets the notification by email, but also some other group people gets the same notification. Depending on which directive use, different group gets the notification: In the template file(service_templates.cfg), If I use: contacts personA-email Then notification goes to personA and group D ( personA is not in the Group D) But If I use contact_groups test-C And in the service file, I put the following directive: contacts personA-email Then the notification goes to person A and Group E ( personA is not in the Group E) Am I doing wrong ? Does anybody have similar experience? Since I am subscribing this mailing list using digest mode, I will be appreciated if you can send me a copy to my address. Thanks in advance Nobuo Then the notification goes to ------------------------------------------------------------------------------ CONFIDENTIALITY NOTICE: This e-mail, including any attachments, is for the sole use of the intended recipient and may contain confidential and privileged information. If you are not an intended recipient, or the person responsible for delivering this message to an intended recipient, you are hereby notified that reading, copying, using or distributing this message is prohibited. If you are not an intended recipient, please contact the sender by reply email and destroy all copies of the original message from your computer system. ------------------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb -------------- 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 radecki.rafal at gmail.com Wed Feb 20 09:00:39 2013 From: radecki.rafal at gmail.com (=?ISO-8859-2?Q?Rafa=B3_Radecki?=) Date: Wed, 20 Feb 2013 09:00:39 +0100 Subject: Mass delete of host/service downtimes. Message-ID: Hi All. I currently try to remove many host/service downtimes. I can do this one by one but it would be time consuming. Is there a way to remove all downtimes at once? Or maybe I should use a special url with some variables? I've noticed that in /var/log/nagios/status.dat there are all downtimes written but it is generated on nagios start and I think that deleting appropriate sections from this file can be dangerous. I've tried curl 'https://server/nagios/cgi-bin/cmd.cgi?cmd_typ=79&down_id=2139' but with no luck ;) Any tips? Best regards, Rafal Radecki. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palli at ok.is Wed Feb 20 09:22:58 2013 From: palli at ok.is (=?utf-8?Q?P=C3=A1ll_Gu=C3=B0j=C3=B3n_Sigur=C3=B0sson?=) Date: Wed, 20 Feb 2013 08:22:58 -0000 (GMT) Subject: Mass delete of host/service downtimes. In-Reply-To: References: Message-ID: <54fca187-b1a8-4c7e-88ce-1b308dcdcaea@zimbra.okhysing.is> If you have pynag installed this script might help you along. It will clear all downtimes unless you uncomment some of the filters: #!/usr/bin/python import pynag.Parsers import pynag.Control.Command livestatus = pynag.Parsers.mk_livestatus() downtimes = livestatus.query('GET downtimes') for downtime in downtimes: # Only remove downtime for a specific host #if downtime['host_name'] != 'nagios.example.com': continue # Only remove downtimes if check belongs to a specific hostgroup #if 'my_hostgroup' not in downtime['hostgroups']: continue host_name = downtime['host_name'] service_description = downtime['service_description'] downtime_id = downtime['id'] downtime_type = downtime['type'] print "Removing downtime for: %-30s %s" % ( host_name, service_description ) if downtime_type == 1: # This is a service downtime pynag.Control.Command.del_svc_downtime(downtime_id) elif downtime_type == 0: pynag.Control.Command.del_host_downtime(downtime_id) Also if you have a recent version of adagios installed you can do more easily via web interface. Kind regards, Pall Sigurdsson ----- Original Message ----- From: "Rafa? Radecki" To: nagios-users at lists.sourceforge.net Sent: Wednesday, February 20, 2013 3:00:39 PM Subject: [Nagios-users] Mass delete of host/service downtimes. Hi All. I currently try to remove many host/service downtimes. I can do this one by one but it would be time consuming. Is there a way to remove all downtimes at once? Or maybe I should use a special url with some variables? I've noticed that in /var/log/nagios/status.dat there are all downtimes written but it is generated on nagios start and I think that deleting appropriate sections from this file can be dangerous. I've tried curl 'https://server/nagios/cgi-bin/cmd.cgi?cmd_typ=79&down_id=2139' but with no luck ;) Any tips? Best regards, Rafal Radecki. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Feb 20 09:57:44 2013 From: james.osbourn at citrix.com (James Osbourn) Date: Wed, 20 Feb 2013 08:57:44 +0000 Subject: Help --- email notification problem In-Reply-To: <63E421D9117DDB4FAB5FA62A57518F1510CD863D@PRDEXMB02.thechildrenshospital.org> References: <63E421D9117DDB4FAB5FA62A57518F1510CD863D@PRDEXMB02.thechildrenshospital.org> Message-ID: <09051C7A8945F944AB7AC4E86BEB1ED50128D9F6AC93@LONPMAILBOX01.citrite.net> It would really be helpful to see the configs, at least the person and group definitions to determine any issues. The information that you have provided does not given enough details to determine any inheritance from templates. It should then be possible to see where the final service is actually going to email to. Cheers James From: Matsushita, Nobuo [mailto:Nobuo.Matsushita at childrenscolorado.org] Sent: 19 February 2013 19:04 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help --- email notification problem Hi, I am using nagios 3.4.4. and RedHat Enterprise v 6.3. And I compiled from the source. I am experiencing strange email notification problems. I have been using nagios since 3.2, but I didn't notice this problem until recently. The problem is that not only correct contact person gets the notification by email, but also some other group people gets the same notification. Depending on which directive use, different group gets the notification: In the template file(service_templates.cfg), If I use: contacts personA-email Then notification goes to personA and group D ( personA is not in the Group D) But If I use contact_groups test-C And in the service file, I put the following directive: contacts personA-email Then the notification goes to person A and Group E ( personA is not in the Group E) Am I doing wrong ? Does anybody have similar experience? Since I am subscribing this mailing list using digest mode, I will be appreciated if you can send me a copy to my address. Thanks in advance Nobuo Then the notification goes to ________________________________ CONFIDENTIALITY NOTICE: This e-mail, including any attachments, is for the sole use of the intended recipient and may contain confidential and privileged information. If you are not an intended recipient, or the person responsible for delivering this message to an intended recipient, you are hereby notified that reading, copying, using or distributing this message is prohibited. If you are not an intended recipient, please contact the sender by reply email and destroy all copies of the original message from your computer system. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Wed Feb 20 16:29:05 2013 From: work at paul.dubuc.org (Paul Dubuc) Date: Wed, 20 Feb 2013 10:29:05 -0500 Subject: Mass delete of host/service downtimes. In-Reply-To: References: Message-ID: <5124EBC1.2040302@paul.dubuc.org> ? wrote: > Hi All. > > I currently try to remove many host/service downtimes. I can do this > one by one but it would be time consuming. Is there a way to remove > all downtimes at once? Or maybe I should use a special url with some > variables? > I've noticed that in /var/log/nagios/status.dat there are all > downtimes written but it is generated on nagios start and I think that > deleting appropriate sections from this file can be dangerous. > I've tried curl > 'https://server/nagios/cgi-bin/cmd.cgi?cmd_typ=79&down_id=2139' but > with no luck ;) > Any tips? If you have Nagios 3.3.1 or newer there are some undocumented external commands that can do this easily. See my previous message here for details: https://sourceforge.net/mailarchive/message.php?msg_id=30453206 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonas at freesources.org Wed Feb 20 16:13:52 2013 From: jonas at freesources.org (Jonas Meurer) Date: Wed, 20 Feb 2013 16:13:52 +0100 Subject: Questions about Nagios quick search Message-ID: Hello, we're using Nagios as monitoring system for several hundred systems. While navigating through hosts and services, recently two questions regarding the quick search (in navigation bar) raised: 1/ Why doesn't nagios search for host aliases as well? Is it possible to enable alias searching? We're using rather short values for host_name, and tend to add information like server position to the alias. Thus searching for host_name and alias would be awesome for us. 2/ When searching for IP addresses, only the first match is returned. In some cases (e.g. NRPE Port forwarding through firewall), several hosts have the same IP address. For these cases it's rather irritating, that only the first matching host is returned. Looking forward to see your answers. Kind regards, jonas ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From radecki.rafal at gmail.com Thu Feb 21 08:46:11 2013 From: radecki.rafal at gmail.com (=?ISO-8859-2?Q?Rafa=B3_Radecki?=) Date: Thu, 21 Feb 2013 08:46:11 +0100 Subject: Mass delete of host/service downtimes. In-Reply-To: <5124EBC1.2040302@paul.dubuc.org> References: <5124EBC1.2040302@paul.dubuc.org> Message-ID: Thank you very much. It works very well :) Best regards, Rafal Radecki. 2013/2/20 Paul Dubuc : > ? wrote: >> >> Hi All. >> >> I currently try to remove many host/service downtimes. I can do this >> one by one but it would be time consuming. Is there a way to remove >> all downtimes at once? Or maybe I should use a special url with some >> variables? >> I've noticed that in /var/log/nagios/status.dat there are all >> downtimes written but it is generated on nagios start and I think that >> deleting appropriate sections from this file can be dangerous. >> I've tried curl >> 'https://server/nagios/cgi-bin/cmd.cgi?cmd_typ=79&down_id=2139' but >> with no luck ;) >> Any tips? > > > If you have Nagios 3.3.1 or newer there are some undocumented external > commands that can do this easily. See my previous message here for details: > > https://sourceforge.net/mailarchive/message.php?msg_id=30453206 > > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palli at ok.is Thu Feb 21 12:16:36 2013 From: palli at ok.is (=?utf-8?Q?P=C3=A1ll_Gu=C3=B0j=C3=B3n_Sigur=C3=B0sson?=) Date: Thu, 21 Feb 2013 11:16:36 -0000 (GMT) Subject: Mass delete of host/service downtimes. In-Reply-To: References: Message-ID: <2f097393-7693-49fd-8c9c-1ab863536e6c@zimbra.okhysing.is> The posts inspired me to write downtime support in pynag command-line utility. Works both via livestatus or more traditional writing directly to nagios command pipe. I dont mean to make this mailing list a pynag announcement one, but considering the questions brought i thought others might enjoy the script as well :) Example usage: # List downtimes pynag downtime --list [where host_name='example.com'] # Schedule new downtimes, works for hosts,services,hostgroups,servicegroups pynag downtime where host_name=localhost pynag downtime where hostgroup_name=webservers --comment "Scheduled maintainance on everything in hostgroup" pynag downtime where service_description__contains='vmware' --comment 'Downtime on everything that is vmware' # Remove a single downtime: pynag downtime --remove where id=100 # Remove all downtimes matching search filter pynag downtime --remove where comment="Scheduled Maintainance" ----- Original Message ----- From: "Rafa? Radecki" To: "Paul Dubuc" Cc: "Nagios Users List" Sent: Thursday, February 21, 2013 2:46:11 PM Subject: Re: [Nagios-users] Mass delete of host/service downtimes. Thank you very much. It works very well :) Best regards, Rafal Radecki. 2013/2/20 Paul Dubuc : > ? wrote: >> >> Hi All. >> >> I currently try to remove many host/service downtimes. I can do this >> one by one but it would be time consuming. Is there a way to remove >> all downtimes at once? Or maybe I should use a special url with some >> variables? >> I've noticed that in /var/log/nagios/status.dat there are all >> downtimes written but it is generated on nagios start and I think that >> deleting appropriate sections from this file can be dangerous. >> I've tried curl >> 'https://server/nagios/cgi-bin/cmd.cgi?cmd_typ=79&down_id=2139' but >> with no luck ;) >> Any tips? > > > If you have Nagios 3.3.1 or newer there are some undocumented external > commands that can do this easily. See my previous message here for details: > > https://sourceforge.net/mailarchive/message.php?msg_id=30453206 > > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 21 12:54:42 2013 From: ae at op5.se (Andreas Ericsson) Date: Thu, 21 Feb 2013 12:54:42 +0100 Subject: Mass delete of host/service downtimes. In-Reply-To: <2f097393-7693-49fd-8c9c-1ab863536e6c@zimbra.okhysing.is> References: <2f097393-7693-49fd-8c9c-1ab863536e6c@zimbra.okhysing.is> Message-ID: <51260B02.6020304@op5.se> On 02/21/2013 12:16 PM, P?ll Gu?j?n Sigur?sson wrote: > The posts inspired me to write downtime support in pynag command-line > utility. Works both via livestatus or more traditional writing > directly to nagios command pipe. > You should avoid writing external commands to livestatus. They get passed to Nagios from a separate thread and are susceptible to races. This is true both in Nagios 3 and Nagios 4. -- 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. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrunyard at gmail.com Thu Feb 21 21:16:16 2013 From: travisrunyard at gmail.com (Travis Runyard) Date: Thu, 21 Feb 2013 12:16:16 -0800 Subject: Define Multiple Event Handlers Message-ID: I'm trying to define multiple event handlers for a service but am getting the error during preflight check: Error: Event handler command 'update-nagex,reset-proc' specified in service I've tried two different ways to define it in the service: event_handler update-nagex,reset-proc and event_handler update-nagex event_handler reset-proc When I define them on separate lines, Nagios seems to only pick up the last event_handler defined which is reset-proc Any ideas? Thanks, Travis -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb -------------- 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 Fri Feb 22 09:12:07 2013 From: ae at op5.se (Andreas Ericsson) Date: Fri, 22 Feb 2013 09:12:07 +0100 Subject: Define Multiple Event Handlers In-Reply-To: References: Message-ID: <51272857.6060706@op5.se> On 02/21/2013 09:16 PM, Travis Runyard wrote: > I'm trying to define multiple event handlers for a service but am getting > the error during preflight check: > Error: Event handler command 'update-nagex,reset-proc' specified in service > > I've tried two different ways to define it in the service: > > event_handler update-nagex,reset-proc > > and > > event_handler update-nagex > event_handler reset-proc > > When I define them on separate lines, Nagios seems to only pick up the last > event_handler defined which is reset-proc > > Any ideas? Create a wrapper script that runs both handlers with their proper arguments. -- 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. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From diego.roccia at gmail.com Fri Feb 22 09:31:38 2013 From: diego.roccia at gmail.com (diego.roccia at gmail.com) Date: Fri, 22 Feb 2013 09:31:38 +0100 Subject: Problem sending passive results using NSCA with multi-line output In-Reply-To: <007201ce0a0b$587195c0$0954c140$@us> References: <007201ce0a0b$587195c0$0954c140$@us> Message-ID: You can't with nsca. how about using nrpe? You would still have the scripts running on the monitored system. If you want to stick with passive checks (as far as you told us, there is no reason) there's a nsca alternative that use cgi and support multi line. Il giorno 13/feb/2013 19:09, "Tech Support" ha scritto: > All;**** > > I have a bunch of ( PERL ) plugins that are run passively out of CRON > with the results sent to the Nagios monitoring host using NSCA. Most of > them work great, and they return results on dozens of services. I?m doing > it this way because instead of running dozens of plugins actively, I can > run one plugin passively. The problem is I have a few that are choking when > the output contains multi-line output, and I?m not sure how to get around > that. Basically, my scripts look something like this:**** > > ** ** > > foreach my $service ( @services ) {**** > > **** > > $nsca_cmd .= "$nscahost\t$service\t$code\t$output";**** > > };**** > > my $retval = `$system /bin/echo -e "$nsca_cmd" | $nscaprog -H $nagioshost > -c $nscacfg`;**** > > ** ** > > Like I said, Nagios is choking when the output contains multi-line output. > Does anyone have any insight at all on how I can get around this? Any help > at all would be greatly appreciated.**** > > Thanks;**** > > John**** > > Tech Support**** > > Technical Support**** > > VoIP Business Solutions**** > > 240-215-3479, ext. 305**** > > support at voipbusiness.us **** > > ** ** > > ** ** > > ** ** > > ** ** > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb -------------- 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 holger at cis.fu-berlin.de Fri Feb 22 09:37:09 2013 From: holger at cis.fu-berlin.de (Holger =?iso-8859-1?Q?Wei=DF?=) Date: Fri, 22 Feb 2013 09:37:09 +0100 Subject: Problem sending passive results using NSCA with multi-line output In-Reply-To: References: <007201ce0a0b$587195c0$0954c140$@us> Message-ID: <20130222083709.GB940552@zedat.fu-berlin.de> * [2013-02-22 09:31]: > You can't [transmit multiline plugin output] with nsca. You can, see my earlier responses in this thread: http://article.gmane.org/gmane.network.nagios.user/74959 Holger ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nobuo.Matsushita at childrenscolorado.org Fri Feb 22 17:21:37 2013 From: Nobuo.Matsushita at childrenscolorado.org (Matsushita, Nobuo) Date: Fri, 22 Feb 2013 16:21:37 +0000 Subject: Help --- email notification problem In-Reply-To: <09051C7A8945F944AB7AC4E86BEB1ED50128D9F6AC93@LONPMAILBOX01.citrite.net> References: <63E421D9117DDB4FAB5FA62A57518F1510CD863D@PRDEXMB02.thechildrenshospital.org> <09051C7A8945F944AB7AC4E86BEB1ED50128D9F6AC93@LONPMAILBOX01.citrite.net> Message-ID: <63E421D9117DDB4FAB5FA62A57518F1510CDA977@PRDEXMB02.thechildrenshospital.org> James, Thank you for your reply!!! Just before I received your email, I noticed that I missed one required directive was missing from my new added object. After I added it, the behavior of notification was changed. After I read your email, I decided to check my all configurations. After that I found many required directives were missing from my configurations. After I fixed all missing required directives, it is now working great! Thank you for your advice! Unfortunately, "nagios -v " does not check all required directives. Nobuo From: James Osbourn [mailto:james.osbourn at citrix.com] Sent: Wednesday, February 20, 2013 1:58 AM To: Nagios Users List; Matsushita, Nobuo Subject: RE: Help --- email notification problem It would really be helpful to see the configs, at least the person and group definitions to determine any issues. The information that you have provided does not given enough details to determine any inheritance from templates. It should then be possible to see where the final service is actually going to email to. Cheers James From: Matsushita, Nobuo [mailto:Nobuo.Matsushita at childrenscolorado.org] Sent: 19 February 2013 19:04 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help --- email notification problem Hi, I am using nagios 3.4.4. and RedHat Enterprise v 6.3. And I compiled from the source. I am experiencing strange email notification problems. I have been using nagios since 3.2, but I didn't notice this problem until recently. The problem is that not only correct contact person gets the notification by email, but also some other group people gets the same notification. Depending on which directive use, different group gets the notification: In the template file(service_templates.cfg), If I use: contacts personA-email Then notification goes to personA and group D ( personA is not in the Group D) But If I use contact_groups test-C And in the service file, I put the following directive: contacts personA-email Then the notification goes to person A and Group E ( personA is not in the Group E) Am I doing wrong ? Does anybody have similar experience? Since I am subscribing this mailing list using digest mode, I will be appreciated if you can send me a copy to my address. Thanks in advance Nobuo Then the notification goes to ________________________________ CONFIDENTIALITY NOTICE: This e-mail, including any attachments, is for the sole use of the intended recipient and may contain confidential and privileged information. If you are not an intended recipient, or the person responsible for delivering this message to an intended recipient, you are hereby notified that reading, copying, using or distributing this message is prohibited. If you are not an intended recipient, please contact the sender by reply email and destroy all copies of the original message from your computer system. ________________________________ ------------------------------------------------------------------------------ CONFIDENTIALITY NOTICE: This e-mail, including any attachments, is for the sole use of the intended recipient and may contain confidential and privileged information. If you are not an intended recipient, or the person responsible for delivering this message to an intended recipient, you are hereby notified that reading, copying, using or distributing this message is prohibited. If you are not an intended recipient, please contact the sender by reply email and destroy all copies of the original message from your computer system. ------------------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb -------------- 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 Kenneth.Heeres at jhuapl.edu Thu Feb 21 19:48:35 2013 From: Kenneth.Heeres at jhuapl.edu (Heeres, Ken) Date: Thu, 21 Feb 2013 13:48:35 -0500 Subject: Question on check_mysql_query Message-ID: I have a query that says it returns 0.0000 and have a warning value of 2:6 and critical value of 7 and am getting a warning. This is from the debug file: [1361472169.305131] [2048.1] [pid=2302] **** BEGIN MACRO PROCESSING *********** [1361472169.305133] [2048.1] [pid=2302] Processing: '$USER1$/check_mysql_query --hostname=$ARG1$ --port =$ARG2$ --database=$ARG3$ --username=$ARG4$ --password=$ARG5$ --warning=$ARG6$ --critical=$ARG7$ --quer y=$ARG8$' [1361472169.305154] [2048.1] [pid=2302] Done. Final output: '/export/nagios/libexec/check_mysql_quer y --hostname=sd-mysql --port=3308 --database=it_administration --username=ituser --password=########## - -warning=2:6 --critical=7 --query="select format(datediff(current_timestamp,UPDATE_TIME),0) from inform ation_schema.tables where TABLE_SCHEMA = 'it_administration' and TABLE_NAME = 'SD_AD_USERS'"' [1361472169.305157] [2048.1] [pid=2302] **** END MACRO PROCESSING ************* This is from the status: QUERY WARNING: 'select format(datediff(current_timestamp,UPDATE_TIME),0) from information_schema.tables where TABLE_SCHEMA = 'it_administration' and TABLE_NAME = 'SD_AD_USERS'' returned 0.000000 What am I doing wrong? Thanks, Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb -------------- 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 ck at iphh.net Mon Feb 25 11:49:02 2013 From: ck at iphh.net (Christoph Kluenter) Date: Mon, 25 Feb 2013 11:49:02 +0100 Subject: check_ping has strange error Message-ID: <20130225104902.GC24384@iphh.net> Hi, I got this alarm from Nagios: Service: PING Host: XXXX Address: XXXX State: CRITICAL Date/Time: Mon Feb 11 09:03:16 CET 2013 Additional Info: PING CRITICAL - Packet loss = -400%, RTA = 54290.29 ms Has anybody seen something like that before ? The ping can't have taken 54 Seconds, because nagios would have killed the check before. And -400% Packetloss is better than usual :) Any ideas ? Cheers, Christoph The definitions: define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } define service{ use generic-service host_name XXXX service_description PING check_command check_ping!100.0,20%!500.0,60% } -- Christoph Kluenter E-Mail: support at iphh.net Technik Tel: +49 (0)40 374919-10 IPHH Internet Port Hamburg GmbH Fax: +49 (0)40 374919-29 Wendenstrasse 408 AG Hamburg, HRB 76071 D-20537 Hamburg Geschaeftsfuehrung: Axel G. Kroeger ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick.Garland at quantum.com Mon Feb 25 15:22:46 2013 From: Rick.Garland at quantum.com (Rick Garland) Date: Mon, 25 Feb 2013 14:22:46 +0000 Subject: link to nagios from another web page Message-ID: <08A1CEF5138A9242AEB8C0A376527B55069D0E45@ppomsg2> Hi all: Nagios 3.2.3 on RHEL 5.8 I've been looking and experimenting with making a link from a web page to nagios but I have been unable to completely make it work. An example of what I have tried: href=>http://nagios/cgi-bin/extinfo.cgi?type=1&host=mysys perl cgi script. I've left out the syntax, it is correct. But what do I define as the URL address? What I would like is to have the link open nagios using a specific account and displaying a specific system. Many thanks! ---------------------------------------------------------------------- The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2310 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb -------------- 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 holger at cis.fu-berlin.de Mon Feb 25 16:00:37 2013 From: holger at cis.fu-berlin.de (Holger =?iso-8859-1?Q?Wei=DF?=) Date: Mon, 25 Feb 2013 16:00:37 +0100 Subject: ANNOUNCE: NSCA-ng Message-ID: <20130225150036.GB504758@zedat.fu-berlin.de> Today, I published an NSCA replacement (yet another one) called NSCA-ng: https://www.nsca-ng.org/ We wanted to be able to submit arbitrary commands (such as downtimes or ACKs) next to check results, so this is one of the features provided by NSCA-ng. Basically, it makes the command file accessible to remote systems, with client-specific passwords and relatively fine-grained authorization control. Check results of arbitrary size and multiline plugin output are supported just fine. The NSCA-ng client accepts all input, command line arguments, and configuration files accepted by the original send_nsca binary, so existing scripts should be able to use the new client without modification. The server can run side by side next to the old one. Holger ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick.Garland at quantum.com Mon Feb 25 16:03:06 2013 From: Rick.Garland at quantum.com (Rick Garland) Date: Mon, 25 Feb 2013 15:03:06 +0000 Subject: link to nagios from another web page Message-ID: <08A1CEF5138A9242AEB8C0A376527B55069D0EE3@ppomsg2> Hi all: (Turned off HTML for this message.) Nagios 3.2.3 on RHEL 5.8 I've been looking and experimenting with making a link from a web page to nagios but I have been unable to completely make it work. An example of what I have tried: href=>http://nagios/cgi-bin/extinfo.cgi?type=1&host=mysys ??????????? perl cgi script. I've left out the syntax, it is correct. But what do I define as the URL address? What I would like is to have the link open nagios using a specific account and displaying a specific system. Many thanks! ---------------------------------------------------------------------- The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick.Garland at quantum.com Mon Feb 25 15:57:30 2013 From: Rick.Garland at quantum.com (Rick Garland) Date: Mon, 25 Feb 2013 14:57:30 +0000 Subject: link to nagios from another web page Message-ID: <08A1CEF5138A9242AEB8C0A376527B55069D0EC9@ppomsg2> Hi all: Nagios 3.2.3 on RHEL 5.8 I've been looking and experimenting with making a link from a web page to nagios but I have been unable to completely make it work. An example of what I have tried: href=>http://nagios/cgi-bin/extinfo.cgi?type=1&host=mysys perl cgi script. I've left out the syntax, it is correct. But what do I define as the URL address? What I would like is to have the link open nagios using a specific account and displaying a specific system. Many thanks! ---------------------------------------------------------------------- The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2310 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Mon Feb 25 16:15:21 2013 From: work at paul.dubuc.org (Paul Dubuc) Date: Mon, 25 Feb 2013 10:15:21 -0500 Subject: link to nagios from another web page In-Reply-To: <08A1CEF5138A9242AEB8C0A376527B55069D0EE3@ppomsg2> References: <08A1CEF5138A9242AEB8C0A376527B55069D0EE3@ppomsg2> Message-ID: <512B8009.8080107@paul.dubuc.org> Rick Garland wrote: > Hi all: > > (Turned off HTML for this message.) > > Nagios 3.2.3 on RHEL 5.8 > > I've been looking and experimenting with making a link from a web page to > nagios but I have been unable to completely make it work. > > An example of what I have tried: > href=>http://nagios/cgi-bin/extinfo.cgi?type=1&host=mysys ??????????? perl > cgi script. I've left out the syntax, it is correct. But what do I define > as the URL address? > > What I would like is to have the link open nagios using a specific account > and displaying a specific system. > > Many thanks! > You need the host name and port (if it's not the default port) of your Nagios (web) server: http:/[:]/nagios/cgi-bin/extinfo.cgi?type=1&host=mysys e.g., http:/naghost:8004/nagios/cgi-bin/extinfo.cgi?type=1&host=mysys ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 25 16:20:18 2013 From: work at paul.dubuc.org (Paul Dubuc) Date: Mon, 25 Feb 2013 10:20:18 -0500 Subject: link to nagios from another web page In-Reply-To: <512B8009.8080107@paul.dubuc.org> References: <08A1CEF5138A9242AEB8C0A376527B55069D0EE3@ppomsg2> <512B8009.8080107@paul.dubuc.org> Message-ID: <512B8132.8080701@paul.dubuc.org> Paul Dubuc wrote: > Rick Garland wrote: >> Hi all: >> >> (Turned off HTML for this message.) >> >> Nagios 3.2.3 on RHEL 5.8 >> >> I've been looking and experimenting with making a link from a web page to >> nagios but I have been unable to completely make it work. >> >> An example of what I have tried: >> href=>http://nagios/cgi-bin/extinfo.cgi?type=1&host=mysys ??????????? perl >> cgi script. I've left out the syntax, it is correct. But what do I define >> as the URL address? >> >> What I would like is to have the link open nagios using a specific account >> and displaying a specific system. >> >> Many thanks! >> > > You need the host name and port (if it's not the default port) of your Nagios > (web) server: > > http://[:]/nagios/cgi-bin/extinfo.cgi?type=1&host=mysys > > e.g., > > http://naghost:8004/nagios/cgi-bin/extinfo.cgi?type=1&host=mysys Corrected above (left out a '/', sorry). ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Feb 26 14:23:48 2013 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Tue, 26 Feb 2013 13:23:48 +0000 Subject: Notification Question Message-ID: I am in the process of switching over from Nagios core (free) to NagiosXI. Can someone tell me where I can stop notifications temporarily until I cutover. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb -------------- 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 bmomartins at sapo.pt Tue Feb 26 15:39:21 2013 From: bmomartins at sapo.pt (Bruno Martins) Date: Tue, 26 Feb 2013 14:39:21 +0000 Subject: Notification Question Message-ID: Enable_notifications=0 in nagios.cfg Bruno Martins -------- Original message -------- Subject: [Nagios-users] Notification Question From: Edwin Zoeller To: "Nagios Users List (nagios-users at lists.sourceforge.net)" CC: I am in the process of switching over from Nagios core (free) to NagiosXI. Can someone tell me where I can stop notifications temporarily until I cutover. ? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Tue Feb 26 16:25:10 2013 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Tue, 26 Feb 2013 15:25:10 +0000 Subject: Notification Question In-Reply-To: References: Message-ID: Thanks From: Bruno Martins [mailto:bmomartins at sapo.pt] Sent: Tuesday, February 26, 2013 08:39 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Notification Question Enable_notifications=0 in nagios.cfg Bruno Martins -------- Original message -------- Subject: [Nagios-users] Notification Question From: Edwin Zoeller To: "Nagios Users List (nagios-users at lists.sourceforge.net)" CC: I am in the process of switching over from Nagios core (free) to NagiosXI. Can someone tell me where I can stop notifications temporarily until I cutover. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb -------------- 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 Tomas.Trnka at podravka.cz Wed Feb 27 08:51:07 2013 From: Tomas.Trnka at podravka.cz (=?iso-8859-2?Q?Trnka_Tom=E1=B9?=) Date: Wed, 27 Feb 2013 07:51:07 +0000 Subject: nagios checker - firefox 19 plugin not working Message-ID: <9FF505606743A947B949E2FD531AC066941AAC10@ex2010mbx1.podravka.int> Hello, I would like to ask if anyone has a problem ever since firefox version 19 has stopped working nagios checker plugin, it is a very important tool for realtime monitoring .. it is much more reliable and faster than relying solely on emails / sms .. I use nagios core version 3.2.1, status shows one unspecified error https://addons.mozilla.org/en-us/firefox/addon/nagios-checker/ ________________________________ PRIVILEGE AND CONFIDENTIALITY NOTICE This message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If you are not the intended recipient, you are hereby notified that any use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and delete it without reading from your computer. OBAVIJEST O POVLA?TENOSTI I POVJERLJIVOSTI PORUKE Ova poruka i svi njezini prilozi mogu sadr?avati pravno povla?tene i/ili povjerljive podatke te su isklju?ivo namijenjeni imenovanom Primatelju. Ukoliko niste imenovani Primatelj, ovime ste obavije?teni da je svaka neovla?tena uporaba ove poruke strogo zabranjena. Ako ste poruku primili gre?kom, molimo da odmah obavijestite Po?iljatelja, te da poruku i sve priloge izbri?ete sa ra?unala bez ?itanja. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.flamme at ufz.de Wed Feb 27 09:48:40 2013 From: werner.flamme at ufz.de (Werner Flamme) Date: Wed, 27 Feb 2013 09:48:40 +0100 Subject: nagios checker - firefox 19 plugin not working In-Reply-To: <9FF505606743A947B949E2FD531AC066941AAC10@ex2010mbx1.podravka.int> References: <9FF505606743A947B949E2FD531AC066941AAC10@ex2010mbx1.podravka.int> Message-ID: <512DC868.3050509@ufz.de> Trnka Tom?? [27.02.2013 08:51]: > Hello, > I would like to ask if anyone has a problem ever since firefox version 19 has stopped working nagios checker plugin, > it is a very important tool for realtime monitoring .. it is much more reliable and faster than relying solely on emails / sms .. > I use nagios core version 3.2.1, status shows one unspecified error > > https://addons.mozilla.org/en-us/firefox/addon/nagios-checker/ I'm using Nagios Checker 0.16 with "Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0" and everything works as always. Our nagmaster and nagslave are version 3.2.0, and I also watch an Icinga 1.8.x server with the plugin. There was no need to adjust the settigs other than to add the URL of the icinga host after we set it up ;-) BTW, in the meantime we also set up blosxom4nagios to have an RSS feed for all notifications - in addition to sending mail and SMS'. Regards, Werner -- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmomartins at sapo.pt Wed Feb 27 10:04:25 2013 From: bmomartins at sapo.pt (Bruno Martins) Date: Wed, 27 Feb 2013 09:04:25 +0000 Subject: nagios checker - firefox 19 plugin not working Message-ID: Working here also. Latest version of both the plugin and Nagios. Bruno Martins -------- Original message -------- Subject: Re: [Nagios-users] nagios checker - firefox 19 plugin not working From: Werner Flamme To: nagios-users at lists.sourceforge.net CC: Trnka Tom?? [27.02.2013 08:51]: > Hello, > I would like to ask if anyone has a problem ever since firefox version 19 has stopped working nagios checker plugin, > it is a very important tool for realtime monitoring .. it is much more reliable and faster than relying solely on emails / sms .. > I use nagios core version 3.2.1, status shows one unspecified error > > https://addons.mozilla.org/en-us/firefox/addon/nagios-checker/ I'm using Nagios Checker 0.16 with "Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0" and everything works as always. Our nagmaster and nagslave are version 3.2.0, and I also watch an Icinga 1.8.x server with the plugin. There was no need to adjust the settigs other than to add the URL of the icinga host after we set it up ;-) BTW, in the meantime we also set up blosxom4nagios to have an RSS feed for all notifications - in addition to sending mail and SMS'. Regards, Werner -- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Thu Feb 28 19:13:35 2013 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Thu, 28 Feb 2013 18:13:35 +0000 Subject: Note link not appearing Message-ID: Hello fellow Nagios users. I am running Nagios XI and when I add a URL link for a service in the Notes files, save it, reload it. No note appears for the service. I can only view it if I click on view from Nagios core. I am baffled. Ed -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Shankland at ricoh-rpl.com Thu Feb 28 23:00:46 2013 From: Peter.Shankland at ricoh-rpl.com (Peter.Shankland at ricoh-rpl.com) Date: Thu, 28 Feb 2013 22:00:46 +0000 Subject: AUTO: Peter Shankland is out of the office. (returning 01/03/2013) Message-ID: I am out of the office until 01/03/2013. Please contact Tom Barnes if the request is urgent: Tom Barnes tom.barnes at ricoh-rpl.com 01952 205362 Regards. Note: This is an automated response to your message "[Nagios-users] Note link not appearing" sent on 28/02/2013 18:13:35. This is the only notification you will receive while this person is away. ________________________________________ Peter Shankland TECHNICAL SPECIALIST IT DEPARTMENT Ricoh UK Products Limited Priorslee Telford, TF2 9NS UK Tel: +44 (0) 1952 290090 DD:+44 (0) 1952 205160 F:+44 (0) 1952 213100 M:+44 (0) 7919 444077 Peter.Shankland at ricoh-rpl.com (Embedded image moved to file: pic10225.gif) (Embedded image moved to file: pic20331.jpg) Please do not print this email unless absolutely necessary in order to save paper and energy, and you will contribute to resource conservation and CO2 reduction. This email including attachments is intended for the addressee(s) only. It may be labelled confidential/ private and contain confidential/private information. Please respect the wishes of the sender in the way you treat this email and the information contained within. If in doubt clarify the wishes of the sender before acting. If you have received this email in error, you may not review, copy or forward this message in whole or in part. Ricoh UK Products employees should delete from their system and notify us of the error via the ISMS Security Incident Reporting database. External recipients should delete from their system and alert us via email, advising the name of the sender and the time and date of receipt. Any views expressed in this email may not necessarily reflect those of Ricoh UK Products Ltd. You should ensure that the onward transmission, opening or use of this message or attachments will not adversely affect your system or data and carry out anti-virus checks before downloading. Internet communications are not secure and therefore Ricoh UK Products Ltd accepts no responsibility for any direct, indirect or consequential damage resulting from the transmission of this message. Registered in England No. 1763860 Registered Office: Ricoh UK Products Limited, Priorslee, Telford, Shropshire, TF2 9NS -------------- next part -------------- A non-text attachment was scrubbed... Name: pic10225.gif Type: image/gif Size: 2190 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic20331.jpg Type: image/jpeg Size: 7544 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb -------------- 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 jonas at freesources.org Thu Feb 28 22:49:23 2013 From: jonas at freesources.org (Jonas Meurer) Date: Thu, 28 Feb 2013 22:49:23 +0100 Subject: Questions about Nagios quick search In-Reply-To: References: Message-ID: <512FD0E3.8080307@freesources.org> Am 20.02.2013 16:13, schrieb Jonas Meurer: > Hello, Hey again, > we're using Nagios as monitoring system for several hundred systems. > While navigating through hosts and services, recently two questions > regarding the quick search (in navigation bar) raised: > > 1/ Why doesn't nagios search for host aliases as well? Is it possible > to enable alias searching? We're using rather short values for > host_name, and tend to add information like server position to the > alias. Thus searching for host_name and alias would be awesome for us. > > 2/ When searching for IP addresses, only the first match is returned. > In some cases (e.g. NRPE Port forwarding through firewall), several > hosts have the same IP address. For these cases it's rather irritating, > that only the first matching host is returned. > > Looking forward to see your answers. Any comments on those questions? Even if all my assumptions are right, and Nagios doesn't support alias or extended IP-address search right now, a quick confirmation would be great. Kind regards, jonas ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null