Re: [Nagios-users] R: check_udp error message
You need to send a message that the listening daemon will understand. The check_snmp plugin speaks the SNMP language so it knows how to construct a packet that snmpd will understand. I imagine an OID is a requirement for check_snmp, as well as community string or security credentials, those are all part of the send. If you want to use check_udp for this, then you have to construct that packet yourself. On the flip-side, you should know the expected response to a known query. If you make an SNMP request for .1.3.6.1.2.1.1.4.0 you should expect a string from the syscontact line from your snmpd.conf in response. Just like you would use check_http rather than check_tcp for an Apache service, it's probably best to use a custom program like check_dns rather than check_udp to check a DNS service. In the case of SNMP, I prefer to use or write scripts that are specific to what I'm polling rather than using a generic request/response program. For instance, a program like check_snmp_load.pl could be alot more robust than running check_snmp -o .1.3.6.1.4.1.2021.10.1.3.1 alone. -f On Thu, 5 Sep 2013, Marco Borsani wrote: Date: Thu, 5 Sep 2013 09:06:38 +0200 From: Marco Borsani m.bors...@it.net Reply-To: Nagios Users List nagios-users@lists.sourceforge.net To: 'Andreas Ericsson' a...@op5.se, 'Nagios Users List' nagios-users@lists.sourceforge.net Subject: [Nagios-users] R: check_udp error message Ok, but what can I send and receive to/from the host? I also tried old version of check_udp (that does not need any string), but I read : No data was recieved from host! No response from host on port XX Or simply: No response from host on port XX I see another strange situation. On port 161 I can use check_snmp (work correctly), but if I use check_udp on port 161 it does not work at all ! How can be possible ? Regards -Messaggio originale- Da: Andreas Ericsson [mailto:a...@op5.se] Inviato: marted? 3 settembre 2013 15:54 A: Nagios Users List Cc: Marco Borsani Oggetto: Re: [Nagios-users] check_udp error message On 2013-09-03 12:33, Marco Borsani wrote: Hi all I need to control many UDP ports. I run the command: ./check_udp ?H IP_ADDRESS ?p 88 I receive following error message (with state UNKNOWN) : With UDP checks, a send/expect string must be specified Can anyone help me to solve it? Those parameters should be optional.. UDP is a connection-less protocol. The expect string could indeed be optional, and we could just expect to get something at all back when we send something, but without sending anything we won't even touch the network, so the remote host has no idea that we're trying to talk to it and we won't know if the port is up. That's why send, at least, is not optional. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] rpmbuild nagios-3.5.0
Just speaking for myself here, in my experience distro-level packaging usually isn't part of a project's goals and can be an extreme distraction considering the vast number of distros out there, all with their own little quirks. Spec files and other contrib items work their way into source trees and are useful until the 3rd party API changes and the original maintainers lose interest. I'd look into the checkin history of the spec file to see if anyone has been making regular updates. Or even easier, go get the SRPM from EPEL, which is known to work, and alter it as you see fit for your purposes. -f On Wed, 24 Jul 2013, alexus wrote: thank you for your recommendation) although I'd really like to know why it was ok on 3.2.3 and not ok going forward (seems like a bug to me that needed to be reported back to nagios folks). On Wed, Jul 24, 2013 at 10:42 AM, Trond Hasle Amundsen t.h.amund...@usit.uio.no wrote: alexus ale...@gmail.com writes: I'm unable to build RPM w/ nagios 3.5.0, last one that worked for me was 3.2.3. any ideas/suggestions? I'd recommend using the already prebuilt package for rhel6 which is available from EPEL[1]. Add the EPEL repo and you can simply do yum install nagios and be done :) [1] http://fedoraproject.org/wiki/EPEL Cheers, -- Trond H. Amundsen t.h.amund...@usit.uio.no Center for Information Technology Services, University of Oslo -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- http://alexus.org/ -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] How to send text notification
We happily use the MultiTech SF100-G and a script to interact with the API. Frank -Original Message- From: Steve Burton [mailto:st...@sliderule.demon.co.uk] Sent: Wednesday, July 10, 2013 8:57 PM To: Nagios Users List Subject: Re: [Nagios-users] How to send text notification On 11 July 2013 02:12:02, , Roy wrote: Hi, Anyone can help me to setup SMS notification from Nagios Thanks -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null I think this is visible to all... http://c59951.r51.cf2.rackcdn.com/5435-212-josephsen.pdf Describes one method of integrating SMS into Nagios. -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] retry_interval versus retry_check_interval
Thanks for confirming. Frank -Original Message- From: Justin T Pryzby [mailto:just...@norchemlab.com] Sent: Friday, July 05, 2013 4:34 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] retry_interval versus retry_check_interval On Fri, Jul 05, 2013 at 02:07:15PM -0500, Frank Bulk wrote: I've found online documentation that talks about retry_interval and other pages that talk about retry_check_interval. Are they the same thing of different, or are there a host of pages that have the wrong info? I believe retry_check_interval is the old name. It may still be supported. The two names currently used are retry_interval and check_interval. http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service Justin -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] retry_interval versus retry_check_interval
I've found online documentation that talks about retry_interval and other pages that talk about retry_check_interval. Are they the same thing of different, or are there a host of pages that have the wrong info? Regards, Frank -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] High Availabilty with Nagios
While HA can be a great thing I've always been of the opinion that a monitoring setup needs to have as few moving parts as possible. The more complexity to the monitor, the more chance you'll be chasing monitoring issues rather than site issues. And everthing you add on top of the monitor also needs to be monitored. So somehow that F5 is going to need an out-of-band monitor because if it dies then your Nagios host may well not have a way to contact you about it unless you've dual homed it which brings up a whole other set of issues. The closest I got to HA at my last gig was creating a CNAME for the active Nagios host so in a failover you point the CNAME to the new box and at least passive checks can still roll in (after DNS timeout of course, which I say is better than reconfiging every NSCA clent). -f On Thu, 9 May 2013, Steve Shipway wrote: Date: Thu, 9 May 2013 09:19:17 + From: Steve Shipway s.ship...@auckland.ac.nz Reply-To: Nagios Users List nagios-users@lists.sourceforge.net To: nagios-users@lists.sourceforge.net nagios-users@lists.sourceforge.net Subject: [Nagios-users] High Availabilty with Nagios Does anyone have an HA setup for Nagios that works? I'm thinking of creating a NEB module that will link two Nagios setups, and replicate over all status changes, config changes, downtime, comments, etc etc and then set the 'standby' Nagios to be checks/notifications disabled when in standby mode, and enabled when in active mode. Then put the two behind a failover load balancer (F5, Foundry or apache reverse proxy). However this would be too much work if someone else has already found an equivalent solution. I've looked at Merlin but it doesn't seem to do what I'm after (and the documentation is practically nonexistant - much the same as the NEB API documentation, in fact). Mod_gearman lets me have redundant checks and replicate *active* checks, but not commands, downtime or passive checks. Does anyone out there have a workable way to get an active/standby or active/active Nagios setup? Would be interested in hearing all ideas... Steve Steve Shipway University of Auckland ITS UNIX Systems Design Lead s.ship...@auckland.ac.nz Ph: +64 9 373 7599 ext 86487 -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] check_http fails on Cisco ASA
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 ip -S -v GET / HTTP/1.1 User-Agent: check_http/v1.4.15 (nagios-plugins 1.4.15) Connection: close Host: ip CRITICAL - Socket timeout after 10 seconds nagios:/usr/lib/nagios/plugins# = nagios:/usr/lib/nagios/plugins# wget https://ip --no-check-certificate --2013-01-31 22:31:39-- https://ip/ Connecting to ip:443... connected. WARNING: cannot verify ipâs certificate, issued by â/CN=host/unstructuredName=hostâ Self-signed certificate encountered. WARNING: certificate common name âhostâipâ HTTP request sent, awaiting response... 302 Object Moved Location: /+CSCOE+/logon.html [following] --2013-01-31 22:31:39-- https://ip/+CSCOE+/logon.html Connecting to ip:443... connected. WARNING: cannot verify ipâs certificate, issued by â/CN=host/unstructuredName=hostâ Self-signed certificate encountered. WARNING: certificate common name âhostâipâ 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://ip --insecure -v * About to connect() to ip port 443 (#0) * Trying ip... connected * Connected to ip (ip) 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=host; unstructuredName=host *start date: 2010-02-03 00:10:30 GMT *expire date: 2020-02-01 00:10:30 GMT *common name: host (does not match 'ip') *issuer: CN=host; unstructuredName=host *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: ip 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 ip 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_http fails on Cisco ASA
That was it thanks! Frank From: Travis Runyard [mailto:travisruny...@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 ip -S The -H is for hostnames On Thu, Jan 31, 2013 at 8:35 PM, Frank Bulk frnk...@iname.com mailto:frnk...@iname.com 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 ip -S -v GET / HTTP/1.1 User-Agent: check_http/v1.4.15 (nagios-plugins 1.4.15) Connection: close Host: ip CRITICAL - Socket timeout after 10 seconds nagios:/usr/lib/nagios/plugins# = nagios:/usr/lib/nagios/plugins# wget https:// https://%3cip ip --no-check-certificate --2013-01-31 22:31:39-- https:// https://%3cip%3e/ ip/ Connecting to ip:443... connected. WARNING: cannot verify ipâs certificate, issued by â/CN=host/unstructuredName=hostâ Self-signed certificate encountered. WARNING: certificate common name âhostâipâ HTTP request sent, awaiting response... 302 Object Moved Location: /+CSCOE+/logon.html [following] --2013-01-31 22:31:39-- https:// https://%3cip%3e/+CSCOE+/logon.html ip/+CSCOE+/logon.html Connecting to ip:443... connected. WARNING: cannot verify ipâs certificate, issued by â/CN=host/unstructuredName=hostâ Self-signed certificate encountered. WARNING: certificate common name âhostâipâ 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:// https://%3cip ip --insecure -v * About to connect() to ip port 443 (#0) * Trying ip... connected * Connected to ip (ip) 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=host; unstructuredName=host *start date: 2010-02-03 00:10:30 GMT *expire date: 2020-02-01 00:10:30 GMT *common name: host (does not match 'ip') *issuer: CN=host; unstructuredName=host *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 http://1.2.3.4 libidn/1.15 libssh2/1.2.5 Host: ip 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 ip 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@lists.sourceforge.net mailto:Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Can't get service failure(warning) to send notification
You can set up different checks looking for different failures. Frank -Original Message- From: James Pifer [mailto:jamespi...@hotmail.com] Sent: Wednesday, October 17, 2012 7:31 PM To: Nagios Users List Subject: Re: [Nagios-users] Can't get service failure(warning) to send notification So at this point the service notification is working, but the problem is the notification itself does not tell me about the service issue. For example, it was a Critical event with Connection refused. Now I have the web server running and it's a Warning event with HTTP WARNING: HTTP/1.1 404 Not Found - 1428 bytes in 0.044 second response time, but the notification itself looks no different. Is it possible to configure the notification to include more information? Thanks James -- 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_sfd2d_oct ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- 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_sfd2d_oct ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Repeating event handler in hard service state....
Simple script in cron... -Original Message- From: Peter Kaagman [mailto:p.kaag...@atlascollege.nl] Sent: Monday, October 08, 2012 9:17 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Repeating event handler in hard service state Hi there list, As I understand service specific event handlers are triggered for every state change whenever a server is in a SOFT state, and once when a service enters a HARD state. Problem is that I have a service (an IPSEC tunnel) which is dependent on an outside source. If the outside party fails (whenever they do updates once a week) I actually kill the tunnel when attempting a restart. To solve this I would like to keep trying the restart. I could do this in a SOFT state by increasing the max check attempts to a higher number... but than I would never get a notification. Letting the service go to a HARD state (to get the notification) would limit the restart attempt to just the one event when the service enters the HARD state. I think there are 2 possibilities: - Keep the service in a SOFT state and send out a notification on attempt X. - Let the service go to a HARD state but keep on trying the restart. Is there anyway I could achieve this? Or am I completely missing something. Peter -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] sms notifications
I followed this article: http://www.linuxjournal.com/magazine/using-sms-server-provide-robust-alertin g-service-nagios Let me know if you run stuck. Frank From: Frater, Greg J [mailto:gjfra...@bechtel.com] Sent: Tuesday, September 11, 2012 4:37 PM To: Nagios Users List Cc: frnk...@iname.com Subject: RE: [Nagios-users] sms notifications Hi Frank, We just bought the MultiTech MultiModem iCell and need to interface it to Nagios. Care to share what your using (home grown script, SMS gateways, etc.) to send alerts from Nagios through your iSMS? Thanks, -greg From: Frank Bulk [mailto:frnk...@iname.com] Sent: Wednesday, February 01, 2012 6:55 PM To: NAGIOS Subject: Re: [Nagios-users] sms notifications We use the MultiTech MultiModem iSMS - works great. Frank From: Marco Borsani [mailto:m.bors...@it.net] mailto:[mailto:m.bors...@it.net] Sent: Wednesday, February 01, 2012 9:04 AM To: NAGIOS Subject: [Nagios-users] sms notifications Hi all To send sms notifications, I am using since 2003 a couple of radiomodem, connected via serial to my server and smstools SW. Now, I need something stronger compared that configuration because for specific checks I have to send many and many sms at the same time. What can I use ? Regards Marco -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios and IPv6
I had to add some check command templates to checkcommands.cfg to force IPv6 to be used (typically the -6 option), otherwise the hostname would resolve to A or and I wouldn’t know what was working. Frank From: Nair [mailto:vman...@rediffmail.com] Sent: Tuesday, July 03, 2012 12:50 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios and IPv6 Friends I have Nagios 3.0.x configured to nsca and nrpe checks. I am planning get few IPv6 only hosts. And i use host file or dns for ipv6 host resolution. I could see few pathes with respect to nsca and nrpe for ipv6 support. And i could see some ipv4 hosts having issuing communicating once its patched. Any advice on same? Also do i need to patch nagioa for ipv6 support? Thanks in advance. Nair. http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle? Follow Rediff Deal ho jaye! http://track.rediff.com/click?url=___http://dealhojaye.rediff.com?sc_cid=rediffmailsignature___cmp=signaturelnk=rediffmailsignaturenewservice=deals to get exciting offers in your city everyday. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Plugin to Monitor Network Interface
+1 From: Randal, Phil [mailto:phil.ran...@hoopleltd.co.uk] Sent: Thursday, May 31, 2012 6:38 AM To: Nagios Users List Subject: Re: [Nagios-users] Plugin to Monitor Network Interface If you've SNMP enabled on your servers, easiest way is via check_iftraffic3.pl It would help if you specified which operating system(s) the monitored box(es) run(s). Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT Tel: 01432 260415 | Email: phil.ran...@hoopleltd.co.uk From: vishesh kumar [mailto:linuxtovish...@gmail.com] Sent: 31 May 2012 11:57 To: Nagios Users List Subject: [Nagios-users] Plugin to Monitor Network Interface Hi Members, I want to set php4nagios to display input/output graph via nagios . I need your suggestion on what plugin i should use to monitor network traffic on a particular interface . Thanks Vishesh Kumar 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. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_http fails for two Sprint sites
FYI: Sprint did something this morning such that those sites are now checking cleanly with check_http. Frank From: Frank Bulk [frnk...@iname.com] Sent: Friday, February 24, 2012 8:27 AM To: 'Paul Dubuc'; 'Nagios Users List' Subject: RE: [Nagios-users] check_http fails for two Sprint sites Yes, I did -- no go. You can test it yourself -- there's nothing special about where I'm testing it from. =) It's clear that check_http is choking on it, and I suspect it's because it redirects to a secure version of the site. Frank -Original Message- From: Paul Dubuc [mailto:w...@paul.dubuc.org] Sent: Friday, February 24, 2012 8:26 AM To: frnk...@iname.com; Nagios Users List Subject: Re: [Nagios-users] check_http fails for two Sprint sites Frank Bulk wrote: Starting this morning two IPv6 sites, www.sprint.net and www.sprintv6.net failed to pass check_http. What's strange is that the v4 version of www.sprint.net also fails. I see that there are 302's (redirection) to the secure version of the site, but using the '-f follow' command doesn't help, either. It seems that if the site one being is redirected to is secure that the check command fails. Did you try any of the other options for -f, like '-f sticky' or '-f stickyport'? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Transient errors
Yes, we have to make the same kinds of tweaks in our environment. Sometimes I've had to develop a new plugin or monitor different elements that will alert me to the situation more quickly. Frank -Original Message- From: Andreas Ericsson [mailto:a...@op5.se] Sent: Friday, March 02, 2012 4:15 AM To: Nagios Users List Subject: Re: [Nagios-users] Transient errors On 03/01/2012 10:38 PM, David Dyer-Bennet wrote: I see a lot of transient errors on services and hosts I'm monitoring. Hence finding ways to keep notifications from going out on situations that will resolve themselves are kind of an issue. I've played with how many failures in a row are needed to cause a notification, and have that set differently for things I'm monitoring across long links (Beijing, say) compared to things I'm monitoring locally or in New York. Of course, one problem with that is that it makes it take longer before a real problem causes a notification. Right now it takes over 15 minutes for the total failure of our link to Beijing to cause a notification. For things that are numeric values, I can play with the critical and warning ranges to potentially reduce false positives. That, at least, doesn't slow down recognition of total failures. Some things just don't seem to fit the Nagios model -- for example it's quite normal for the SQL server to pull 100% of the cpu for periods now and then, but if it goes on too long, *that's* unusual. Hmm; I suppose I could override the number of failures needed to cause a notification in the service definition for htose, couldn't I? There may be some things I should just stop monitoring (there aren't clear-cut okay and bad behaviors that I can quantify). I guess I'm wondering if there are useful basic approaches to handling this problem that I'm missing, or if I just need to work through the details more carefully. I'm startled at how often I get isolated failures for no apparent reason. Is that normal for most people monitoring services? I think I'm finding my connections time out now and then due simply to load, without the load actually being at all high. Apart from the great writeup Mark wrote, I'd like to add that you can also set first_notification_delay for both hosts and services. That will make the services and hosts appear red and critical in the ui, but it will delay notifications for AT LEAST the specified amount of time (multiplied with interval_length, so usually it means minutes). I've stressed AT LEAST, since first_notification_delay requires that a check is run in order to trigger the notification, so the delay could sometimes be greater than what you specify. Some people are a bit freaked out by that, so you'd best know it before you start using it. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null smime.p7s Description: S/MIME cryptographic signature -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Check multiple ports of a switch with snmp
I would suggest looking at this script: http://nagios.manubulon.com/snmp_int.html Frank -Original Message- From: Mester [mailto:mes...@freemail.hu] Sent: Saturday, March 03, 2012 12:24 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Check multiple ports of a switch with snmp Hi All, I try to check our switch for bad packets. I have succesfully made the configuration file, but for some reason it always sais SNMP OK. This is the command I use for checking: /usr/local/nagios/libexec/check_snmp -H ip_address -C name -o ifInErrors.101 -w 10 -c 100, -o ifInErrors.102 -w 10 -c 100 -o ifInErrors.103 -w 10 -c 100, -o ifInErrors.104 -w 10 -c 100 And the result is: SNMP OK - 0 20 0 0 | RFC1213-MIB::ifInErrors.101=0c RFC1213-MIB::ifInErrors.102=20c RFC1213-MIB::ifInErrors.103=0c RFC1213-MIB::ifInErrors.104=0c As you can see I have bad backets on the second port of the switch (102), but for some reason the -w and -c part of the command only check the first number of the returned string. (In this case this is 0 so it thinks everything is ok) If I put the bad port on the first place it reports warning: /usr/local/nagios/libexec/check_snmp -H ip_address -C name -o ifInErrors.102 -w 10 -c 100, -o ifInErrors.101 -w 10 -c 100 -o ifInErrors.103 -w 10 -c 100, -o ifInErrors.104 -w 10 -c 100 SNMP WARNING - *20* 0 0 0 | RFC1213-MIB::ifInErrors.102=20c RFC1213-MIB::ifInErrors.101=0c RFC1213-MIB::ifInErrors.103=0c RFC1213-MIB::ifInErrors.104=0c So is there a way to check the whole array of result and no only the first number of it? Attila Mesterhazy -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null smime.p7s Description: S/MIME cryptographic signature -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_http fails for two Sprint sites
Yes, I did -- no go. You can test it yourself -- there's nothing special about where I'm testing it from. =) It's clear that check_http is choking on it, and I suspect it's because it redirects to a secure version of the site. Frank -Original Message- From: Paul Dubuc [mailto:w...@paul.dubuc.org] Sent: Friday, February 24, 2012 8:26 AM To: frnk...@iname.com; Nagios Users List Subject: Re: [Nagios-users] check_http fails for two Sprint sites Frank Bulk wrote: Starting this morning two IPv6 sites, www.sprint.net and www.sprintv6.net failed to pass check_http. What's strange is that the v4 version of www.sprint.net also fails. I see that there are 302's (redirection) to the secure version of the site, but using the '-f follow' command doesn't help, either. It seems that if the site one being is redirected to is secure that the check command fails. Did you try any of the other options for -f, like '-f sticky' or '-f stickyport'? -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] check_http fails for two Sprint sites
Starting this morning two IPv6 sites, www.sprint.net and www.sprintv6.net failed to pass check_http. What's strange is that the v4 version of www.sprint.net also fails. I see that there are 302's (redirection) to the secure version of the site, but using the '-f follow' command doesn't help, either. It seems that if the site one being is redirected to is secure that the check command fails. I'm running check_http version 1.4.15. Here's my output: == nagios:/etc/nagios3# nagios:/etc/nagios3# /usr/lib/nagios/plugins/check_http -H www.sprint.net -4 CRITICAL - Socket timeout after 10 seconds nagios:/etc/nagios3# nagios:/etc/nagios3# wget -4 www.sprint.net --2012-02-23 17:52:06-- http://www.sprint.net/ Resolving www.sprint.net... 208.24.22.50 Connecting to www.sprint.net|208.24.22.50|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://www.sprint.net/ [following] --2012-02-23 17:52:06-- https://www.sprint.net/ Connecting to www.sprint.net|208.24.22.50|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: âindex.html.4â [ = ] 16,997 --.-K/s in 0.05s 2012-02-23 17:52:06 (348 KB/s) - âindex.html.4â nagios:/etc/nagios3# == nagios:/etc/nagios3# /usr/lib/nagios/plugins/check_http -H www.sprint.net -6 CRITICAL - Socket timeout after 10 seconds nagios:/etc/nagios3# nagios:/etc/nagios3# wget -6 www.sprint.net --2012-02-23 17:54:49-- http://www.sprint.net/ Resolving www.sprint.net... 2600:: Connecting to www.sprint.net|2600::|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://www.sprint.net/ [following] --2012-02-23 17:54:49-- https://www.sprint.net/ Connecting to www.sprint.net|2600::|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: âindex.html.5â [ = ] 17,739 --.-K/s in 0s 2012-02-23 17:54:49 (174 MB/s) - âindex.html.5â nagios:/etc/nagios3# == -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_http fails for two Sprint sites
So if wget can follow redirects from insecure to secure sites, why can't check_http? Frank -Original Message- From: Joerg Linge [mailto:pitchf...@ederdrom.de] Sent: Thursday, February 23, 2012 11:40 PM To: Nagios Users List Subject: Re: [Nagios-users] check_http fails for two Sprint sites Hi Frank, your side does not respond to http requests OMD[gearman]:~$ ./lib/nagios/plugins/check_http -6 -H www.sprint.net CRITICAL - Socket timeout after 10 seconds OMD[gearman]:~$ ./lib/nagios/plugins/check_http -H www.sprint.net CRITICAL - Socket timeout after 10 seconds HTTPS works well OMD[gearman]:~$ ./lib/nagios/plugins/check_http -6 -S -H www.sprint.net HTTP OK: HTTP/1.1 200 OK - 18004 bytes in 0.744 second response time |time=0.743648s;;;0.00 size=18004B;;;0 OMD[gearman]:~$ ./lib/nagios/plugins/check_http -S -H www.sprint.net HTTP OK: HTTP/1.1 200 OK - 18004 bytes in 0.736 second response time |time=0.735588s;;;0.00 size=18004B;;;0 wget redirects directly to HTTPS OMD[gearman]:~$ wget www.sprint.net --2012-02-24 06:37:35-- http://www.sprint.net/ Resolving www.sprint.net... 2600::, 208.24.22.50 Connecting to www.sprint.net|2600::|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://www.sprint.net/ [following] --2012-02-24 06:37:36-- https://www.sprint.net/ Connecting to www.sprint.net|2600::|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: index.html 2012-02-24 06:37:37 (1.31 MB/s) - index.html saved [17739] Joerg Am 24.02.2012 um 00:58 schrieb Frank Bulk: Starting this morning two IPv6 sites, www.sprint.net and www.sprintv6.net failed to pass check_http. What's strange is that the v4 version of www.sprint.net also fails. I see that there are 302's (redirection) to the secure version of the site, but using the '-f follow' command doesn't help, either. It seems that if the site one being is redirected to is secure that the check command fails. I'm running check_http version 1.4.15. Here's my output: == nagios:/etc/nagios3# nagios:/etc/nagios3# /usr/lib/nagios/plugins/check_http -H www.sprint.net -4 CRITICAL - Socket timeout after 10 seconds nagios:/etc/nagios3# nagios:/etc/nagios3# wget -4 www.sprint.net --2012-02-23 17:52:06-- http://www.sprint.net/ Resolving www.sprint.net... 208.24.22.50 Connecting to www.sprint.net|208.24.22.50|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://www.sprint.net/ [following] --2012-02-23 17:52:06-- https://www.sprint.net/ Connecting to www.sprint.net|208.24.22.50|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: âindex.html.4â [ = ] 16,997 --.-K/s in 0.05s 2012-02-23 17:52:06 (348 KB/s) - âindex.html.4â nagios:/etc/nagios3# == nagios:/etc/nagios3# /usr/lib/nagios/plugins/check_http -H www.sprint.net -6 CRITICAL - Socket timeout after 10 seconds nagios:/etc/nagios3# nagios:/etc/nagios3# wget -6 www.sprint.net --2012-02-23 17:54:49-- http://www.sprint.net/ Resolving www.sprint.net... 2600:: Connecting to www.sprint.net|2600::|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://www.sprint.net/ [following] --2012-02-23 17:54:49-- https://www.sprint.net/ Connecting to www.sprint.net|2600::|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: âindex.html.5â [ = ] 17,739 --.-K/s in 0s 2012-02-23 17:54:49 (174 MB/s) - âindex.html.5â nagios:/etc/nagios3# == -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Nagios-users mailing list Nagios-users
Re: [Nagios-users] sms notifications
We use the MultiTech MultiModem iSMS - works great. Frank From: Marco Borsani [mailto:m.bors...@it.net] Sent: Wednesday, February 01, 2012 9:04 AM To: NAGIOS Subject: [Nagios-users] sms notifications Hi all To send sms notifications, I am using since 2003 a couple of radiomodem, connected via serial to my server and smstools SW. Now, I need something stronger compared that configuration because for specific checks I have to send many and many sms at the same time. What can I use ? Regards Marco -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios check frequency
Try retry_check_interval: http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg02734.html Frank -Original Message- From: Andreas Ericsson [mailto:a...@op5.se] Sent: Monday, January 23, 2012 6:20 AM To: Nagios Users List Cc: Wadud Miah (ITCS) Subject: Re: [Nagios-users] Nagios check frequency On 01/23/2012 12:48 PM, Wadud Miah (ITCS) wrote: Hello Nagios users, I would like Nagios to increase the check frequency once the service is in a critical state. For example, if a check has a frequency of every 60 minutes, once it has reached a critical state, I want the check frequency to run at, say, every 10 minutes until the check has reached an OK state. Use retry_interval. I have set the max_check_attempts to three, and wanted to know if this is the case when nrpe times out. Does it check nrpe checks 3 times even if it times out on the first attempt? That depends on how you've configured it. Timeouts doesn't matter in the slightest for Nagios' scheduling logic though, so it will run the check 3 times if that's what you've configured. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_http and other response codes
Isn't there some regex matching? Frank -Original Message- From: Morty [mailto:morty+nag...@frakir.org] Sent: Wednesday, October 12, 2011 9:46 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_http and other response codes On some of our apache servers, the normal response code is 401 (authentication required) rather than 200. I'd also like to use nagios to make sure the apache TRACE method stays disabled, with a response code of 405. Problem: check_http returns a warning if the response code is anything but 200. In the first case, both 200 and 401 are acceptable; in the latter case, I want 405 rather than 200. Is there a way to require or allow a different response code? I'm using check_http 1.4.15, as packaged with Debian 5.x. I googled, but didn't find clue. :( Thanks! - Morty -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Monitoring throughput for compression and SSL on cisco ace 4710
I would suggest looking at this MIB ftp://ftp.cisco.com/pub/mibs/v2/CISCO-L4L7MODULE-RESOURCE-LIMIT-MIB.my with a MIB browser. Frank -Original Message- From: Jonathan Aquilina [mailto:eagles051...@gmail.com] Sent: Wednesday, August 03, 2011 2:07 AM To: Nagios Users List Subject: [Nagios-users] Monitoring throughput for compression and SSL on cisco ace 4710 Hey guys I am trying to monitor through put for the above services and device. I was told to use the check_snmp check, but I have no idea what OID I am looking for can anyone point me in the right direction for the OID i should be using? -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check http port 80 warning on a site that actually exists.
Can you share the URL? Frank -Original Message- From: Jonathan Aquilina [mailto:eagles051...@gmail.com] Sent: Monday, July 25, 2011 7:18 AM To: Nagios Users List Subject: [Nagios-users] check http port 80 warning on a site that actually exists. I am workign with a site which i have being monitored by nagios, and for some reason when check_http runs it gets a 404, but if you go to the domain the page exists and the site exists. Would this be a false positive, and if so how can i fix it. Also another interesting matter is that when i try and run the script to check http from command line it times out even after increasing the time out timefrom the default 10 seconds to 20 for instance. Any ideas would be greatly appreciated. -- Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Fwd: parameter starting with dollar sign
(Sorry for possible reposts. I'll stop reposting the day Gmane actually works). Does anybody know how to use a parameter to a check command that starts with a dollar sign? Nagios interprets the dollar as if I want to substitute the variable with a macro. I tried escaping, but then I get a literal \ backslash. -- No part of this copyright message may be reproduced, read or seen, dead or alive or by any means, including but not limited to telepathy without the benevolence of the author. -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Fwd: parameter starting with dollar sign
Op 18-07-11 10:16, Michael Friedrich schreef: Frank Van Damme wrote: (Sorry for possible reposts. I'll stop reposting the day Gmane actually works). Does anybody know how to use a parameter to a check command that starts with a dollar sign? Nagios interprets the dollar as if I want to substitute the variable with a macro. I tried escaping, but then I get a literal \ backslash. try $$ for an escaped dollar char, like described in the docs. It gets difficult when your value is from a macro and starts with a couple dollar signs though. -- No part of this copyright message may be reproduced, read or seen, dead or alive or by any means, including but not limited to telepathy without the benevolence of the author. -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Fwd: parameter starting with dollar sign
2011/7/18 Michael Friedrich michael.friedr...@univie.ac.at: you didn't mention that in the first place. w/o any examples it will be hard to guess. true. I was hoping for some generic escaping rules :) dollars at the start have a meaning. -- Frank Van Damme No part of this copyright message may be reproduced, read or seen, dead or alive or by any means, including but not limited to telepathy without the benevolence of the author. -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Sending notifications from the US to NL
I use SIM that has unlimited texting for $10 or $15 a month. I used MultiTech's iSMS (http://www.multitech.com/en_US/PRODUCTS/Families/MultiModemiSMS/) with a Perl script I found online. Frank -Original Message- From: Fournier, Wim [mailto:wfourn...@comscore.com] Sent: Wednesday, July 06, 2011 2:19 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Sending notifications from the US to NL Hi all, How would one go about sending notifications from a datacenter in the US to the engineers on call in the Netherlands? I'd like to avoid using the Internet, as the location may be having networking issues when it tries to notify the engineers. I was thinking about SMS using the GSM network, like we do in NL, but isn't there a huge delay in delivering those messages overseas? And how is the coverage of GSM in the US? Also, if GSM is indeed the way to go, does anyone have some hints on hardware that works well in the US? Kind regards, Wim Fournier -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Getting re-notified while in a HARD state
I have a few existing and self-developed plugins that output details of the HARD state: CRITICAL: critical 1, warning 1 Detail 1 Detail 2 What I'd like to do is to be able to be re-notified if, while in the HARD state, the number and/or details change. For example, if the above would go to: CRITICAL: critical 2, warning 1 Detail 1 Detail 2 Detail 3 Anyone have an approach that works? The documentation doesn't indicate it's possible, but I'm sure others have encountered this before and perhaps they've worked through a solution. Kind regards, Frank -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_snmp_load.pl best linux practices
On my installation I added code to the SNMP load check to count the CPU cores via SNMP and set WARN to 1.25*cores and CRIT to 1.5*cores (for any/all load values). Seems to be working ok. Haven't had any complaints from the NOC for excessive alerting. -f On Wed, 9 Mar 2011, Robert Eden wrote: Date: Wed, 09 Mar 2011 14:33:13 -0600 From: Robert Eden rme...@gmail.com Reply-To: Nagios Users List nagios-users@lists.sourceforge.net To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_snmp_load.pl best linux practices I'm currently experimenting with using check_snmp_load.pl to alarm on system overload. Monitoring CPU usage is giving me a lot of false alarms due to their instantaneous nature. I'm getting good results by using the NETSL option to report load averages. I'm setting '-c 99,4,10' to basically ignore the 1 minute value and alarm on 5 and 15 minutes. Unfortunately, unlike the CPU percentages, the load numbers should be based on the number of processors. The NETSL option doesn't do that. One option is to have a series of service commands based on the number of processors, but I'm considering writing a new mode that will using the STAND option to get the number of CPUs and then use that as a multiplication factor for alarms. Does that make sense? Surely others have run into this problem. How do you alarm on excessive load w/o causing lots of false alarms. Robert -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nagios.cmd permission issue
I have a fairly complicated setup at work where I don't have the option of changing groups around system-wide so what I do is edit the startup file instead. You could edit the start() function to have an explicit chgrp on the command-pipe to whatever group you need for your setup (after the daemon has been started of course so the command-pipe file exists). We use chgrp apache /var/log/nagios/rw/nagios.cmd. It's a bit of a kludge but it works! Another possibility is that your setup is just fine but the nagcmd group (of which both the apache and nagios users should be a member) was created after your apache process was already running. In this case you just need to restart apache so it can pick up its new group permissions. -f On Sun, 3 Oct 2010, Ilan Berkner wrote: Date: Sun, 3 Oct 2010 02:55:25 -0400 From: Ilan Berkner iberk...@gmail.com Reply-To: Nagios Users List nagios-users@lists.sourceforge.net To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] nagios.cmd permission issue Hi, New to Nagios... Got everything pretty much running, except when I try to modify things using the web interface, I get this error: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit your command for processing. This is clearly a permission issue as when I manually change the permissions of the /rw/nagios.cmd to 777 for example, it works fine. When the service is restarted and the pipe is recreated though, the permissions are re-set. I am running the nginx web server, not apache. SELinux is disabled. The rw directory has 777 permissions and is owned by the nagios user and group. The Nginx server runs under a different user / group and this could be the issue. However, I tried to set up the rw directory with that user and group and still no luck. Help? -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] automated response
I will be out of the office from 28 Apr to 04 May. If you are in need of immediate assistance, please contact Informatics at 319-363-3795. -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_by_ssh failing - host key verification failed
Add -o StrictHostKeyChecking=no to your check_by_ssh command line. Or you can edit ~nagios/.ssh/known_hosts, remove the line for that host, then su to the nagios user and manually ssh to the host. Type yes when it asks you about the host key. -f On Tue, 20 Apr 2010, O'Donnell, Robert L wrote: Date: Tue, 20 Apr 2010 16:18:05 -0700 From: O'Donnell, Robert L robert.l.odonn...@intel.com Reply-To: Nagios Users List nagios-users@lists.sourceforge.net To: nagios-users@lists.sourceforge.net nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_by_ssh failing - host key verification failed No joy in Mudville. I can ssh interactive as user nagios with both the ip address and the name of the target machine. Also, my .cfg file does define the host name and address Define host{ Use linux-server Host_name (machine_name) Alias (machine_name) Address (machine_ip) Notes x Notes_url (internal_wiki_web_link) I also tried to change the command.cfg command_line to check_by_ssh -H $HOSTADDRESS$ ... to $HOSTNAME$ with no impact. Any help would be GREATLY appreciated, as I have been banging my head on this for over a week. That said, I know a LOT more about ssh and DSA security than I did last week. Hi O'Donnell,! On Wed, 14 Apr 2010, O'Donnell, Robert L wrote: Giorgio, Yes. Ssh (remote_machine_ip) -l nagios ?I /etc/nagios/.ssh/id_dsa logs me in with prompt ?nagios@(remote_machine_name):~? and whoami returns nagios. I see that you're logging in by IP, but in the config snippet you included previously there was no IP defined in the host definition, so $HOSTADDRESS$ will expand to the same value as host_name. You'll need to log in using the same exact address (in this case, name) Nagios will be using to create an entry in your known_hosts file that matches what Nagios will be using. == If u try an ssh login from Nagios box to the remote box, u can login without been asked for a password? Ciao, Giorgio Il giorno 14/apr/2010, alle ore 23.15, O'Donnell, Robert L robert.l.odonn...@intel.com ha scritto: Running nagios 3.0.6 on OpenSUSE and trying to get info from a SUSE enterprise machine. Chk_by_ssh returns UNKNOWN and Remote command execution failed: Host key verification failed, check_ping works. I have played with every combo of options I could think of, but same results. This is my first setup with remote checks on a linux machine (windows machine checks working fine), so it could be a newb problem. (from commands.cfg) # check_ssh_dummy command definition define command{ command_name check_ssh_dummy command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -l nagios -2 \ -I /etc/nagios/.ssh/id_dsa -C /usr/lib/nagios/plugins/check_dummy 0 } I took out the desired response text to eliminate possible double quote issues, but it made no difference === Running nagios 3.0.6 on OpenSUSE and trying to get info from a SUSE enterprise machine. Chk_by_ssh returns UNKNOWN and Remote command execution failed: Host key verification failed, check_ping works. I have played with every combo of options I could think of, but same results. This is my first setup with remote checks on a linux machine (windows machine checks working fine), so it could be a newb problem. (from commands.cfg) # check_ssh_dummy command definition define command{ command_name check_ssh_dummy command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -l nagios -2 \ -I /etc/nagios/.ssh/id_dsa -C /usr/lib/nagios/plugins/check_dummy 0 } I took out the desired response text to eliminate possible double quote issues, but it made no difference (from object config) define service{ uselocal-service host_name (machine_name) service_descriptionPING check_command check_ping!100.0,20%!500.o,60% } define_service{ use local-service host_name (machine_name) service_description check_ssh_dummy! } From the command line, I run: /usr/lib/nagios/plugins/check_by_ssh -H (machine_ip) -l nagios -i /etc/nagios.ssh/id_dsa -C usr/lib/nagios/plugins/check_dummy 0 It returns OK I am having the same issue with check_ssh_disk. I do not have a MOTD for the shell, I have tried putting explicit paths in place of USER1, putting in the actual address for HOSTADDRESS, and many options on the Robert L. O'Donnell Advanced Equipment Engineering, IMO -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users :::
Re: [Nagios-users] Installing Nagios-Plugins [make errors]
Hi Juki, It looks like the compiler cannot find the OpenSSL libraries for linking. The http plugin needs these libraries for the https calls. Find the libcryptoxxx.so and libsslxxx.so libraries location, then try adding the path manually to the Makefile using the -L option, e.g. -L/usr/local/ssl/lib. Alternatively, you can try using the gcc environment variable LIBRARY_PATH or LDFLAGS to force the compiler to find the SSL libraries. $ LIBRARY_PATH=/usr/local/ssl/lib $ export LIBRARY_PATH LDFLAGS=-L/usr/local/ssl/lib export LDFLAGS Run make once more and see what happens. Cheers, Frank - Original Message - From: Juki To: Nagios Users List Sent: Monday, April 19, 2010 3:05 PM Subject: Re: [Nagios-users] Installing Nagios-Plugins [make errors] Hello, On 19 April 2010 08:48, Mark Elsen mark.el...@gmail.com wrote: Try 'gmake' (GNU Make) , After using 'gmake' the error has now changed to this; Undefined first referenced symbol in file SSL_load_error_strings sslutils.o SSL_write sslutils.o OpenSSL_add_all_algorithms sslutils.o SSL_set_fd sslutils.o SSL_freesslutils.o SSL_readsslutils.o SSLv23_client_methodsslutils.o SSL_new sslutils.o SSL_CTX_new sslutils.o SSL_connect sslutils.o SSL_shutdownsslutils.o SSL_CTX_freesslutils.o SSL_library_initsslutils.o ld: fatal: Symbol referencing errors. No output written to check_http collect2: ld returned 1 exit status gmake[2]: *** [check_http] Error 1 gmake[2]: Leaving directory `/tmp/nagios-plugins-1.4.14/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/nagios-plugins-1.4.14' gmake: *** [all] Error 2 Something wrong with the check_http plugin, perhaps? Juki. -- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null-- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Failover+NSCA - syncing webinterface settings?
Hello, We have completed a failover setup for Nagios and it's running very smoothly so far, besides one issue. Let me explain. The slave-Nagios starts checking services and sending out notifications in case the master fails - perfect. I have configured the Master to send passive service checks via NSCA to the slave so that the service and hoststates are always known to the slave in case it needs to take over - perfect. However: If I, for example, mute a service in the masters' Webinterface, I'd need a way for syncing such settings to the slave too. Or better said: I just don't want the actual service states synced, but it's assoiciated settings from the webinterface too. Any ideas how this may be possible? -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] $TOTALHOSTSUP$ and probably other macros give wrong values
Hello, I'm trying to use some macros from Nagios 3.2.0 for an IRC bot, like $TOTALSERVICESCRITICAL$, $TOTALSERVICESWARNINGUNHANDLED$ etc. Most *seem* to give the correct value, but $TOTALHOSTSUP$ is obviously wrong. I have 7 hosts in an UP state, only one of these hosts is in do not actively check-mode. However, $TOTALHOSTSUP$ returns '2'. I'm not sure why this happens, do I miss something? This happens on FreeBSD 7.2-RELEASE. I would be glad if anyone could clarify that. Thanks, Frank -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] RE CHECK_NRPE: Error - Could not complete SSL handshake.
hi Are openssl development libraries installed on the nagios server ? If not, install it and compile nrpe with it (specify in command line : ./configure --with-ssl=DIR) Cheers email: frank.bourd...@dga.defense.gouv.fr fonction: administrateur systèmes et réseaux tel: 0241936560 fax: 0241936681 ETAS - BP 60036 - route de Laval - 49245 AVRILLE CEDEX [ENVOYE PAR INTERNET] jonas kellens jonas.kell...@telenet.be 09/11/2009 16:08 A Nagios-Users nagios-users@lists.sourceforge.net cc Objet [Nagios-users] CHECK_NRPE: Error - Could not complete SSL handshake. Probably one of the most asked questions. I don't know why in my case things aren't working. [nag...@itcenter1 ~]$ ps aux |grep nrpe nagios9194 0.0 0.1 8220 1712 ?Ss 08:39 0:00 /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d nagios 12480 0.0 0.0 3936 748 pts/0S+ 09:58 0:00 grep nrpe [nag...@itcenter1 ~]# vi /usr/local/nagios/etc/nrpe.cfg allowed_hosts=127.0.0.1, public_ip_nagios [nag...@itcenter1 ~]$ /usr/local/nagios/libexec/check_nrpe -H localhost NRPE v2.12 [nag...@itcenter1 ~]$ netstat -at | grep 5666 tcp0 0 *:5666 *:* LISTEN TCP port 5666 is open on firewall... [nag...@itcenter1 ~]$ rpm -qa | grep ssl openssl-devel-0.9.8e-12.el5 app-ssl-5.0-10 openssl-0.9.8e-12.el5 But on Nagios : [nag...@nagios objects]$ /usr/local/nagios/libexec/check_nrpe -H ip_public_server CHECK_NRPE: Error - Could not complete SSL handshake. Other hosts work fine : [nag...@nagios objects]$ /usr/local/nagios/libexec/check_nrpe -H ip_other_public_server NRPE v2.12 So what am I forgetting here ?! Thanks ! Jonas. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] RE [spam?] error check_snmp for UPS
Hi, Have you test with snmpwalk to see if you UPS onduleur respond ? Is the UPS mib installed on the nagios server ? Frank email: frank.bourd...@dga.defense.gouv.fr fonction: administrateur systèmes et réseaux tel: 0241936560 fax: 0241936681 ETAS - BP 60036 - route de Laval - 49245 AVRILLE CEDEX [ENVOYE PAR INTERNET] nadia kheffache nadiakheffa...@yahoo.fr 01/10/2009 10:16 A nagios-users@lists.sourceforge.net cc Objet [spam?] [Nagios-users] error check_snmp for UPS Hi, I wont to monitor an ups (onduleur),i use a basic nagios plugin_snmp. but i have these error, i can't get any information about this ups. can you help me please? thank you [nag...@nagios01 libexec]$ ./check_snmp -H UPS-onduleur1 -C public - o .1.3.6.1.4.1.4555.1.1.1.1.6.2.1.1.17 .w 185:210 -c 286:999 -l '\Input Voltage\' -u '\Volts\' \Input Voltage\ problème - Pas de données reçues de l'hôte Commande: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] UPS-onduleur1:161 Nadia -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] RE [spam?] Problems installing NRPE
Hi , Is nrpe daemon started or is xinetd installed and started ? Cheers Frank [ENVOYE PAR INTERNET] Reynier Pérez Mira rper...@uci.cu 22/09/2009 05:31 Veuillez répondre à rper...@uci.cu A Nagios-users@lists.sourceforge.net Nagios-users@lists.sourceforge.net cc Objet [spam?] [Nagios-users] Problems installing NRPE Hi every: I'm following the guide for install and configure NRPE. I have installed and working Nagios 3.2.0 in a server. I want to monitor another Linux server. For that I install NRPE in both. When I try to check the communication between Nagios Server and Remote Host to monitor I get this error: r...@monitoring:# /usr/local/nagios/libexec/check_nrpe -H myserver CHECK_NRPE: Socket timeout after 10 seconds. Can any help to solve this problem? Cheers and thanks in advance -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] RE [spam?] Remote logfile monitoring
hi, You have also check_logfiles which is located at http://www.consol.com/opensource/nagios/check-logfiles/ Sincerly Frank [ENVOYE PAR INTERNET] Jelle Smet nag...@smetj.net 17/09/2009 09:53 Veuillez répondre à nag...@smetj.net A Nagios users nagios-users@lists.sourceforge.net cc Objet [spam?] [Nagios-users] Remote logfile monitoring Hi List, Are there any ways whatsoever to do remote logfile monitoring for *nix with following requirements?: * Use NRPE and no other client (with arguments allowed) as nrpe is our standard. * Use regex's to match * Regex's/matches should be defined on the Nagios server (so not on the remote clients) * Something like Splunk or a centralized syslog server is unfortunately not available. What are my options? Jelle Smet http://www.smetj.net -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] RE [spam?] memory on windows
Hi Melanie, NSCLIENT++ is the Nagios client for Windows 2003, 2000, 2008. You can download it at http://nsclient++.org/nscp/. Follow the documentation on the web site. [ENVOYE PAR INTERNET] frank.bourd...@dga.defense.gouv.fr Melanie Pfefer melanie_pfe...@yahoo.co.uk 18/05/2009 16:51 A nagiosplug-h...@lists.sourceforge.net cc nagios-users@lists.sourceforge.net Objet [spam?] [Nagios-users] memory on windows hi I have a windows 2003 and want to monitor its memory usage can you please pass me the plugin that can notify me if memory usage reached X GB? thank you -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Can't locate Net/SNMP.pm in @INC When Running check_ifstatus
# yum install perl-Net-SNMP CPAN can sometimes be useful, but if you're on an RPM system and there's an RPM available for the perl package you want I would highly recommend going the RPM route. It's too bad cpan isn't easier to turn into an rpm (besides cpan2rpm which I often find to be less useful than it's name would imply.) -f On Mon, 18 May 2009, Andrew Davis wrote: Date: Mon, 18 May 2009 16:14:50 -0400 From: Andrew Davis ncc...@gmail.com To: Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Can't locate Net/SNMP.pm in @INC When Running check_ifstatus As root, try perl -MCPAN -e shell then install Net::SNMP. You may want to first do install Bundle::CPAN, then install Net::SNMP. Also open up the test script (assuming its not a compiled binary) and check for all the use lines and make sure they're installed. For example, from another script I saw: use strict; use Net::SNMP; use Getopt::Long; So my steps were: sudo su - perl -MCPAN -e shell install Bundle::CPAN reload cpan reload index install Net::SNMP install Getopt::Long For each, I installed prereq's where prompted... Also, depending on your OS, you may want to update the OS first before doing the above. For example, with CentOS, an yum -y update is good practice every now and then... keeps you nice and current. But keep in mind that anything built against a specific package may fail (last time I did this, Cacti choked as it was built against a specific version of a library and needed to be recompiled). Other common perl modules to consider include DBI, DBD::mysql, etc... Oh, and put the Net::SNMP line that you changed back... unfortunately, the output of your RPM query is showing the SNMP programs themselves. The script you're using is looking for the Perl module Net::SNMP. net-snmp and Net::SNMP are two completely different things, yet often times codependent. Hope this helps... A. Davis Email: ncc...@gmail.com There is no limit to what a man can accomplish if he doesn't care who gets the credit. - Ronald Reagan Martin Fontanez wrote: From: Martin Fontanez jdmfo...@yahoo.com Subject: Can't locate Net/SNMP.pm in @INC When Running check_ifstatus To: Nagios-users@lists.sourceforge.net Date: Monday, May 18, 2009, 3:46 PM I am getting this error and not certain what gives. Tried various solutions including creating a link to ../net dir but still get errors. I did yum installs of relevant *snmp* packages. Is there a standard fix for this error? 1 - [r...@localhost libexec]# ./check_ifstatus -H localhost Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./check_ifstatus line 39. BEGIN failed--compilation aborted at ./check_ifstatus line 39. 2 - SNMP.pm is (not on @INC path, but created a link to ...Net/) on the following location: [r...@localhost libexec]# find / -name SNMP.pm /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/SNMP.pm [r...@localhost libexec]# 3 - Looks like I got relevant rpm installed: [r...@localhost libexec]# rpm -qa | grep -i snmp net-snmp-libs-5.3.2.2-5.el5 net-snmp-perl-5.3.2.2-5.el5 net-snmp-5.3.2.2-5.el5 [r...@localhost libexec]# 4. Edited the file ../check_ifconfig and replaced use Net::SNMP; with use SNMP; but that created other errors. __ -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects __ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version
Re: [Nagios-users] check_snmp - warning numbers
1. Make sure snmpd is running on the host. (classic mistake) 2. Make sure your community string and/or credentials are the same on the host and client. 3. Make sure you're using the same snmp version on client and server (v1, v2c, or v3) 4. Try running a tcpdump on the host while you're attempting the snmpwalk to verify that the snmp requests are reaching the host. At the same time verify that the host is trying to send out responses. # tcpdump udp port 161 I'm sure there are more tests you can do but this is a start. -f On Fri, 8 May 2009, Matias Blanco wrote: Date: Fri, 8 May 2009 13:02:28 -0300 From: Matias Blanco mat...@valastro.com.ar To: 'Alejandro S?nchez Mero?o' alejandro.sanc...@ite.es, Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp - warning numbers Hello, When i made an snmpwalk to a ip computer there is no response. The snmpwalk to a switch,router or printer works ok. Does any body know the reason? Cristian... -Mensaje original- De: Matias Blanco [mailto:mat...@valastro.com.ar] Enviado el: Jueves, 07 de Mayo de 2009 17:02 Para: 'Alejandro S?nchez Mero?o'; Nagios-users@lists.sourceforge.net Asunto: Re: [Nagios-users] check_snmp - warning numbers Hello, How can i do an snmpwalk on my switch? Thanks, Cristian... -Mensaje original- De: Alejandro S?nchez Mero?o [mailto:alejandro.sanc...@ite.es] Enviado el: Jueves, 07 de Mayo de 2009 05:44 Para: Matias Blanco; Nagios-users@lists.sourceforge.net Asunto: RE: [Nagios-users] check_snmp - warning numbers Hola de nuevo... I'll answer you in English so that anybody in the list can understand and participate in this subject. I think that if you don't know exactly which parameter to monitor you should browse the whole OID list that you receive when you do a snmpwalk on your switch, and identify the ones that fit your needs, with the help of the website I said yesterday, or any other OIDs reference. My case: The only thing I want to detect is if there is any damaged port in any of my switches. So what I did was to snmpwalk on a switch which I positively knew that had its port #2 damaged, and discover which OID was significantly different for this port. And the one I found is: iso.3.6.1.2.1.10.7.2.1.7 (maybe you can find it as its equivalent: SNMPv2-SMI::mib-2.10.7.2.1.7) defined as: a count of frames for which the first transmission attempt on a particular interface is delayed because the medium is busy. The thing is that it's the only OID I found that gave a very high value for port #2 (about 65,000 or so) and 0 for the rest of ports that work properly. The command I defined for this was like this: define command { command_name check_port command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C password -O iso.3.6.1.2.1.10.7.2.1.7.$ARG1$ -w 1 -c 10 -u retries } For sure there must be somebody else in the list who can give to you a more detailed or a more formally correct answer... Hasta la proxima, Alejandro == Alejandro Sanchez Merono Area de Informatica y Comunicaciones Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain -Mensaje original- De: Matias Blanco [mailto:mat...@valastro.com.ar] Enviado el: mi?rcoles, 06 de mayo de 2009 19:27 Para: Alejandro S?nchez Mero?o; Nagios-users@lists.sourceforge.net Asunto: RE: [Nagios-users] check_snmp - warning numbers Hola Alejandro, Ahora otra cosa: De que manera crees que pueda chequear los puertos de mi switch con nagios para tener una idea m?s clara de lo que est? sucediendo? Porque esos paquetes entrantes con errores no se si son por causa de la PC o de los puerto del switch... Muchas Gracias... Cristian Hola Mat?as... :-) and hola everyone... There exists a magical website where to identify every OID you can check with SNMP, the link is: http://support.ipmonitor.com/mibs_byoidtree.aspx For your particular issue, if you type RFC1213-MIB at the Search for: form, click the result given (RFC1213-MIB), and then View: Oid-tree, you'll be able to locate ifInErrors(14) at the tree shown, and clicking it you'll find its Description, which reads literally: The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. That's the answer to your question!! Now some other questions appear... Wouldn't it be nicer to know what exactly are you monitoring before you monitor it, so you could properly interpret the results? Is that parameter (number of inbound packets that contained errors and blah blah blah...) significant enough to determine if a port is working properly or not? Hope this helps... Best regards, Alejandro == Alejandro Sanchez Merono Area de Informatica y Comunicaciones Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain -Mensaje original-
[Nagios-users] RE problem to execute some checks on remote hosts
Hi, Have you installed the plugin on the remote hosts ? If no, install it and re-test your check ! Regards Frank [ENVOYE PAR INTERNET] kaouther mechri kmec...@gmail.com 05/05/2009 10:50 A Nagios-users@lists.sourceforge.net cc Objet [Nagios-users] problem to execute some checks on remote hosts Hello All, In my archtecture I need to use check_by_ssh for remote checks. for some plugins like http://www.consol.com/opensource/nagios/check-logfiles and many others (not standards) when I execute these checks on remote hosts using check_by_ssh I have the following output : /usr/local/nagios/libexec/check_logfiles not found , It seems it need to have the script on the remote hosts. Do you have any idea how to solve this issue please? Many thanks Kaouther -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] hint on service dependency configuration
Hi list, I need a little input on a configuration problem. I've got a list of hosts, which are running NRPE to check local services. So, if the nrpe daemon on one of these hosts stops working, I get alarms for every configured nrpe-check. Now I thought that the service dependency would be the configuration of my choice to suppress multiple alarms. But I'm a bit confused how to configure this correctly. I'm checking the nrpe service itself on these hosts, and want to suppress alarms for the other nrpe-based services if the nrpe check fails. Is there a way to configure this in an optimized way, without having one servicedependency block for each host and each nrpe check ? As far as I understand servicedependency config, there can be multiple hosts as dependent, but only one dependent service with one depending host and service, which would be a pain to configure with 130 hosts :) I would imagine doing something like that (for example): # Suppress notifications for nrpe-based services if nrpe check itself fails define servicedependency { host_name * service_description NRPE dependent_host_name $self dependent_service_description DISKS,SWAP,USERS execution_failure_criteria w,u,c,p notification_failure_criteria o,w,u,c,p } Does anyone have an idea how to create something like that? Le deagh dhùraghd, Frank Altpeter There is no way to happiness. Happiness is the way. -- Buddha -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] hint on service dependency configuration
Hi, 2009/4/27 Assaf Flatto assaf.fla...@ssp-intl.com: What you want is like what you put in the example above but you want to change it to define servicedependency { host_name * service_description NRPE dependent_host_name * dependent_service_description DISKS,SWAP,USERS execution_failure_criteria w,u,c,p notification_failure_criteria o,w,u,c,p } Hmmm, you're right, this is indeed working. Didn't think so, because my first tests failed, but after all, it looks like there were some other configuration mistakes in it. However, given the above example, wouldn't that mean, that - if I define two hosts named web01 and web02 for example - that if the nrpe check on web01 fails, it would also suppress DISKS notifications of web02 ? I'm not sure how this is handled internally by nagios to prevent such scenarios ... and I think it wouldn't be good if a full disk on one of the servers wouldn't generate notifications if another host's nrpe daemon check is suppressing this. -- Le deagh dhùraghd, Frank Altpeter There is no way to happiness. Happiness is the way. -- Buddha -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] RE [spam?] Re: only_from = 127.0.0.1
Hi, SSL is installed ? Try check_nrpe -n -H @ip to test without ssl Cheers [ENVOYE PAR INTERNET] Martyn mar...@chetnet.co.uk 23/04/2009 13:05 A 'Christian Schneemann' cschneem...@suse.de, nagios-users@lists.sourceforge.net cc Objet [spam?] Re: [Nagios-users] only_from = 127.0.0.1 I changed the line as suggested but I still get the SSL handshake issue, the host.domain.co.uk is made up on here but I have the real one in the live config, again thanks for your time # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = REUSE socket_type = stream port= 5666 wait= no user= nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 192.168.3.247 host.domain.co.uk } -Original Message- From: Christian Schneemann [mailto:cschneem...@suse.de] Sent: 23 April 2009 11:05 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] only_from = 127.0.0.1 On Thursday April 23 2009 11:07:06 am Martyn wrote: Can anybody tell me how I use domains names instead of IP address in the nrpe file, I have read somewhere that you can use tcp wrappers which I have tried. My nrpe file looks like this: # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = REUSE socket_type = stream port= 5666 wait= no user= nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 } And my hosts.allow looks like # # hosts.allow This file describes the names of the hosts which are # allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # nrpe: 17.0.0.1 monitor.domain.co.uk But I'm still getting Could not complete SSL handshake, is the above configuration correct or can I not use domain names instead of IP's You have to adjust the olny_from line, your hosts.allow allows 17.0.0.1 to connect to nrpe, but xinetd rejects the request, because you just allows connections from 127.0.0.1 (or is there the 2 missing in the hosts.allow line?) you can simply write the domain name to only_from. If you use the hosts.allow you could even exclude the only_from line from the xinetd configuration by setting 3 in front of the line. Greetings, Christian Thanks Martyn -- Christian Schneemann - SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 Nürnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneem...@suse.de - SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG Nürnberg) -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ Nagios-users mailing
[Nagios-users] RE [spam?] stopping and starting NDO daemon
Hi Greg, Here below is the script that we use at office Hope it can help you. #!/bin/sh # # ndo2db This script starts and stops the ndo2db daemon # # chkconfig: - 80 30 # processname: ndo2db # description: ndo2db is a daemon process which stores Nagios data in MySQL \ # Source function library. . /etc/rc.d/init.d/functions OPTIONS=-c /usr/local/nagios/etc/ndo2db.cfg DAEMON=/usr/local/nagios/bin/ndo2db NAME=NDO2DB [ -f $DAEMON ] || exit 0 PATH=$PATH:/usr/bin:/usr/local/bin # By default it's all good RETVAL=0 # See how we were called. case $1 in start) # Start daemon. if [ -r /usr/local/nagios/var/ndo.sock ] then rm /usr/local/nagios/var/ndo.sock fi echo -n Starting $NAME daemon --user=nagios $NICELEVEL $DAEMON $OPTIONS RETVAL=$? echo ;; stop) # Stop daemons. echo -n Shutting down $NAME: killproc $DAEMON RETVAL=$? echo [ $RETVAL = 0 ] ;; restart) $0 stop sleep 3 $0 start ;; condrestart) ;; status) status $DAEMON RETVAL=$? ;; *) echo Usage: $0 {start|stop|restart|status} RETVAL=1 ;; esac exit $RETVAL Cheers ;) [ENVOYE PAR INTERNET] Frater, Greg J gjfra...@bechtel.com 20/04/2009 21:43 A Nagios-users@lists.sourceforge.net cc Objet [spam?] [Nagios-users] stopping and starting NDO daemon Hi All, We've just setup nagios 3 using NDO (to support Nagvis) and I realized that NDO does not come with an init script. I found one post to the list (http://article.gmane.org/gmane.network.nagios.user/52477/match=ndo+init) from about a year ago, someone was asking for help incorporating the NDO daemon into the Nagios init script, but there were no responses. I'm wondering how others are handling the stopping and starting of the NDO daemon? Would it be better to incorporate it into the Nagios init script or should it have it's own, has somebody already done this that is willing to share with the list? Thanks, -greg -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_squid.pl
Hi Arno, Can you send me your squid plugin, please ? Thanks [ENVOYE PAR INTERNET] Frank BOURDEAU tel: 0241936560 fax: 0241936681 frank.bourd...@dga.defense.gouv.fr Meyer Jerome jerome.me...@baldata.ch 17/04/2009 15:07 A Nagios-users@lists.sourceforge.net cc Objet Re: [Nagios-users] check_squid.pl Hi Arno I've downloaded and installed the Net-SNMP package and that seems running : [r...@test1 Linux]# /usr/local/nagios/libexec/check_squid.pl -H 10.2.4.5 Squid OK: Up 35 minutes, 30.09, 89.92 MB, 5258 objects, 1 clients. Hit rate 0%|CPU=0%;10;20;; Storage=94289920;68711088128;68719476736;; Objects=5258;1032192;1048576;; HitRatio=0% IPs=9;3584;4096;; Clients=1;1792;2048;; Thanks for your answer and your great help... Jerome -Ursprüngliche Nachricht- Von: Arno Lehmann [mailto:a...@its-lehmann.de] Gesendet: Freitag, 17. April 2009 12:29 An: Nagios-users@lists.sourceforge.net Betreff: Re: [Nagios-users] check_squid.pl Hi, 17.04.2009 11:21, Meyer Jerome wrote: Hi all I ' ve d ownloaded the plugins check_squid.pl ... Any ideas?? Hmm... I never used that check_squid.pl. But I've got one I wrote a while ago. No documentation, no useful help, but feel free to try it... if it works for you I might polish at least the help output a bit and publish it. Note that I consider this a quick and dirty hack, and the best things to say about it are that it uses -w and 'use strict;' It uses snmp to check, i.e. your squid config needs lines like acl snmppublic snmp_community publi snmp_access allow snmppublic our_networks to allow snmp access to squid. Arno -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] RE Nagios and Inventory Application
Hi, I don't know an inventoring addon/plugin for Nagios. OCS Inventory is opensource iinventory and deployement software for Windows and Unix like computers. Try this application, if it's what your search. Greetings [ENVOYE PAR INTERNET] frank.bourd...@dga.defense.gouv.fr Gonçalo Almeida goncaloalme...@gmail.com 24/03/2009 11:46 A nagios-users@lists.sourceforge.net cc Objet [Nagios-users] Nagios and Inventory Application Hi people, I would like to know if there is some addon/plugin to integrate some inventory application with nagios. Thanks. -- Greetings, Gonçalo Almeida -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Storing Historical Data into Oracle?
Hi Christopher, You must indicate the path of the command perl : /usr/bin/perl /usr/local/nagios/host_check.pl $HOSTADDRESS$ $HOSTEVENTID$ if you don't have enable EPn. Sincerly Frank [ENVOYE PAR INTERNET] Christopher McAtackney crist...@gmail.com 23/03/2009 10:57 A Nagios Users Nagios-users@lists.sourceforge.net cc Objet Re: [Nagios-users] Storing Historical Data into Oracle? 2009/3/20 Marc Powell m...@ena.com: On Mar 20, 2009, at 8:48 AM, Christopher McAtackney wrote: to start? I'm envisioning some sort of script or service which INSERTs into the Oracle database after each service/host check is performed. Does Nagios support this sort of functionality? Yes, nagios can run a custom script after every host/service check using the ochp and ocsp options -- http://nagios.sourceforge.net/docs/3_0/configmain.html#obsess_over_hosts http://nagios.sourceforge.net/docs/3_0/configmain.html#obsess_over_services It's most often used for Distributed Monitoring but can be used for anything. It's been very reliable in my experience. -- Marc Hi Marc, I've tried doing as you suggested, but my post check command does not seem to be being executed for some reason. Do you have any idea what I might have done wrong? Here is the setup I've used; In nagios.cfg obsess_over_hosts=1 ochp_command=host_check And then in commands.cfg; define command { command_namehost_check command_line /usr/local/nagios/host_check.pl $HOSTADDRESS$ $HOSTEVENTID$ } Finally, my simple Perl script to test the output; #!/usr/bin/perl open MYFILE, data.txt; print MYFILE Logging for server $ARGV[0], Event ID: $ARGV[1] \n; close (MYFILE); Unfortunately, the script is not being called for some reason. I know the script itself is working fine, as I've tested it independently. I've made sure that Nagios is restarted, and the pre-flight check doesn't report any problems. Any thoughts on what the problem might be? Cheers, Chris -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] sending external commands remotely
Here are 2 ways to do this: 1. Click thru the web interface the normal way you would (un)silence the service(s)/servicegroup(s) in question but before submitting the form do a View-Source and use the variables and values there to create yourself a properly encoded URI and call it with wget. ex: (silence) wget -O - http://nagios-server/nagios/cgi-bin/cmd.cgi?cmd_typ=23cmd_mod=2host=hostnameservice=svcdesc /dev/null (unsilence) wget -O - http://nagios-server/nagios/cgi-bin/cmd.cgi?cmd_typ=22cmd_mod=2host=hostnameservice=svcdesc /dev/null I haven't read thru the source or tried these examples so I don't know if you also need to include btnSubmit=Commit to the URI. Or perhaps it won't work at all as a GET instead of a POST. 2. Write a CGI that accepts host, service, and silence/unsilence variables. Feed the results directly to the Nagios command pipe (/var/log/nagios/rw/nagios.cmd). Once you've verified your input args, feed them to the pipe like: my $time = time(); open(CMD,/var/log/nagios/rw/nagios.cmd); print CMD [$time] DISABLE_SVC_NOTIFICATIONS;hostname;servicename\n; close(CMD); Again, I haven't tested any of this, but it oughtta work in theory. -f On Mon, 16 Mar 2009, Eric Pearce wrote: Date: Mon, 16 Mar 2009 14:48:55 -0700 From: Eric Pearce epea...@amberpoint.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] sending external commands remotely I'd like to be able to remotely turn off/turn on service/host checks. For example, a remote machine could turn off a service check while running a backup and turn it back on after it is done. Ideally, this is a simple perl script, wrapper for 'wget', batch file, etc that could run on Unix or Windows (maybe using SSL for securing the password?). I assume it would talk directly to cgi on the nagios server. I've seen some others asking for something similar, but no definitive replies. My understanding of NSCA is that is simply for collecting passive information, and can't actually change things, right? Yes, I could schedule downtime via Nagios, but the downtime is of variable length, the so the exact backup window is not known in advance. The machine doing the actual backup knows best when turn monitoring on and off. NFS mounting the nagios command file is not an option. I did see the old remote_ctl.pl script on nagiosexchange but I don't want to do anything non-standard on the nagios server if possible. I understand that I could use ssh to run local commands on nagios server, but I'm looking for something more elegant. My setup is Linux server running Nagios 3.0.6 and 1.4.13 plugins monitoring Linux, Solaris and Windows 2000/XP/2003/Vista/2008 hosts. Thanks -e -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Expiring acknowledgements
Hello, I'm wondering if there is anyone out there in user-land that has any process of expiring acknowledgements after a certain time period. I've done some searching and came up mostly empty handed. I've seen a mention of using SEC to carry this out, but I'm completely unfamiliar with SEC. If this is the way to go I'm game for looking into using it. Anyone out there doing something like this and care to share how? Frank Clements smime.p7s Description: S/MIME cryptographic signature -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Critical - Socket Timeout After 10 Seconds
I am running Nagios 3.0.6 with Nagios Plugins 1.4.13 on Suse Linux 11.1. Windows servers have NSClient++ 0.2.7 Every few minutes Nagios detects that a servers/service is down because it times out and in the status information shows: Critical - Socket Timeout After 10 Seconds. Once it redoes its check on those particular servers/services it shows that it is all good and other servers/services show Critical - Socket Timeout After 10 Seconds. I looked for a place to change the timeout from 10 seconds to 20 but could not find one. Any help would be appreciated. Thank you, Frank -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] RE Checking for Apache Errors
Hi, Have you checked check_logfiles ? It stands on http://www.consol.com/opensource/nagios/check_logfiles. With this plugin, you can specify your needs. Hope it ma help you Greetings Cordialement [ENVOYE PAR INTERNET] Frank BOURDEAU tel: 0241936560 fax: 0241936681 [EMAIL PROTECTED] Jonah Horowitz [EMAIL PROTECTED] 04/12/2008 00:45 A nagios-users@lists.sourceforge.net cc Objet [Nagios-users] Checking for Apache Errors I?m trying to check my apache logs to make sure there is not more than a reasonable number of 404 errors for any given chunk of time. Does anyone have a apache log checking plugin? I would prefer something that allowed me to alarm if the number of 404s exceeded a certain percentage. I didn?t see anything on nagiosexchange, and check_log is a bit too generic for what I?m trying to do. If nothing exists, I?ll probably write something. -- Jonah Horowitz · Monitoring Manager · [EMAIL PROTECTED] W: 415-348-7694 · F: 415-348-7033 · M: 415-513-7202 LookSmart - Premium and Performance Advertising Solutions 625 Second Street, San Francisco, CA 94107 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null smime.p7s Description: Binary data - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios and NRPE on AIX with plugin error on increased number of checks
Hello all, i'm running Nagios (3.0.5) and NRPE (1.4.13) both on AIX (mostly 5.3, but a view 5.2 clients). This worked pretty well until yesterday. After adding some new checks suddenly _all_ NRPE-based client checks for all hosts return No output returned from plugin. Manually run from the shell, the checks return valid results. If i remove some checks - re- gardless which check specifically - and keep the number of NRPE checks under a certain level (~700-800) everything works just fine again. I already verified the system has enough resources (disk space, memory, CPU, user limits, ...) and turned up the Nagios debugging to 4096 but that gave no further clues. On the client-/NRPE-side it appears as if the NRPE-request never arrives at the client. Has anyone seen this kind of behavior or has any idea what might cause this? Thanks Regards, Frank P.S.: Is anyone in charge of the mailinglists pending approval postings? I couldn't for the life of me get the list to accept my original posting composed with mutt (suspicious headers). Other SF hosted MLs work just fine though. -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] contacts.cfg error.
No, you have defined a _contact_. One part of the contact definition is a pointer to the notify-by-email command which is not defined. Here is a sample. It came from the misccommands.cfg file that was part of the RPM I installed from fedora. # 'notify-by-email' command definition define command{ command_namenotify-by-email command_line/usr/bin/printf %b * Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$ | /bin/mail -s ** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** $CONTACTEMAIL$ } -f On Wed, 15 Oct 2008, jeremiah wrote: Date: Wed, 15 Oct 2008 16:43:24 -0700 From: jeremiah [EMAIL PROTECTED] To: Nagios Users Mailinglist nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] contacts.cfg error. It appears to be defined to me. Is this not correct? define contact{ contact_name root alias Jeremiah service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email email } On Wed, 2008-10-15 at 16:26 -0700, Hugo van der Kooij wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jeremiah wrote: Error: Service notification command 'notify-by-email' specified for contact 'root' is not defined anywhere! Error: Host notification command 'host-notify-by-email' specified for contact 'root' is not defined anywhere! The answer is right in front of you. You need to define these commands. In fact they should be listed in one of your sample configuration files. Which sections of the manuals did you use to find an answer to this question? Hugo. - -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFI9nwcBvzDRVjxmYERAvpJAJ9FY7Yx5NgoYsU7gtVhSvA65+mDUACfV6Gi SLilbuXS+MczNxNoWsdDooU= =GihX -END PGP SIGNATURE- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Disclaimer: The information contained in this transmission, including any attachments, may contain confidential information of Panasonic Avionics Corporation. This transmission is intended only for the use of the addressee(s) listed above. Unauthorized review, dissemination or other use of the information contained in this transmission is strictly prohibited. If you have received this transmission in error or have reason to believe you are not authorized to receive it, please notify the sender by return email and promptly delete the transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing
[Nagios-users] ndoutils freebsd 7.0 wont load
Hello, I have been trying to setup ndoutils 1.4b7 from the freebsd ports collection and can't seem to get past loading the ndo2db_enable=YES in the rc.conf file. This line /etc/rc: WARNING: run_rc_command: cannot run /usr/local/bin/ndo2db shows up after I see the starting Nagios line on my console. Then I find this ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 Ethan Galstad ([EMAIL PROTECTED]) [1222470940] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1222470940] Event broker module '/usr/local/bin/ndomod-3x.o' initialized successfully. [1222470940] Finished daemonizing... (New PID=887) in my Nagios.log file. BTW its Nagios 3.0.3. Any help would be much appreciated. Regards, Frank - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] [Nagiosplug-help] IPsec/racoon monitoring plugin
Am Montag 11 August 2008 12:03:06 schrieb Alex Dehaini: If it listens on a port, use check_udp to listen on port 4500. I don't understand your second question. You can create a VPN tunnel using two routers or VPN apps like openvpn or freeswan running unix/linux. Alternatively, you can use DNAT and send all port 80 requests to your nagios server. On Mon, Aug 11, 2008 at 9:27 AM, Frank Fiene [EMAIL PROTECTED] wrote: Am Montag 11 August 2008 10:13:47 schrieb Alex Dehaini: Does racoon listen on a port? Only if NAT-Traversal is enabled, Port 4500 UDP i think. But what i would do is to create a VPN between your Nagios server and the VPN gateway and try ICMP through the tunnel. This was not a question. You can create also a VPN between a PC running Linux and a VPN gateway with IPSEC. If you have a VPN you can do a ping to an IP address behind the VPN gateway to test if the VPN is up. For example you can use the LAN IP address of the VPN gateway. Regards -- Frank Fiene / IT-Services Fon: +49 2526 29-6200 Fax: +49 2526 29-16-6200 mailto: [EMAIL PROTECTED] www.veka.com VEKA AG Dieselstr. 8 48324 Sendenhorst Deutschland/Germany Vorstand: Andreas Hartleif (Vorsitzender), Dr. Andreas W. Hillebrand Bonifatius Eichwald, Elke Hartleif, Dr. Werner Schuler Vorsitzender des Aufsichtsrates: Heinrich Laumann HRB 8282 AG Münster - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Which platform to run NAGIOS ?
Hello After testing NAGIOS 3 on several platforms I wonder which one is the most used ? I have tested on several UNIXs ( Debian lenny , Opensuse 11 , FreebSD 6.3 ) and I cannot really decide where to go ... So I think the best way will boe to start it on the most used Platform in order to have the larger support from admins / users as the machine will be administered by several persons in the futur. Is there some report of NAGIOS usage on the Internet ? Thank you - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Which platform to run NAGIOS ?
Hello Jochen Interresting , thank you :-) Frank [EMAIL PROTECTED] wrote: Hello Frank, perhaps this page of the Nagios website will answer your question: http://www.nagios.org/userprofiles/ Kind Regards, Jochen Billen Citeren Frank Bonnet [EMAIL PROTECTED]: Hello After testing NAGIOS 3 on several platforms I wonder which one is the most used ? I have tested on several UNIXs ( Debian lenny , Opensuse 11 , FreebSD 6.3 ) and I cannot really decide where to go ... So I think the best way will boe to start it on the most used Platform in order to have the larger support from admins / users as the machine will be administered by several persons in the futur. Is there some report of NAGIOS usage on the Internet ? Thank you - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] RE Dell PowerConnect Switches + Nagios
Hi, You can pass snmp traps to nagios with snmptt. Look here for more information about snmptt - http://xavier.dusart.free.fr/nagios/snmptraps.html This is in french but easy to understand, i think Good luck Frank [ENVOYE PAR INTERNET] Victor Lanza [EMAIL PROTECTED] Envoyé par : [EMAIL PROTECTED] 13/06/2008 15:17 A 'nagios Mailinglist' nagios-users@lists.sourceforge.net cc Objet [Nagios-users] Dell PowerConnect Switches + Nagios Has Anyone tried to monitor Dell PowerConnect switches? I have several switches and their web interface is the Dell OpenManage and therefore is able to submit SNMP traps. Has anyone tried such setup or has any suggestions on how I can pass these traps to Nagios? - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Help:Nagios : NDOUTILS:Postgresql :
I don't know why ndoutils is in beta, but it has been for a long time -- the most current version has been out for almost a year. I think it's in fairly wide use, and a lot of other addons depend on it. I sent out a similar email myself before installing it and received several responses from others using the software. It hasn't given me any problems. PostgresQL need not be installed. I don't know if aptitude will insist on it as a dependency, but you don't need it. Looks like you are trying to install it with Postgres support though -- there's probably a flag you want to turn off so that it doesn't try to do that. Good luck! On Wed, Jun 11, 2008 at 5:58 AM, Peter Sanyal [EMAIL PROTECTED] wrote: Dear List I am running nagios on ubuntu , I am installing ndoutils 1.4b7 , as this is in beta so before i go ahead i want to make sure that everything is OK.I compiled ndoutils with following O/P. checking for mysql_connect in -lmysqlclient... says no so how to solve this ..also do i need to install PostgreSQL library as in the installation note ndoutils says it does nt support postgresql. I haven't installed this library so let me know incase i require this to run ndo utils smoothly. checking for mysql_store_result in -lmysqlclient... yes checking for mysql_connect in -lmysqlclient... no checking mysql/mysql.h usability... yes checking mysql/mysql.h presence... yes checking for mysql/mysql.h... yes MySQL library and include file(s) were found! checking for PQconnectdb in -lpq... no *** PostgreSQL library could not be located... * You chose to compile NDBXT with PostgreSQL support, but I was unable to locate the PostgreSQL library on your system. If the library is installed, use the --with-pgsql-lib argument to specify the location of the PostgreSQL library. thanks peter - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] newbie : hosts pending
Hello I started a new nagios server ( FreeBSD 6.3 ) and all hosts except localhost appear PENDING from the web interface , I suppose I missed some configuration but I'm pretty new to Nagios , the version I use is 3.0.2 Help / links welcome Thanks a lot. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Browser display config
Or you could go with a non-Nagios solution: https://addons.mozilla.org/en-US/firefox/addon/2987. On Tue, Jun 10, 2008 at 10:28 AM, Marc Powell [EMAIL PROTECTED] wrote: On Jun 10, 2008, at 9:03 AM, Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: Hello List, I am displaying several Nagios servers using Firefox with a tab for each server. I would like to put the name of the server on the display screen so that when the tabs switch, I will know which server is being displayed. Does anybody know if this is possible and if so How do I go about doing this. Changing the TITLEtext/TITLE in ~nagios/share/index.html should do it. -- Marc - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] NSCP (CheckFileSize) strips backslashes from file paths
Hello, I would like to monitor a Windows server on our network. Before installing anything on that machine, however, I thought I'd test NSCP (aka NSClient++) on my laptop (Windows XP Professional, SP2). I am getting some very weird results. The following service is defined on the Nagios server in my services.cfg file: define service{ host_name frank service_description Outlook PST check_commandcheck_nrpe!check_pst_size useserviceTemplate } On my Windows machine, I've added this command to the NSC.ini file: check_pst_size=inject CheckFileSize ShowAll MaxWarn=50K MaxCrit=75K File:PST=c:\\dell\DELLCIRC.ICO When I start NSClient++.exe from the DOS command line using the /test flag, I can watch everything as it happens (everything is logged to the screen). The prompt asks me to Enter command to inject or exit to terminate..., and when I enter check_pst_size, I get exactly what I expect. However, when I ask Nagios to perform the check, the slashes get stripped. In the /test output, I see: Injecting: CheckFileSize: ShowAll, MaxWarn=50K, MaxCrit=75K, File:PST=c:dellDELLCIRC.ICO ... instead of what I normally get, which is: Injecting: CheckFileSize: ShowAll, MaxWarn=50K, MaxCrit=75K, File:PST=c:\\dell\DELLCIRC.ICO I don't understand what's different, since in both cases check_pst_size is defined on the client machine, and NRPE's only job is basically to tell the client which command to run. And here's another thing: when I allow Nagios to do its scheduled check, the backslashes get stripped and the returned file size is 0. However, if I get on the Nagios server's CLI and type /usr/nagios/libexec/check_nrpe -H 10.128.128.16 -c check_pst_size, I get the correct results. Nagios is 2.11 on Gentoo. NSCP is 0.3.1. Any ideas? I'm not sure what to do next... Thanks! -Frank - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Error: Could not read object configuration data!
Is it possible that the upgrader changed permissions/ownership of some config file(s) in /etc/nagios/? On Thu, Jun 5, 2008 at 8:02 AM, Chantal Rosmuller [EMAIL PROTECTED] wrote: On Thursday 05 June 2008 13:18:13 Chantal Rosmuller wrote: Hi list, after upgrading from 1.4 to 2.6 on a debian system the webinterface is not working anymore, if I click on a menu link I get: Error: Could not read object configuration data! the nagios documentation says: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). I tried 1 but no errors same for option 2 3, I didn't compile but I used aptitude, so I guess that cannot be the problem? - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when ::: reporting any issue. Messages without supporting info will risk being ::: sent to /dev/null The nagios daemon is running by the way. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Error: Could not read object configuration data!
I'm by no means an expert -- just taking shots in the dark here, but... Can you run checks from the command line? If so, it suggests a problem specific to the CGI. If not, it would seem the problem is with Nagios per se. On Thu, Jun 5, 2008 at 10:09 AM, Chantal Rosmuller [EMAIL PROTECTED] wrote: Yes it is, but I changed the permissions already and they are ok now, at least I think they should be okay: servername:~# ls -la /etc/nagios2 total 192 drwxr-xr-x 4 nagios www-data 4096 2008-06-05 15:00 . drwxr-xr-x 125 root root 8192 2008-06-05 11:02 .. -rw-r--r-- 1 nagios www-data 1598 2008-05-13 13:18 apache2.conf -rw-r--r-- 1 nagios root 13261 2008-06-05 14:01 cgi.cfg -rw-r--r-- 1 nagios www-data 1830 2008-06-05 10:46 checkcommands.cfgd drwxr-xr-x 2 nagios www-data 4096 2008-06-05 11:05 conf.d -rw-r--r-- 1 nagios www-data 1926 2008-06-05 10:46 contactgroups.cfg -rw-r--r-- 1 nagios www-data 3945 2008-06-05 10:46 contacts.cfg -rw-r--r-- 1 nagios www-data 1662 2008-06-05 10:46 dependencies.cfg -rw-r--r-- 1 nagios www-data 2256 2008-06-05 10:46 escalations.cfg -rw-r--r-- 1 nagios www-data 4585 2008-06-05 15:00 hostgroups.cfg -rw-r--r-- 1 nagios www-data 11072 2008-06-05 12:56 hosts.cfg -rw-r--r-- 1 nagios www-data 13544 2008-06-05 10:46 minimal.cfg -rw-r--r-- 1 nagios www-data 6542 2008-06-05 13:06 misccommands.cfg -rw-r--r-- 1 nagios www-data 21702 2008-06-05 12:35 nagios.cfg -rw-r--r-- 1 nagios www-data 4692 2008-06-05 10:46 nrpe.cfg -rw-r--r-- 1 nagios www-data 0 2008-06-05 10:46 nrpe_local.cfg -rw-r- 1 nagios www-data 3100 2008-06-05 10:46 resource.cfg -rw-r--r-- 1 nagios www-data 6363 2008-06-05 10:46 services.cfg drwxr-xr-x 2 nagios www-data 4096 2007-03-04 23:56 stylesheets -rw-r--r-- 1 nagios www-data 1863 2008-06-05 10:46 timeperiods.cfg On Thursday 05 June 2008 16:03:36 Frank J. Gómez wrote: Is it possible that the upgrader changed permissions/ownership of some config file(s) in /etc/nagios/? On Thu, Jun 5, 2008 at 8:02 AM, Chantal Rosmuller [EMAIL PROTECTED] wrote: On Thursday 05 June 2008 13:18:13 Chantal Rosmuller wrote: Hi list, after upgrading from 1.4 to 2.6 on a debian system the webinterface is not working anymore, if I click on a menu link I get: Error: Could not read object configuration data! the nagios documentation says: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). I tried 1 but no errors same for option 2 3, I didn't compile but I used aptitude, so I guess that cannot be the problem? --- -- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when ::: reporting any issue. Messages without supporting info will risk ::: being sent to /dev/null The nagios daemon is running by the way. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Check out the new SourceForge.net Marketplace. It's
[Nagios-users] NDO and round robin
Hi, Is anyone using a round robin database with the NDO2DB plugin? I've seen tools that create an RRD from the Nagios log files, but what I'd like to do is have the NDO database kept under control, not the log files. In other words, if left unchecked, the NDO database can grow to be pretty huge. After looking at what's out there, I thought about just setting up some cron jobs to manage the data... but I thought I'd check in with the list first to see if I'd missed anything. Thanks! -Frank - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Debugging CHECK_NRPE: Error - Could not complete SSL handshake errors
http://www.nagios.org/faqs/viewfaq.php?faq_id=191 I was having this error and solved it a different way than described in the FAQ above. Don't know who to contact about getting that updated, so I thought I'd at least post it here. The installation of NRPE I was running (2.10) was emerged in Gentoo, and the default config file comes with allowed_hosts set to 127.0.0.1. Once I changed that, all sorts of handshaking ensued. It's not a difficult fix, but if your search for answers lands you at that FAQ page, you won't find it there (and maybe you should). -Frank - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Remote external commands
Sorry to revive an old thread, but I started thinking about this too and remembered seeing it come across the list, so I dug it up. Mark, did you ever find a solution to your problem? Have you tried using check_by_ssh (http://nagiosplugins.org/man/check_by_ssh)? I haven't looked at it in depth, but it looks like you can use it to call any command on the remote server... so if, for example, you wanted to turn off service notifications for a host remotely, I think you could do something like this from your central monitoring server: define command { command_namesilence_host command_line $USER1$/check_by_ssh -H $ARG1$ -C 'printf [%lu] DISABLE_HOST_SVC_NOTIFICATIONS;$ARG2$\n `date +%s`' /var/nagios/rw/nagios.cmd } ... where $ARG1$ is the IP address of the distributed monitoring server for the cluster in which the host resides, and $ARG2$ is the host_name of the server you want to silence. I haven't tried or tested this, but I guess this is where I would start. What do you think? Did you find another way? -Frank On Fri, May 9, 2008 at 5:34 AM, Mark Clarkson [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] X-Sender: [EMAIL PROTECTED] Received: from 217.33.150.4 [217.33.150.4] with HTTP/1.1 (POST); Fri, 09 May 2008 09:34:12 + User-Agent: RoundCube Webmail/0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On Fri, 09 May 2008 08:49:59 +, Mark Clarkson [EMAIL PROTECTED] wrote: I'm going to try ncmd from NagiosExchange.org. Thanks! ncmd is not the right. The only thing I can see is NSCAFE but I'm a bit wary of using Java, or rather of creating another dependency. I guess I'll have to use ssh. Does anyone know of a tool to run external commands from a remote computer? Something like NSCAFE but not written in Java? - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios with NDOUtils is not working any more.
I recently experienced something similar. The reason for it is that the plugin option to discard old data was disabled, and my servicechecks table grew to a size that MySQL didn't like. If you can't insert a record in that table from PHPMyAdmin (or the command line), that may be your problem. Good luck! On Mon, Jun 2, 2008 at 9:11 AM, Marcin Praczko [EMAIL PROTECTED] wrote: Hi I've configured Nagios 2.6 with NDOUtils so time ago. And everything was working well till today. About 4'oclock from some reason Nagios stopped writing data to database. When I am running Nagios without ndoutils (no changes on event broken). Nagios is working well. When I switch ndoutils on, nagios seems be starting like normal. But I can't get any details over WWW - have the same error like Nagios is not running. And Nagios doesn't make any tests any more. It is just waiting for something. Database is working well, I configured ndoutils for debugging everything, and is not working - nothing is appear in ndoutils log file. In Nagios log files have details that all is OK. Did you have similar problem? Marcin Praczko No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.24.4/1477 - Release Date: 01/06/2008 17:28 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] monitoring a remote site and the resulting huge config files
Hello, I am working with one installation of Nagios (v. 2.11) to monitor two sites. Let's call them Dev and Prod. Nagios is in Prod, which has an external IP address of 22.22.22.22. Dev's external IP is 11.11.11.11. The previous administrator defined each host in Dev with this IP address, and then in the service check definitions used check_nrpe with a port number (e.g., check_nrpe!5678) to navigate firewall/routing rules and deliver the check to the appropriate host. I see two drawbacks to this method. First, it makes my config files huge. If I want to define a service for three hosts in Dev, I can no longer do this: define service{ host_name host1,host2,host3 service_description disk usage check_command check_nrpe!check_disk useserviceTemplate } Instead, I have to do this: define service{ host_name host1 service_description disk usage check_command check_nrpe!5678!check_disk useserviceTemplate } define service{ host_name host2 service_description disk usage check_command check_nrpe!6789!check_disk useserviceTemplate } define service{ host_name host3 service_description disk usage check_command check_nrpe!4567!check_disk useserviceTemplate } The second drawback is that the host-alive-check (which I believe uses check_ping) won't tell me much if the hosts are all defined with the same IP address. They are either all going to be up or all going to be down. I tried adding the port to the IP address in the host definitions -- see example below -- but that didn't work: define host{ host_name host1 alias host1 address 11.11.11.11.:5678 use hostTemplate } Does anyone have any suggestions for dealing with this kind of setup? Thanks very much, -Frank - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] RE check_oracle does not work
Hi, In your service definition, yuou have forgotten the ! between the 2 parameters check_command check_oracle!--db!playdb1 Try it with it Frank [ENVOYE PAR INTERNET] [EMAIL PROTECTED] Envoyé par : [EMAIL PROTECTED] 23/05/2008 08:44 A nagios-users@lists.sourceforge.net cc Objet [Nagios-users] check_oracle does not work Hello, I was trying t monitor check_oracle plug in via nrpe daemon and unsuccessful. I had a problem of No TNS listener message on my nagios console. Now I am trying to monitor without the nrpe deamon. just simply using nagios plug in check_oracle commands.cfg has, define command{ command_name check_oracle command_line $USER1$/check_oracle $ARG1$ $ARG2$ } services.cfg has, define service{ host_name !somemachine1,!sommachine2,somemachine3 hostgroup_name pay-db,mspl-db service_description ORACLE SID is_volatile 0 check_period24x7 check_interval 3 retry_interval 3 max_check_attempts 3 notification_interval 4 notification_period 24x7 notification_optionsw,u,c,r check_command check_oracle!--db playdb1 contact_groups admins } oracle server is runnng on somemachine3 with the SID playdb1. If I log into remote machine and execute, [EMAIL PROTECTED] libexec]$ ./check_oracle --db playdb1 playdb1 OK - 1 PMON process(es) running but from nagios machine, [EMAIL PROTECTED] libexec]$ ./check_oracle --db playdb1 playdb1 Database is DOWN [EMAIL PROTECTED] libexec]$ ./check_oracle --tns playdb1 Cannot determine ORACLE_HOME for sid playdb1 I have set the proper ORACLE_HOME, ORACLE_SID , PATH variable both on nagios and remote machine well. I aslo enter paramters into tnsnames.ora on remote machine (where oracle is running) for nagios user. But the problem still persists, can you someone please help in this? Thanks - shankar - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] is there a maximum length for performance data?
Hello, I'm using Nagios 2.10 and the ndo2db add-on in a Gentoo environment, and I'm running into problems with the check_disk command, which I'm executing via NRPE. I suspect I may actually be hitting a limitation of the ndo2db add-on, though... In the Nagios config file for server1, I have: define service{ host_name server2,server1,server3 service_description disk usage check_command check_nrpe!check_disk use serviceTemplate } In the NRPE config file on server2, I have: command[check_disk]=/usr/nagios/libexec/check_disk -w 40% -c 20% In the database, the nagios_servicechecks table shows truncated perfdata for checks on server2. The output field is intact: DISK CRITICAL - free space: / 3806 MB (16% inode=93%): /dev 1005 MB (100% inode=98%): /home 85167 MB (77% inode=99%): /usr/portage 85167 MB (77% inode=99%): /dev/shm 1005 MB (100% inode=100%): However, the perfdata field is truncated: /=19666MB;14082;18776;93;23471 /dev=0MB;602;803;97;1004 /home=25220MB;66232;88309;98;110387 /usr/portage=25220MB;66232;88309;98;110387 / The database is set up to allow 255 characters for the perfdata field -- the above, truncated value is only 136 characters long. When I run the following command from server1's CLI, I get what I expect, without truncation: CLI: /usr/nagios/libexec/check_nrpe -H dev -c check_disk Result: DISK CRITICAL - free space: / 3804 MB (16% inode=93%); /dev 1005 MB (100% inode=98%); /home 85167 MB (77% inode=99%); /usr/portage 85167 MB (77% inode=99%); /dev/shm 1005 MB (100% inode=100%);| /=19667MB;14082;18776;93;23471 /dev=0MB;602;803;97;1004 /home=25220MB;66232;88309;98;110387 /usr/portage=25220MB;66232;88309;98;110387 /dev/shm=0MB;602;803;99;1004 The CLI result is 357 characters long. If you truncate it where the truncation occurs in the database, you end up with a string exactly 330 characters long. I wonder if that is some sort of magic number for the ndo2db add-on. I suspect that there isn't any such limitation in the check_disk or check_nrpe commands themselves, since the full output is displayed when called from the command line. I hope I didn't supply so much detail that nobody bothers to read this! Has anyone experienced something similar? -Frank - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] is there a maximum length for performance data?
I confirmed this 330 character limit on another server. However, I'm trying to determine whether the limit is being imposed by the ndo2db add-on or someplace else -- not that it matters, I guess... I'll probably just work around the limitation. I noticed that the perfdata is also truncated in this file: /var/nagios/status.log. I'm not sure where Nagios logs data though... Anyone? Thanks! -Frank On Mon, May 12, 2008 at 3:42 PM, Frank J. Gómez [EMAIL PROTECTED] wrote: Hello, I'm using Nagios 2.10 and the ndo2db add-on in a Gentoo environment, and I'm running into problems with the check_disk command, which I'm executing via NRPE. I suspect I may actually be hitting a limitation of the ndo2db add-on, though... In the Nagios config file for server1, I have: define service{ host_name server2,server1,server3 service_description disk usage check_command check_nrpe!check_disk use serviceTemplate } In the NRPE config file on server2, I have: command[check_disk]=/usr/nagios/libexec/check_disk -w 40% -c 20% In the database, the nagios_servicechecks table shows truncated perfdata for checks on server2. The output field is intact: DISK CRITICAL - free space: / 3806 MB (16% inode=93%): /dev 1005 MB (100% inode=98%): /home 85167 MB (77% inode=99%): /usr/portage 85167 MB (77% inode=99%): /dev/shm 1005 MB (100% inode=100%): However, the perfdata field is truncated: /=19666MB;14082;18776;93;23471 /dev=0MB;602;803;97;1004 /home=25220MB;66232;88309;98;110387 /usr/portage=25220MB;66232;88309;98;110387 / The database is set up to allow 255 characters for the perfdata field -- the above, truncated value is only 136 characters long. When I run the following command from server1's CLI, I get what I expect, without truncation: CLI: /usr/nagios/libexec/check_nrpe -H dev -c check_disk Result: DISK CRITICAL - free space: / 3804 MB (16% inode=93%); /dev 1005 MB (100% inode=98%); /home 85167 MB (77% inode=99%); /usr/portage 85167 MB (77% inode=99%); /dev/shm 1005 MB (100% inode=100%);| /=19667MB;14082;18776;93;23471 /dev=0MB;602;803;97;1004 /home=25220MB;66232;88309;98;110387 /usr/portage=25220MB;66232;88309;98;110387 /dev/shm=0MB;602;803;99;1004 The CLI result is 357 characters long. If you truncate it where the truncation occurs in the database, you end up with a string exactly 330 characters long. I wonder if that is some sort of magic number for the ndo2db add-on. I suspect that there isn't any such limitation in the check_disk or check_nrpe commands themselves, since the full output is displayed when called from the command line. I hope I didn't supply so much detail that nobody bothers to read this! Has anyone experienced something similar? -Frank - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] is there a maximum length for performance data?
I didn't see much info out there about a limit, but I did find this link, which (along with my findings in the status.log file) leads me to believe that the 330 character limit is imposed by Nagios per se, rather than the ndo2db add-on: http://tinyurl.com/4lpeog. I guess I'll be writing a less verbose check_disk plugin now... On Mon, May 12, 2008 at 4:28 PM, Frank J. Gómez [EMAIL PROTECTED] wrote: I confirmed this 330 character limit on another server. However, I'm trying to determine whether the limit is being imposed by the ndo2db add-on or someplace else -- not that it matters, I guess... I'll probably just work around the limitation. I noticed that the perfdata is also truncated in this file: /var/nagios/status.log. I'm not sure where Nagios logs data though... Anyone? Thanks! -Frank On Mon, May 12, 2008 at 3:42 PM, Frank J. Gómez [EMAIL PROTECTED] wrote: Hello, I'm using Nagios 2.10 and the ndo2db add-on in a Gentoo environment, and I'm running into problems with the check_disk command, which I'm executing via NRPE. I suspect I may actually be hitting a limitation of the ndo2db add-on, though... In the Nagios config file for server1, I have: define service{ host_name server2,server1,server3 service_description disk usage check_command check_nrpe!check_disk use serviceTemplate } In the NRPE config file on server2, I have: command[check_disk]=/usr/nagios/libexec/check_disk -w 40% -c 20% In the database, the nagios_servicechecks table shows truncated perfdata for checks on server2. The output field is intact: DISK CRITICAL - free space: / 3806 MB (16% inode=93%): /dev 1005 MB (100% inode=98%): /home 85167 MB (77% inode=99%): /usr/portage 85167 MB (77% inode=99%): /dev/shm 1005 MB (100% inode=100%): However, the perfdata field is truncated: /=19666MB;14082;18776;93;23471 /dev=0MB;602;803;97;1004 /home=25220MB;66232;88309;98;110387 /usr/portage=25220MB;66232;88309;98;110387 / The database is set up to allow 255 characters for the perfdata field -- the above, truncated value is only 136 characters long. When I run the following command from server1's CLI, I get what I expect, without truncation: CLI: /usr/nagios/libexec/check_nrpe -H dev -c check_disk Result: DISK CRITICAL - free space: / 3804 MB (16% inode=93%); /dev 1005 MB (100% inode=98%); /home 85167 MB (77% inode=99%); /usr/portage 85167 MB (77% inode=99%); /dev/shm 1005 MB (100% inode=100%);| /=19667MB;14082;18776;93;23471 /dev=0MB;602;803;97;1004 /home=25220MB;66232;88309;98;110387 /usr/portage=25220MB;66232;88309;98;110387 /dev/shm=0MB;602;803;99;1004 The CLI result is 357 characters long. If you truncate it where the truncation occurs in the database, you end up with a string exactly 330 characters long. I wonder if that is some sort of magic number for the ndo2db add-on. I suspect that there isn't any such limitation in the check_disk or check_nrpe commands themselves, since the full output is displayed when called from the command line. I hope I didn't supply so much detail that nobody bothers to read this! Has anyone experienced something similar? -Frank - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] high check latency, slow update of config on web interface
If you're restarting Nagios through the web interface (rather than on the command line), I think I can help you. My understanding is that restarting Nagios through the web interface is done as an external commandhttp://www.nagios.org/developerinfo/externalcommands/commandlist.php. The web interface sends commands to the command_file (set in your nagios.cfg file), but Nagios only checks the command_file periodically. I think the default interval is 15 minutes. Below are the relevant settings I have in my nagios.cfg file, plus a hyperlink I think you may find useful. check_external_commands=1 command_check_intervalhttp://nagios.sourceforge.net/docs/2_0/configmain.html#command_check_interval =1 command_file=/var/nagios/rw/nagios.cmd Changing this interval will also affect how quickly other external commands (such as en/disabling notifications) respond to the web interface. On Wed, May 7, 2008 at 10:33 AM, Marc Powell [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of #ANG CHIN TECK# Sent: Monday, May 05, 2008 11:05 PM To: nagios-users Subject: [Nagios-users] high check latency,slow update of config on web interface Hi all, I am currently monitoring 50 hosts with no services, only pinging them. perf info for these 50 hosts: check interval: 10 mins check duration: avg 4 s (5 pings) but my check latency fluctuates alot (10s , 140s , 250s) I am also monitoring 2 other hosts with 10 services. perf info for these 10 services: check interval: 1 min check duration: avg 3s check latency fluctuates (2s, 5s, 48s) Why does the latency fluctuates so much? The version of nagios you are using would be critical information. In nagios 2.x, active host checks are run in serial, not in parallel and are highly discouraged because they introduce significant latencies. In 3.x, they've been made to run in parallel. I'm guessing you're using 2.x. Nagios is primarily a service monitoring application and is designed to monitor services. Host monitoring is typically only done on an as-needed basis. Another problem is that after i update my config file, verify and restart nagios, it takes 15 mins for the web interface to register the change. Are you using ndoutils? With that few hosts and services the change should be immediate. Do you see that your objects cache file contains the new information? Do you have multiple nagios daemons running at the same time? Are the 2 problems linked? Not in any way that I've ever seen. -- Marc - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] ndo2db -- lots of empty tables
Sorry to bump the thread, but I'm still struggling with these tables. Surely others are using the ndo2db module! On Wed, Apr 9, 2008 at 12:34 PM, Frank J. Gómez [EMAIL PROTECTED] wrote: Hello again. So I've got the ndo2db module installed and working, but now I have some questions. The results of my service checks are being logged to the nagios_servicechecks table, which is very cool. However, I have a bunch of tables in the nagios database which are not populated. I won't list them all, but I'm most interested in nagios_hosts and nagios_services. What's interesting is that hosts and services seem to be stored together in the nagios_objects table. Hosts are stored with an objecttype_id of 1, with the hostname stored in name1. Services are stored with an objecttype_id of 2, with the hostname stored in name1 and the command stored in name2. Also worth noting is that the nagios_servicechecks table never refers to columns from the nagios_hosts and nagios_services; instead it refers to the object ids. So I guess those are mostly observations, not questions... Some questions then: - Did I do something wrong/different during the install process, or are these tables empty by default for everyone else? - Say I want to monitor a new host, should I edit my config files as in the past or add the information to the database? If I add it to the database, should I use the nagios_objects table or mess with the nagios_hosts and nagios_services tables? - Does anyone know what all of the objecttype_id codes mean? So far I have 1 (hosts), 2 (services), 9, 10, and 12. - Why are those tables there if they are not being used? I may think of more questions later; these are the ones that immediately popped into my head. Thanks, -Frank PS: I have not seen much documentation about ndo2db. If anyone has a good resource, please share! - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] ndo2db -- lots of empty tables
Thank you, Duncan. This is very useful documentation. The tables make so much more sense now! I made some changes to the configuration files and got the desired results, but I don't really understand the configuration options and I'd like to. I hope you'll bear with me for a bit longer. I changed config_output_options in the ndomod.cfg file from 2 to 1. When I restarted Nagios, I found the config tables had been populated. (Victory!) The available options are: # CONFIG OUTPUT OPTION # This option determines what types of configuration data the NDO # NEB module will dump from Nagios. Values can be OR'ed together. # Values: # 0 = Don't dump any configuration information # 1 = Dump only original config (from config files) # 2 = Dump config only after retained information has been restored # 3 = Dump both original and retained configuration I guess I don't understand what is meant by retained information, nor where it is being restored from. For that matter, I don't know what it means to OR values together... Can someone explain what these options mean? In case it helps anyone else, my data_processing_options (same file) is set to -1. I didn't have to change this. Thanks, -Frank On Thu, Apr 10, 2008 at 2:30 PM, Duncan Ferguson [EMAIL PROTECTED] wrote: On 10 Apr 2008, at 16:52, Frank J. Gómez wrote: The results of my service checks are being logged to the nagios_servicechecks table, which is very cool. However, I have a bunch of tables in the nagios database which are not populated. I won't list them all, but I'm most interested in nagios_hosts and nagios_services. Check your setting of 'config_output_options' in the ndomod.cfg file - it may be incorrectly set for the information you want. So I guess those are mostly observations, not questions... Some questions then: - Did I do something wrong/different during the install process, or are these tables empty by default for everyone else? Check your setting of 'data_processing_options' in the ndomod.cfg file. - Say I want to monitor a new host, should I edit my config files as in the past or add the information to the database? If I add it to the database, should I use the nagios_objects table or mess with the nagios_hosts and nagios_services tables? Nagios only writes to the ndo database, it doesn't read from it. - - Does anyone know what all of the objecttype_id codes mean? So far I have 1 (hosts), 2 (services), 9, 10, and 12. The PDF may help with this (link below). If you feel it is lacking in information I am sure Ethan will accept updates. - Why are those tables there if they are not being used? Check your setting of 'data_processing_options' in the ndomod.cfg file. PS: I have not seen much documentation about ndo2db. If anyone has a good resource, please share! http://nagios.sourceforge.net/docs/ndoutils/NDOUtils_DB_Model.pdf and also the source code itself. Duncs -- Duncan Ferguson Senior Developer, Altinity Limited http://www.altinity.com Tel: +44 (0)870 787 9243 US: +1 866 879 9184 Fax: +44 (0)845 280 1725 Skype: duncan_j_ferguson MSN: [EMAIL PROTECTED] The contents of this email and any files transmitted with it are confidential and intended solely for the use of the individuals to whom it is addressed. If you are not the intended recipient or have received this e-mail in error please notify the sender and delete this e-mail immediately. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly prohibited. Altinity Limited | 404 Seven Sisters Road | London | N4 2LX | United Kingdom Registered in England and Wales under company number 4743767 - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] ndo2db -- lots of empty tables
Hello again. So I've got the ndo2db module installed and working, but now I have some questions. The results of my service checks are being logged to the nagios_servicechecks table, which is very cool. However, I have a bunch of tables in the nagios database which are not populated. I won't list them all, but I'm most interested in nagios_hosts and nagios_services. What's interesting is that hosts and services seem to be stored together in the nagios_objects table. Hosts are stored with an objecttype_id of 1, with the hostname stored in name1. Services are stored with an objecttype_id of 2, with the hostname stored in name1 and the command stored in name2. Also worth noting is that the nagios_servicechecks table never refers to columns from the nagios_hosts and nagios_services; instead it refers to the object ids. So I guess those are mostly observations, not questions... Some questions then: - Did I do something wrong/different during the install process, or are these tables empty by default for everyone else? - Say I want to monitor a new host, should I edit my config files as in the past or add the information to the database? If I add it to the database, should I use the nagios_objects table or mess with the nagios_hosts and nagios_services tables? - Does anyone know what all of the objecttype_id codes mean? So far I have 1 (hosts), 2 (services), 9, 10, and 12. - Why are those tables there if they are not being used? I may think of more questions later; these are the ones that immediately popped into my head. Thanks, -Frank PS: I have not seen much documentation about ndo2db. If anyone has a good resource, please share! -Original Message- From: Frank J. Gómez [EMAIL PROTECTED] To: nagios-users@lists.sourceforge.net nagios-users@lists.sourceforge.net Sent: Tue Apr 08 15:48:42 2008 Subject: [Nagios-users] stability of ndoutils-1.4b7 (ndomod and ndo2db)? Hi, I've just started using ndomod and ndo2db on a development server to have status checks logged to a MySQL database instead of flat files. I am using Nagios v. 2.10 on the development server, v. 2.7 on the production server. The one on production can probably be upgraded to 2.10... Anyway, the readme file in the ndoutils-1.4b7 says: This code is still an alpha/beta quality, so expect problems if you intend to use it. Make sure that you aren't using it with your only production installation of Nagios, or it could take down the Nagios process if the NDOMOD module segfaults. Nagios could segfault silently and you might never know that Nagios crashed... However, I see from the SourceForge site that this code hasn't been changed since 10/31/2007. Is this add-on relatively stable? Are other folks using it in production? Is there anything in particular I should be aware of? Thanks! -Frank - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] stability of ndoutils-1.4b7 (ndomod and ndo2db)?
Hi, I've just started using ndomod and ndo2db on a development server to have status checks logged to a MySQL database instead of flat files. I am using Nagios v. 2.10 on the development server, v. 2.7 on the production server. The one on production can probably be upgraded to 2.10… Anyway, the readme file in the ndoutils-1.4b7 says: This code is still an alpha/beta quality, so expect problems if you intend to use it. Make sure that you aren't using it with your only production installation of Nagios, or it could take down the Nagios process if the NDOMOD module segfaults. Nagios could segfault silently and you might never know that Nagios crashed... However, I see from the SourceForge site that this code hasn't been changed since 10/31/2007. Is this add-on relatively stable? Are other folks using it in production? Is there anything in particular I should be aware of? Thanks! -Frank - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios from address change
Thanks Chris !! I actually managed to do what I needed using genericstables in sendmail, but this is a much more elegant solution. I like it, and I think I'll implement it here. Thanks again! Frank -Original Message- From: Christopher Odenbach [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 22, 2007 3:40 AM To: nagios-users@lists.sourceforge.net Cc: Buechler, Frank Subject: Re: [Nagios-users] Nagios from address change Hi, My apologies in advance if this question has been hashed out here before. I have a request from management to change the from address in Nagios alerts. In other words, notifications come from nagios@, my boss would like to see it be something different, as in WhateverAlerts@. I've tried playing with genericstable in sendmail, and have been unsuccessful. Is there another way to do this? We do: define command{ command_namenotify-by-email command_line/usr/bin/printf %b * Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info: \n\n$SERVICEOUTPUT$ | /usr/bin/mail -a From: [EMAIL PROTECTED] -a Return-Path: [EMAIL PROTECTED] -a List-Id: Nagios nagios.uni-paderborn.de -s [Nagios] **$SERVICEDESC$ at $HOSTALIAS$ ($NOTIFICATIONTYPE$) ** $CONTACTEMAIL$ } So /usr/bin/mail allows you to add additional headers, like From or List-Id. Christopher -- == Dipl.-Ing. Christopher Odenbach Zentrum fuer Informations- und Medientechnologien Universitaet Paderborn Raum N5.110 [EMAIL PROTECTED] Tel.: +49 5251 60 5315 == - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Monitoring a remote host via nrpe
Hi all, We have a filtered WAN network. There is a file transfert between a server A on our LAN network and a server B on a remote network. I want to monitor this transfert by Nagios. I've installed NSClient++ vers. 2.7 on my server A. The nagios client is configured for NRPE. Some of existents command work fine, another not. For testing communication, i've created a small file that realize a ping between these 2 machines. It works well on hand direct from the server. When I test it through my Nagios server via check_nrpe, i have this message : NRPE_NT failed to create process, exiting I've search on my windows server, but there is no other message. Questions : 1/ have you got test this ? 2/ How shall you do it with NRPE or not ? Any suggest would be helpfull ! Thanks ! Frank Nagios 2.9, Nagios plugins : 1.4.8 Nagios OS : Linux Mandriva 2006 NRPE Server : 2.7.1 Client OS : Win Server 2003 R2, W2K, [EMAIL PROTECTED]- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] docs for status.cgi
On Wed, 9 May 2007, Jim Avery wrote: On 08/05/07, Greg Martin [EMAIL PROTECTED] wrote: I went looking and hand no luck trying to find the documentation for status.cgi parameters. Are they documented anywhere? Thanks \\Greg They're documented in Wolfgang Barth's book Nagios published by No Starch Press. Cheers, Jim http://web.they.org/software/picker.txt Using the Nagios book as a guide I wrote a simple little picker that lets you choose what to display based on the service properties such as alerts active/silenced, active checks enabled/disabled... This is by no means a complete description of all available args to status.cgi but I think it's a good start. Drop it into your cgi-bin and chmod 755 (probably rename to picker.cgi as well). You may need to edit the redirect line to suit your Nagios environment. It assumes you're installed at /nagios/cgi-bin/. I added a link in my side.html to make accessing it easier. Please don't contact me if you need more help deploying it. If that's the case you probably shouldn't be the primary contact for your monitoring systems. I whipped this up pretty quick and it does what I need it to do, but patches are welcome. -f - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Bug in check_disk when using mount points?
(Please pardon my top-posting) The first problem is that the --help listing has a typo. Mount points are checked with '-M', megabytes are checked with '-m', but both are listed in lowercase when you use --help. The second problem appears to be in the reporting of command line errors. Try putting your mount point after your -w and/or -c flags. In older version of the plugin it would complain when you left out either the -w or -c. Now it just reports (signed) 2^32 (if my mental math is right) in the performance data: # ./check_disk -M -w 10% /home DISK WARNING - free space: /dev/hda3 5904 MB (8% inode=95%);| /dev/hda3=63902MB;66188;-2147483648;0;73543 So yes, there are some issues in the plugin that deserve fixing, but it does work properly when given instructions in the correct order. -f On Wed, 14 Feb 2007, Hari Sekhon wrote: OK it's not just a bug with the -m switch but with the whole plugin. Observe: /usr/nagios/libexec/check_disk -l -w 2 -c 1 -u TB -vvv DISK OK - free space: / 0 TB (77% inode=98%); /dev 0 TB (100% inode=98%); /home/match/ramdisk 0 TB (17% inode=100%); /dev/shm 0 TB (100% inode=100%); /boot 0 TB (93% inode=100%); 0 of 0 TB (77% inode=98%) free on /dev/sda2 (type ext3 mounted on /) warn:2 crit:1 warn%:-1% crit%:-1% 0 of 0 TB (100% inode=98%) free on udev (type tmpfs mounted on /dev) warn:2 crit:1 warn%:-1% crit%:-1% 0 of 0 TB (17% inode=100%) free on tmpfs (type tmpfs mounted on /home/match/ramdisk) warn:2 crit:1 warn%:-1% crit%:-1% 0 of 0 TB (100% inode=100%) free on shm (type tmpfs mounted on /dev/shm) warn:2 crit:1 warn%:-1% crit%:-1% 0 of 0 TB (93% inode=100%) free on /dev/sda1 (type ext3 mounted on /boot) warn:2 crit:1 warn%:-1% crit%:-1%| /=0TB;0;0;98;0 /dev=0TB;0;0;97;0 /home/match/ramdisk=0TB;0;0;99;0 /dev/shm=0TB;0;0;99;0 /boot=0TB;0;0;99;0 Hari Sekhon Hari Sekhon wrote: I'm using check disk and want to have it test the filesystem of a mount point rather than a partition. # df / Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2153337060 28240084 117307864 20% / DF shows the filesystem is 20% used so I want this to force an error using the following test line so see that it actually works: check_disk -m / -w 90% the above check_disk should show Warning at this point as there is less than 90% free space left. Whether I do 10% or 90% it still returns successful even when it's not in the threshold range. # /usr/nagios/libexec/check_disk -m /home -w 100% DISK OK - free space: / 114558 MB (77% inode=98%);| /=35185MB;149743;149743;98;149743 # /usr/nagios/libexec/check_disk -m /home -w 10% DISK OK - free space: / 114558 MB (77% inode=98%);| /=35185MB;149743;149743;98;149743 # /usr/nagios/libexec/check_disk -m /home -w 90% DISK OK - free space: / 114558 MB (77% inode=98%);| /=35185MB;149743;149743;98;149743 The same is true when I was testing the /boot partition (which is a separate partition). So it looks like the -m switch is broken. Can anyone verify this? Is it a known bug, is it fixed? I am running check_disk (nagios-plugins 1.4.3) 1.64 (taken from the top line of check_disk --help) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] ascii frontend
On Fri, 2 Feb 2007, Lars Stavholm wrote: Hi List, Does anyone know of an ascii/text/curses frontend to nagios. (dialog based maybe?) I have a situation were I don't have other than ssh access to the box and need to be able to get some sort of overview from a textbased frontend to nagios once logged in. Failing that, any ideas? Is there a published API for the frontend? Any thoughts appreciated. R /Lars Other people have mentioned console tools so I won't bother. But did you know that with ssh access you have access to every port on the remote machine? SSH(1) -L [bind_address:]port:host:hostport Specifies that the given port on the local (client) host is to be forwarded to the given host and port on the remote side. This works by allocating a socket to listen to port on the local side, optionally bound to the specified bind_address. Whenever a con- nection is made to this port, the connection is forwarded over the secure channel, and a connection is made to host port hostport from the remote machine. ssh -L 8080:localhost:80 your-nagios-box http://localhost:8080/ So here you're hitting port 8080 on your desktop machine and the packets are getting sent over your SSH connection to the HTTP port on the nagios server. If the HTTP server on the nagios box isn't bound to localhost you'll have to specify (in the ssh command) the hostname or IP that it is bound to. ('netstat -tnl | grep :80' can help you find out) Windows ssh clients such as PuTTY can also do port forwarding. -f - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Schedule Downtime w/o authentication requirement
No, you didn't. The last link under Configuring Nagios in the documentation table of contents clearly says Configuring authorization for the CGIs. Read it! http://nagios.sourceforge.net/docs/2_0/cgiauth.html Authentication On Secured Web Servers If your web server is located in a secure domain (i.e., behind a firewall) or if you are using SSL, you can define a default username that can be used to access the CGIs. This is done by defining the default_user_name option in the CGI configuration file. By defining a default username that can access the CGIs, you can allow users to access the CGIs without necessarily having to authenticate to the web server.. You may want to use this to avoid having to use basic web authentication, as basic authentication transmits passwords in clear text over the Internet. Important: Do not define a default username unless you are running a secure web server and are sure that everyone who has access to the CGIs has been authenticated in some manner! If you define this variable, anyone who has not authenticated to the web server will inherit all rights you assign to this user! -f On Tue, 19 Dec 2006, Subin Shakya wrote: Date: Tue, 19 Dec 2006 10:30:06 -0800 From: Subin Shakya [EMAIL PROTECTED] To: Andreas Ericsson [EMAIL PROTECTED] Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Schedule Downtime w/o authentication requirement Andreas, Thanks for your advice. But, FYI, I have done what I could before I painfully signed up and advertised my issue on this list. By the way, I am novice on Nagios (heck also with Linux) and took me a while to build the Nagios system which I am extremely proud of. What do you think? Can you pass your knowledge to me now? - Subin -Original Message- From: Andreas Ericsson [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 1:27 AM To: Subin Shakya Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Schedule Downtime w/o authentication requirement Subin Shakya wrote: I want to configure nagios in such a way that it does not require any kind of authorization/authentication including 'guest'. How can I do that? I do not know where to go in Nagios config to make this happen. TIA, Symuser =0D Right now when I select a Host to schedule a downtime I get: =0D Sorry Dave, I can't let you do that... It seems that you have chosen to not use the authentication functionality of the CGIs. I don't want to be personally responsible for what may happen as a result of allowing unauthorized users to issue commands to Nagios,so you'll have to disable this safeguard if you are really stubborn and want to invite trouble. Read the section on CGI authentication in the HTML documentation to learn how you can enable authentication and why you should want to. Nagios is more polite than I am. RTFM and do some thinking and you'll find the answer. On a sidenote; I know the answer but I'm not interested in giving it to you when you haven't even bothered trying to find it for yourself. -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 === Notice: This e-mail message, together with any attachments, contains information of Symyx Technologies, Inc. or any of its affiliates or subsidiaries that may be confidential, proprietary, copyrighted, privileged and/or protected work product, and is meant solely for the intended recipient. If you are not the intended recipient, and have received this message in error, please contact the sender immediately, permanently delete the original and any copies of this email and any attachments thereto. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net
Re: [Nagios-users] check_nagios -- not detecting status log update correctly
On Wed, 29 Nov 2006, Ben O'Hara wrote: On 11/29/06, Terry [EMAIL PROTECTED] wrote: Thanks for the reply. Filesystem has 256G available and nagios is definitely running and is performing service checks. Try a newer version of the plugins, looks like a problem i had a few days ago where check_nagios is expecting to use /var/status.log but it needs to use the status.dat file recompile the plugins and it should be fine. Ben Actually I'd lean more towards it being a case of old and busted. When I hit this problem it wasn't a matter of the status.dat location (since -F /path/to/status.file is one of the _required_ CLI args). Upgrade to Plugins 1.4.3 and you'll be ok. If you don't want to upgrade all your plugins at once just compile the package and copy the check_nagios binary out instead of running make install. -f On 11/29/06, Hari Sekhon [EMAIL PROTECTED] wrote: check that your filesystem isn't full, this happened to me recently, an incentive to add a filesystem space check which I did! oh yeah, and silly but obvious, check your nagios is running... -h Hari Sekhon Terry wrote: [EMAIL PROTECTED] ~]# date Wed Nov 29 10:03:49 CST 2006 [EMAIL PROTECTED] ~]# ls -l /var/log/nagios/status.dat -rw-rw-r-- 1 nagios nagios 155812 Nov 29 10:03 /var/log/nagios/status.dat [EMAIL PROTECTED] ~]# /usr/lib/nagios/plugins/check_nagios -e 5 -F /var/log/nagios/status.dat -C /usr/bin/nagios Nagios problem: located 1 process, status log updated 1164816202 seconds ago Any ideas? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_nagios -- not detecting status log update correctly
On Wed, 29 Nov 2006, Ben O'Hara wrote: On 11/29/06, frank [EMAIL PROTECTED] wrote: On Wed, 29 Nov 2006, Ben O'Hara wrote: On 11/29/06, Terry [EMAIL PROTECTED] wrote: Thanks for the reply. Filesystem has 256G available and nagios is definitely running and is performing service checks. Try a newer version of the plugins, looks like a problem i had a few days ago where check_nagios is expecting to use /var/status.log but it needs to use the status.dat file recompile the plugins and it should be fine. Ben Actually I'd lean more towards it being a case of old and busted. When I hit this problem it wasn't a matter of the status.dat location (since -F /path/to/status.file is one of the _required_ CLI args). Upgrade to Plugins 1.4.3 and you'll be ok. If you don't want to upgrade all your plugins at once just compile the package and copy the check_nagios binary out instead of running make install. Yes, its a required arg but im sure the format of status.dat has changed, it used to be status.log and im fairly sure it changed format along with its name. Ben -f I'm sorry, I misread part of your post. To me, recompile the plugins meant re-run make and make install, not install the new version. We were both saying the same thing. I wonder if this fact needs a FAQ because the fix was non-obvious to me. I spent far too much time running straces and the like. But I didn't bother to read the C code. -f On 11/29/06, Hari Sekhon [EMAIL PROTECTED] wrote: check that your filesystem isn't full, this happened to me recently, an incentive to add a filesystem space check which I did! oh yeah, and silly but obvious, check your nagios is running... -h Hari Sekhon Terry wrote: [EMAIL PROTECTED] ~]# date Wed Nov 29 10:03:49 CST 2006 [EMAIL PROTECTED] ~]# ls -l /var/log/nagios/status.dat -rw-rw-r-- 1 nagios nagios 155812 Nov 29 10:03 /var/log/nagios/status.dat [EMAIL PROTECTED] ~]# /usr/lib/nagios/plugins/check_nagios -e 5 -F /var/log/nagios/status.dat -C /usr/bin/nagios Nagios problem: located 1 process, status log updated 1164816202 seconds ago Any ideas? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Snmp - How do you use yours?
On Tue, 28 Nov 2006, Thomas Sluyter wrote: On 28 Nov, 2006, at 17:23, Patrick Proy wrote: To run local test using snmp, you can use the exec command in snmpd.conf (man snmpd.conf for details): the results will be in the OID table at 1.3.6.1.4.1.2021.8. While I'm sure that the U.C. Davis (that's who 2021 belongs to) would be more than happy to share their private SNMP subtree with us, it's a better idea to register your _own_ subtree. That way you can be absolutely sure that you're not messing things up by using OIDs that may already get used for something else in your environment. Actually, why don't you check through the following list to see if you company already _has_ a subtree of its own? - http:// www.iana.org/assignments/enterprise-numbers Dude, chill. Also, your statement about the exec command is false. The results from the script will not fall under 1.3.6.1.4.1.2021.8 per default. They only will do so if you tell the daemon to do that, through snmpd.conf. It's just that the net-SNMP people have used the 2021 range for their _examples_. Admittedly, the chance of something going wrong by you using someone else's SNMP subtree are slim to none. But I'm always in favor of the most elegant option, if there's a choice. extTable OBJECT-TYPE SYNTAX SEQUENCE OF ExtEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION A table of extensible commands returning output and result codes. These commands are configured via the agent's snmpd.conf file. ::= { ucdavis 8 } It's _everyone's_ subtree. As the MIB says, it's defined in the agent's own snmpd.conf file so it belongs to whoever is writing that file! Perhaps UCD is writing _your_ config files, I write my own. Cheers! Thomas -f - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nsca/services issue
I'm not absolutely positive, but I think you just need to change your test file so it says syslog-ng instead of nmbd. It's possible to send passive checks (via nsca or whatever other methods one may employ) for _any_ host or service you can imagine, but Nagios will log and ignore every one of them unless they're properly defined in your Nagios config files. From http://nagios.sourceforge.net/docs/2_0/passivechecks.html Note that in order to submit service checks to Nagios, a service must have already been defined in the object configuration file! Nagios will ignore all check results for services that had not been configured before it was last (re)started. -f On Tue, 21 Nov 2006, Mike Carpenter wrote: Probably not... I have been reading some documentation on both syslog and nsca that talk (at the same time) about distributed systems and logging. This is a test script that I took from one to the pieces of documentation and appears that I messed up at midnight. With that said...how can I can I test this in this manner? Thanks frank [EMAIL PROTECTED] wrote: Sorry for top-posting but my point would get lost in the mix. Pardon me if I'm wrong here, but it looks like you have a service defined for syslog-ng, yet the status that you're sending thru nsca is for _nmbd_. nmbd != syslog-ng, therefore no change to nagios display. Did I miss something? -f On Tue, 21 Nov 2006, Mike Carpenter wrote: Date: Tue, 21 Nov 2006 09:20:21 -0800 (PST) From: Mike Carpenter To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] nsca/services issue I have a question about nsca and service checks. I am running nsca 2.6 and Nagios 2.5. I have just trying to send a simple test service check to Nagios to see if I can get the state to change and it isnt working Here is what I am trying to do From the remote machine: /usr/bin/send_nsca H ian -d ; c /etc/send_nagios.cfg test The file test contains: mike;nmbd;2;ok-just one test I have configured nsca on the Nagios server and the config file contains: server_port=5667 server_address=192.168.1.10 nsca_user=nagios nsca_group=nagios debug=0 command_file=/usr/local/nagios/var/rw/nagios.cmd alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump aggregate_writes=0 append_to_file=0 max_packet_age=30 password=password decryption_method=10 The send_nagios.cfg contains: password=password encryption_method=10 My service check is: define service{ host_name mike service_description syslog-ng active_checks_enabled 0 passive_checks_enabled 1 check_freshness 0 is_volatile 1 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 check_period none contact_groups nagios-admins check_command check_dummy!2!Critical notification_options w,c,u notification_period 24x7 notification_interval 120 } The /var/log/messages file shows the following: Nov 21 00:09:00 ian nsca[12202]: SERVICE CHECK - Host Name: 'mike', Service Description: 'nmbd', Return Code: '2', Output: ''ok-just one test'' Nov 21 00:09:47 ian nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;mike;nmbd;2;'ok-just one test' It appears that the external command file is getting the check but the host page just sits there saying that the host hasnt been checked. I have tried several different states and still the same result. I understand that an active check isnt being performed but I would think that because of the above PROCESS_SERVICE_CHECK_RESULT line that the nagios.cmd file got the message and the page should be updated with a critical message. I read in the docs that the check needs to have the date in front of it but when I tried that I couldnt get nsca to expand the variable I have checked permissions, etc. So where have I messed up? LOL. Any help is greatly appreciated. - Sponsored Link Mortgage rates as low as 4.625% - $150,000 loan for $579 a month. Intro-*Terms - Sponsored Link Degrees for employed people - in as fast as 1 year. A.S. / Bachelors / Masters- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nagios2 stops checking
On Wed, 15 Nov 2006, Jörgen Hägg wrote: Something strange happens sometimes to a service. I got a warning that was checked 09:41:36. Next scheduled active check was due for 09:42:36. But there was no further check done, it is now more than four hours since the last check. I can confirm it because I'm running nagios-grapher and it has no data after 09:41. The warning disappeared after I manually re-scheduled next check of the service. I've seen the same problem on 2.0b4 (yes, I know I need to upgrade, but try to convince upper management that it's a good idea and they'll read you the riot act.) Passive checks continued to be handled properly and the status.dat file was being updated on a regular basis so the check_nagios plugin was useless to determine any error. But all active checks stopped dead. This has happened more than once. I don't think I was able to un-wedge it by forcing a new check tho. I'll try that next time it happens. Here is the detailed service page: (This info was reloaded around 14:24) Current Status: WARNING Status Information: WARNING - load average: 7.66, 2.76, 1.29 Performance Data: load1=7.660;5.000;10.000;0; load5=2.760;4.000;8.000;0; load15=1.290;3.000;5.000;0; Current Attempt:1/3 State Type: SOFT Last Check Type:ACTIVE Last Check Time:2006-11-15 09:41:36 Status Data Age:0d 4h 40m 45s Next Scheduled Active Check:2006-11-15 09:42:36 Latency:0.356 seconds Check Duration: 1.023 seconds Last State Change: 2006-11-15 09:41:36 Current State Duration: 0d 4h 40m 45s Last Service Notification: N/A Current Notification Number:0 Is This Service Flapping? NO Percent State Change: 0.00% In Scheduled Downtime? NO Last Update:2006-11-15 14:22:15 Active Checks: ENABLED Passive Checks: ENABLED Obsessing: ENABLED Notifications: ENABLED Event Handler: ENABLED Flap Detection: ENABLED This is nagios 2.5-1 in Debian. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] I give up ....
+++ Danilo [Mon, Nov 13, 2006 at 03:45:45PM CET]: Ok, I am not (really not) a Perl Expert. I am simply trying to get out some values from ngraph.log to display free space on a windows server ... This is the line that nagios gives me. PIPE: DB2 DISCO_D Disk ok - 25.33G (31%) free on \\10.1.1.8\d My check script in nagios_grapher is define ngraph { service_name DISCO graph_perf_regex [0-9]*\.[0-9]*G graph_value disk_free graph_units Bytes graph_legend spazio libero % rrd_plottype AREA rrd_color 00a000 hide yes } can somebody help me telling the right way to write a valid and fully functional regex to be able to catch the value (25.33G in this case) Thanks a lot . a coffee cup payed :-) \s*([0-9]*\.[0-9]*)G or -\s*([0-9]*\.[0-9]*)G Btw, this stupid pseudo regex has nearly nothing to do with perl ;) Another suggestion, each time you have modified your ngraph.ncfg file. Verify that there are no unprintable chars (vi :set list) like blanks or tabs Ciao Frank -- Join the ||==| Soon bombing US World ||==| a small Domination |===| country Tour 2007! |===| near you! - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Net-SNMP and SNMP4Nagios
It seems that RedHat broke their Fedora HTTP servers with the recent release of Fedora Core 6. My yum setup has been solid for a long time but now I'm getting errors as well. Trying going to any URL other than / on fedora.redhat.com (like http://fedora.redhat.com/download/) will get a 404 with a redirect to a page that says: Fedora Core 6 We are working hard to bring fedora.redhat.com back up to its fully operational state. Until then, please visit our BitTorrent tracker or list of mirrors if you are trying to download Fedora Core 6. Fedora Infrastructre Team For status updates and information on what systems are affected please visit fedora wiki Fedora is a trademark of Red Hat, Inc. The Fedora Project is maintained and driven by the community and sponsored by Red Hat, Inc. -f On Wed, 25 Oct 2006, Max H. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin Craig wrote: I updated my num.conf file with the example provided and cleaned yum. Now, it's looks like progresion, but still get an error when trying to install net-snmp. Ideas? I hate to turn you to another mailing list, but see what you can dig up on the Fedora forums. If you have a good yum.conf file things should be a go, unless they are having issues with the yum mirrors for FC3. I don't have any FC instances up at the moment or I could try to see if I get any errors either. You don't have any proxy in the way do you? I'd perhaps look at that, if you do. Sorry I can't help you more! After you get that figured out, though, installing snmp is a snap. ;) Max -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFP4nvHoeeepPau2ERAtPcAJ4yUA/jsTeSc3bAMGHIHkLHnQ82iACgl2qj pF5RlILGCuEN5TkwLrMG1PU= =qLMJ -END PGP SIGNATURE- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] checking a counter on a website
This actually hits on what I consider to be one of Nagios' (few) weaknesses. A lot of time, when I do my checks, I'm not nearly as interested in the value of a check as in the change in the value since the last check. This isa goodexample. Another itemI monitor is changes in the SNMP Interface error counters. For example, if I get more than 5 errors/second, I need to send out an alert. Finally, I have the same issue monitoring SNMP Interface statuses. But, Nagios has no feature to remember data between invocations of the checks. So, I end up storing this data in temporary files.If there was a facility to provide some information back to Nagios, and retrieve it on the next one, that would be wonderful. Jason From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew CruseSent: Tuesday, October 17, 2006 1:52 PMTo: 'Maxwell,Brady'; nagios-users@lists.sourceforge.netSubject: Re: [Nagios-users] checking a counter on a website I would just write a quick script that grabs the value on the counter, then grabs the value again and subtracts the first from the second. Publish that value out via SNMP and then just use check_snmp to verify that the value is =1. People with more programming skills than I would probably just write one plugin to do it all. Andrew From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maxwell,BradySent: Tuesday, October 17, 2006 2:45 PMTo: nagios-users@lists.sourceforge.netSubject: [Nagios-users] checking a counter on a website Anyone ever tried to check a websites hit counter and return a warning if the hit counter has not incremented since the previous check? Brady Maxwell Systems Engineer Online Computer Library Center, Inc. 614.764.6133 | [EMAIL PROTECTED] This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender. SOURCECORP, Incorporated www.srcp.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_mailq
I've edited the sudoers file using visudo and appended this information - it doesn't seem to have made a difference though, unfortunately. Perhaps this plugin will not work the way I'm trying to use it? I'm guessing that this plugin is designed to run on the mail server itself which is running nagios /and/ qmail? An SMTP service for instance is easy to monitor remotely because you can just attempt an SMTP connection to test. Checking the mail queue remotely is maybe not possible? Maybe I'm just missing something? Sjaak Nabuurs wrote: Maybe just add this line in /etc/sudoers with visudo nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/ I used this with Fedora4 Good luck - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] check_mailq
I've installed and am configuring Nagios v1.3 on Ubuntu server. I used apt-get install nagios and the majority of setup was done for me. I have a qmail server and I'm trying to get the check_mailq plugin to work. So far all I'm getting is: ERROR: is not executable by (uid 109:gid(109 109)) #./check_mailq -h reveals this: This plugin uses the system mailq command (sendmail) or qmail-stat (qmail) to look at the queues. Mailq can usually only be accessed by root or a TrustedUser. You will have to set appropriate permissions for the plugin to work. I've tried setting /usr/sbin/sendmail SUID I've tried setting /usr/lib/nagios/pluggins/check_mailq SUID The nagios process is running as user nagios Should I set nagios as a TrustedUser? Does this mean the qmail server needs a TrustedUser added (nagios I assume)? Please help. Anything you got would be greatly appreciated. Thanks, Frank - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] (No output!) Nagios 2.5
Hello all, I first sent this to the plugins mailing list but I think this has more to do with Nagios core since I am now having the problem with two different plug-ins. They both give me correct output when I run the checks manually but Nagios consistently gives me a result of (No output!). The check below always had a Critical level for the No Output but another check that I am doing gives a Warning level. How can there be two different results from having (No output!). I do not see any errors in any of my log files. Below is the information from my previous email. I am trying get check_snmp_win.pl to work. I am able to run the exact command that Nagios is running without any problems and I get output, but when I run the check though Nagios it says No output! I am able to run other checks without any problems. I see at http://www.manubulon.com/nagios/faq.html#FAQ8 that there is a problem with the embedded perl in Nagios so I make sure that I ran the script using another version of perl. I am unable to find the p1.pl file it is talking about patching. # 'check_win_proc_snmp' define command{ command_name check_win_proc_snmp command_line /opt/ActivePerl-5.8/bin/perl /usr/local/nagios/libexec/check_snmp_win.pl -H HOST -C COMMUNITY -p PORT -n SERVICE_TO_CHECK -N 1 } I have also tried using /usr/local/bin/perl and there has been no change. I am able to run the check manually without any problems but cant run it though Nagios. Any help you can give will be great. Thanks, Michael Michael Frank [EMAIL PROTECTED] Network Administrator (802) 241-5393 VT Dept of Public Safety 103 S Main, Waterbury 05671 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Apache2 permission denied error
SELinux. I don't have a specific resolution for you, but that should point you in the right direction. Curiously, a search for selinux or forbidden comes up blank in the Nagios FAQ. This is a VERY common configuration error that I see on the list at least 3 times a month. Perhaps a relevant FAQ can be crafted? -f On Thu, 17 Aug 2006, Rusch, Daniel wrote: Date: Thu, 17 Aug 2006 16:24:00 -0600 From: Rusch, Daniel [EMAIL PROTECTED] To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Apache2 permission denied error All, I read the manual, the archives, googled etc. System: Apache2 standard Suse 9 enterprise sp3 install We installed nagios 2.5 as per install instructions (BTW I've been using nagios since netsaint days and have installed nagios dozens of times) Apache runs as wwwrun When we try to access the web interface we get the following error: Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server. If you think this is a server error, please contact the webmaster mailto:%5bno%20address%20given%5d . Error 403 Checking the apache log file I see: [Thu Aug 17 16:08:14 2006] [error] [client 10.30.150.117] (13)Permission denied: file permissions deny server access: /usr/local/nagios/share/index.html The permissions on the share directory are (and all parent directories too, ownership of parent directories change of course): drwxrwxr-x 9 nagios nagios 360 2006-08-17 09:27 share permissions on the index.html file: -rw-rw-r-- 1 nagios nagios 658 2006-08-17 09:15 index.html relevant groups: nagios:!:1001:nagios,wwwrun The Alias in apache for the share directory is: Alias /nagios /usr/local/nagios/share/ Directory /usr/local/nagios/share Options None AllowOverride AuthConfig #AllowOverride None Order allow,deny Allow from all /Directory As can be seen I have tried changing the AllowOverirde directive to no avail Thoughts? Dan - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null