[Nagios-users] Alert history time difference
Hi Nagios Experts, Below was the informatios i got from clicking view alert history for the host : [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL - (loss=100% ) [05-11-2009 16:43:36] HOST ALERT: benfwca;DOWN;SOFT;4;FPING CRITICAL - (loss=100% ) [05-11-2009 16:40:30] HOST ALERT: benfwca;DOWN;SOFT;3;FPING CRITICAL -(loss=100% ) [05-11-2009 16:37:30] HOST ALERT: benfwca;DOWN;SOFT;2;FPING CRITICAL - (loss=100% ) [05-11-2009 16:34:16] HOST ALERT: benfwca;DOWN;SOFT;1;FPING CRITICAL - (loss=100% ) here the max_check_attepts = 5 If you see above the time difference between SOFT 1 state and SOFT 2 state is approx = 3 min. Is it possible to make it 1 min. Please help me find the parameter that controls that time. Thanks in adv -- Anirudh Srinivasan -- 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
[Nagios-users] usage of check_nrpe
I am using NRPE plugins to monitor the remote linux server. Here is my question : i use the following command on the NAGIOS MONITORING SERVER: define command{ command_namecheck_nrpe_syslog command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -c check_log } My SERVICES.CFG looks like this: define service{ use default-service host_name test-server service_description linux syslog check check_command check_nrpe_syslog } on the REMOTE LINUX SERVER: There are two queries one is DEAD and the other is error in my nrpe.cfg file command[check_log]=/usr/lib/nagios/plugins/check_log -F /var/log/messages -O /var/log/check_log.messages.error -q 'DEAD' command[check_log]=/usr/lib/nagios/plugins/check_log -F /var/log/messages -O /var/log/check_log.messages.error -q 'error' Will this check both the queries DEAD and error and show on the web interface or will this check only the query DEAD. I would like to check both the query . How do i work on this . Please help me . Thanks in adv -- Anirudh -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get___ 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: error while configuring nagios plugins 1.4.9
Hello Experts, Resolved the issue by using : ./configure --libexecdir=/usr/lib/nagios/plugins --with-nagios-user=nagios --with-nagios-group=nagios --host=x86_64-redhat-linux -- Forwarded message -- From: Anirudh Srinivasan srianir...@gmail.com Date: Fri, May 29, 2009 at 1:44 PM Subject: error while configuring nagios plugins 1.4.9 To: nagios-users@lists.sourceforge.net Hello Nagios Experts, While installing Nagios Plugins 1.4.9 i see the following errors : # ./configure --libexecdir=/usr/lib/nagios/plugins --with-nagios-user=nagios --with-nagios-group=nagios checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. Then check config .log : The CORE TEST portion shows : ## --- ## ## Core tests. ## ## --- ## configure:1626: checking for a BSD-compatible install configure:1681: result: /usr/bin/install -c configure:1692: checking whether build environment is sane configure:1735: result: yes configure:1800: checking for gawk configure:1816: found /bin/gawk configure:1826: result: gawk configure:1836: checking whether make sets $(MAKE) configure:1856: result: yes configure:2032: checking build system type configure:2050: result: x86_64-unknown-linux-gnu configure:2058: checking host system type configure:2072: result: x86_64-unknown-linux-gnu configure:2162: checking for gcc configure:2178: found /usr/bin/gcc configure:2188: result: gcc configure:2432: checking for C compiler version configure:2435: gcc --version /dev/null 5 gcc32 (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2438: $? = 0 configure:2440: gcc -v /dev/null 5 Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enab le-__cxa_atexit --enable-languages=c,c++ --disable-libgcj --host=x86_64-redhat-linux Thread model: posix gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3) configure:2443: $? = 0 configure:2445: gcc -V /dev/null 5 gcc32: argument to `-V' is missing configure:2448: $? = 1 configure:2471: checking for C compiler default output file name configure:2474: gccconftest.c 5 /usr/bin/ld: skipping incompatible /usr/lib/gcc-lib/i386-redhat-linux/2.96/libgcc.a when searching for -lgcc /usr/bin/ld: skipping incompatible /usr/lib/gcc-lib/i386-redhat-linux/2.96/libgcc.a when searching for -lgcc /usr/bin/ld: warning: i386 architecture of input file `/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtbegin.o' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtend.o' is incompatible with i386:x86-64 output configure:2477: $? = 0 configure:2523: result: a.out configure:2528: checking whether the C compiler works configure:2534: ./a.out ./configure: line 2535: 23494 Segmentation fault ./$ac_file configure:2537: $? = 139 configure:2546: error: cannot run C compiled programs. Any help would be highly appreciated. Thanks in Adv -- Anirudh Srinivasan -- Anirudh Srinivasan -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get___ 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] error while configuring nagios plugins 1.4.9
Hello Nagios Experts, While installing Nagios Plugins 1.4.9 i see the following errors : # ./configure --libexecdir=/usr/lib/nagios/plugins --with-nagios-user=nagios --with-nagios-group=nagios checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. Then check config .log : The CORE TEST portion shows : ## --- ## ## Core tests. ## ## --- ## configure:1626: checking for a BSD-compatible install configure:1681: result: /usr/bin/install -c configure:1692: checking whether build environment is sane configure:1735: result: yes configure:1800: checking for gawk configure:1816: found /bin/gawk configure:1826: result: gawk configure:1836: checking whether make sets $(MAKE) configure:1856: result: yes configure:2032: checking build system type configure:2050: result: x86_64-unknown-linux-gnu configure:2058: checking host system type configure:2072: result: x86_64-unknown-linux-gnu configure:2162: checking for gcc configure:2178: found /usr/bin/gcc configure:2188: result: gcc configure:2432: checking for C compiler version configure:2435: gcc --version /dev/null 5 gcc32 (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2438: $? = 0 configure:2440: gcc -v /dev/null 5 Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enab le-__cxa_atexit --enable-languages=c,c++ --disable-libgcj --host=x86_64-redhat-linux Thread model: posix gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3) configure:2443: $? = 0 configure:2445: gcc -V /dev/null 5 gcc32: argument to `-V' is missing configure:2448: $? = 1 configure:2471: checking for C compiler default output file name configure:2474: gccconftest.c 5 /usr/bin/ld: skipping incompatible /usr/lib/gcc-lib/i386-redhat-linux/2.96/libgcc.a when searching for -lgcc /usr/bin/ld: skipping incompatible /usr/lib/gcc-lib/i386-redhat-linux/2.96/libgcc.a when searching for -lgcc /usr/bin/ld: warning: i386 architecture of input file `/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtbegin.o' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtend.o' is incompatible with i386:x86-64 output configure:2477: $? = 0 configure:2523: result: a.out configure:2528: checking whether the C compiler works configure:2534: ./a.out ./configure: line 2535: 23494 Segmentation fault ./$ac_file configure:2537: $? = 139 configure:2546: error: cannot run C compiled programs. Any help would be highly appreciated. Thanks in Adv -- Anirudh Srinivasan -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-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] monitor multiple port
Here is my commands.cfg for check_snmp: define command{ command_namecheck_port command_line$USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o $ARG2$ -r 1 -m RFC1213-MIB } Here is my services.cfg command: define service{ use local-service host_name mir-user-2 service_description Port 1 status check_command check_port!public!ifOperStatus.1 } Now this is for only ONE port , and if it goes down it says Critical which is working fine. I would love to monitor multiple ports together i.e lets say port 1 2 3 and 4 and if 4 is down it should be critical . In that case what would be my commands.cfg and services.cfg Can some one elaborate on how my commands.cfg and services.cfg should look like ??? Thanks in adv -- Anirudh Srinivasan -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://www.creativitycat.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] socket timeout after 20 sec
Sorry for the delayed reply Actuall that was a typo error. Its actually ./check_nt -H ip_windows_server -v FREEDISKSPACE -l C -w 80 -c 90 -p 12489 -t 50 CRITICAL - socket timeout after 50 sec Any suggetions... I also re installed the NC_NET on the windows and then tested with the usual port but still no progress.i.e ./check_nt -H ip_windows_server -v FREEDISKSPACE -l C -w 80 -c 90 -p 1248 -t 50 Output: CRITICAL - socket timeout after 50 sec Please give me some alternate suggetions.. On Fri, May 15, 2009 at 11:23 PM, Anthony Montibello amontibe...@gmail.comwrote: As Peter pointed out, If the Startup Config port is 12489 then NC_NEt is expecting the request on that port. But the check_nt is specifying 1248. The passive port is not used unless you are using NSCA with nc_net. the default config of NC_NET (if the config file is empty or missing) works on port 1248 and usually fits most check_nt commands. Let us know if the problem persists, tony (author of NC_NEt) On Fri, May 15, 2009 at 3:46 AM, Peter Östlin peter.ost...@op5.comwrote: On Thu, May 14, 2009 at 9:02 PM, Anirudh Srinivasan srianir...@gmail.com wrote: Hey Folks, I know socket timeout after 20 sec has been discussed so many time in all the forums and post, but still this is not so clear to me. Nagios server : RHEL 5 NC_NET used on Windows server. In startup.cfg the port is 12489 and the ip_passive is ip address of the nagios server. Even through the Linux cli i get the same error ./check_nt -H ip_windows_server -v FREEDISKSPACE -l C -w 80 -c 90 -p 1248 -t 50 CRITICAL - socket timeout after 50 sec Don't know if that's just a typo but you set port 12489 in startup.cfg but use 1248 when executing check_nt. /Peter -- 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 -- Anirudh Srinivasan -- 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
[Nagios-users] check frequency
Hi Nagios experts: Below is the Alert history for the the host , and the max_check_attemps is = 5 [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL - (loss=100% ) [05-11-2009 16:43:36] HOST ALERT: benfwca;DOWN;SOFT;4;FPING CRITICAL - (loss=100% ) [05-11-2009 16:40:30] HOST ALERT: benfwca;DOWN;SOFT;3;FPING CRITICAL -(loss=100% ) [05-11-2009 16:37:30] HOST ALERT: benfwca;DOWN;SOFT;2;FPING CRITICAL - (loss=100% ) [05-11-2009 16:34:16] HOST ALERT: benfwca;DOWN;SOFT;1;FPING CRITICAL - (loss=100% ) If you could notice the check frequency is approx= 3 min . Is it possible to reduce this parameter, if yes then what is the parameter that i have to look for. I dont want to reduce the max_check_attemps to a lower value. All i want to have is check every 1 min for 5 attemps and mark it as HARD state. Is it possible.?? Thanks in Adv -- Anirudh Srinivasan -- 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] check frequency
Hi Thanks for the reply , will try this out. But is there some centralized Parameter in nagios.cfg that could solve this issue. Thanks in Adv On Mon, May 18, 2009 at 11:01 PM, Dongsheng Song dongsheng.s...@gmail.comwrote: In service definition, set: check_interval 1 retry_interval 1 max_check_attempts 5 In host definition, set: check_interval 1 retry_interval 1 max_check_attempts 5 You can put them to the host/service template for simplify definition. -- Dongsheng Song Anirudh Srinivasan 写道: Hi Nagios experts: Below is the Alert history for the the host , and the max_check_attemps is = 5 [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL - (loss=100% ) [05-11-2009 16:43:36] HOST ALERT: benfwca;DOWN;SOFT;4;FPING CRITICAL - (loss=100% ) [05-11-2009 16:40:30] HOST ALERT: benfwca;DOWN;SOFT;3;FPING CRITICAL -(loss=100% ) [05-11-2009 16:37:30] HOST ALERT: benfwca;DOWN;SOFT;2;FPING CRITICAL - (loss=100% ) [05-11-2009 16:34:16] HOST ALERT: benfwca;DOWN;SOFT;1;FPING CRITICAL - (loss=100% ) If you could notice the check frequency is approx= 3 min . Is it possible to reduce this parameter, if yes then what is the parameter that i have to look for. I dont want to reduce the max_check_attemps to a lower value. All i want to have is check every 1 min for 5 attemps and mark it as HARD state. Is it possible.?? Thanks in Adv -- Anirudh Srinivasan -- Anirudh Srinivasan -- 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
[Nagios-users] socket timeout after 20 sec
Hey Folks, I know socket timeout after 20 sec has been discussed so many time in all the forums and post, but still this is not so clear to me. Nagios server : RHEL 5 NC_NET used on Windows server. In startup.cfg the port is 12489 and the ip_passive is ip address of the nagios server. Even through the Linux cli i get the same error ./check_nt -H ip_windows_server -v FREEDISKSPACE -l C -w 80 -c 90 -p 1248 -t 50 CRITICAL - socket timeout after 50 sec I really have been breaking my head on this. Please suggest some idea or your experience -- Anirudh -- 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] check_by_ssh problem
In order to monitor the remote linux server we are using check_by_ssh as root. I know it is not advisable to use it as root , but we are in a transition to NRPE slowly which uses nagios. Here's what i did : 1) As root copied the id_rsa.pub to the remote server's root user's .ssh directory and pasted it to the authorized_keys . 2) Then did ssh remote server ip and was able to login without password. 3) Then excecuted the check command remotely: check_by_ssh -t 30 -l root -H remote server ip -C /usr/lib/nagios/plugins/check_load -w10,15,20 -c15,20,25 OK - load average: 0.00, 0.00, 0.00|load1=0.00;10.00;15.00;0.00 load5=0.00;15.00;20.00;0.00 load15=0.00;20.00;25.00;0.00 check_by_ssh -t 30 -l root -H remote server ip -C /usr/lib/nagios/plugins/check_uptime UPTIME OK - System up for 6 HOUR(s) and 38 Minute(s) Looks perfectly fine!!! But from the Web interface i see this : Remote command execution failed: buffer_get_ret: trying to get more bytes 129 than in buffer 97 I am clue less . Please advice me on this . -- Anirudh Srinivasan -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] plugins for clustered environment
Why don't you use check_tcp on tcp port for network service offered by exchange (smtp25/pop110)? yes , i am using this right now. Currently the below service check is done on the clustered node individually . My question is , is it possible to put it on the clustered environment instead of individually ?? *check_service!Microsoft Exchange Active Directory Topology Service, Microsoft Exchange Anti-spam Update, Microsoft Exchange EdgeSync, Microsoft Exchange File Distribution, Microsoft Exchange Information Store, Microsoft Exchange Mail Submission, Microsoft Exchange Mailbox Assistants, Microsoft Exchange Replication Service, Microsoft Exchange Search Indexer, Microsoft Exchange Service Host, Microsoft Exchange System Attendant, Microsoft Exchange Transport, Microsoft Exchange Transport Log Search * -- 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] plugins for clustered environment
Hello Friends, Is it possible to monitor a service i.e exchange service on the clustered environment instead of monitoring it individually on each clustered node. Currently exchange services are being monitored individually on each clustered node. FYI : The server is a Windows clustered environment. Can i use check_cluster ?? If i am not wrong check_cluster works only for Linux cluster. Is that right?? Please advice me on what plugin to use to achieve this. Thanks -- Anirudh Srinivasan -- 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] check_by_ssh plugin
to monitor the remote linux machine i use check_by_ssh plugins . I loged in as nagios user and did key-gen and exchanged the plublic key so that nagios can do a password less login and get the datas like memory, cpu load etc But for some reason i dont see anything in the web interface except for (permission denied message). Later i tried doing the same as a root from the nagios server and it started showing up on the web interface. I want to achieve this with nagios user. Any help would be highly appreciated. -- Anirudh Srinivasan -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf___ 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] event handler
Hi, Thanks for your reply . Thats was a useful sugestion. But is there any eventhandler for windows that supports NC_NET . I tried using winexe but had a hard time testing it any it never worked for me. Why i am saying this is because we have over 50 windows machines that has NC_NET , its going to be tough time replacing the client. Thanks in Adv Anirudh -- 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] nagios upgrade
Hi Folks, The previous guy installed nagios using nagios-2.9 RPM and right now i am handling the nagios .The following was the nagios directory structure: configuration file /etc/nagios nagios binary /usr/bin/nagios log files /var/log/nagios externel command directory /var/log/nagios/rw html files /usr/share/nagios cgi files /usr/lib/nagios/cgi plugins /usr/lib/nagios/plugins Now we are going to upgrade the nagios to 3.0.6 so my configure script should be as following right? ./configure --bindir=/usr/bin --sbindir=/usr/lib/nagios/cgi --libexecdir=/usr/lib/nagios/plugins --datadir=/usr/share/nagios --sysconfdir=/etc/nagios --localstatedir=/var/log/nagios --with-command-group=nagiocmd Is the above thing correct ?? . Please suggest guys. Any thing else to be added?? or is this correct. Thank you -- Anirudh Srinivasan -- 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] nagios upgrade
Hi i have tested this 3 time on my test server and it worked perfectly well for me, meaning first installed with RPM and nagios got stored in non-standard locations, then upgraded the nagios using the above ./configure script. I am just making it sure if anyone has done it in a similar way. Just a final confirmation . Thanks On Wed, Apr 22, 2009 at 3:36 PM, Anirudh Srinivasan srianir...@gmail.comwrote: Hi Folks, The previous guy installed nagios using nagios-2.9 RPM and right now i am handling the nagios .The following was the nagios directory structure: configuration file /etc/nagios nagios binary /usr/bin/nagios log files /var/log/nagios externel command directory /var/log/nagios/rw html files /usr/share/nagios cgi files /usr/lib/nagios/cgi plugins /usr/lib/nagios/plugins Now we are going to upgrade the nagios to 3.0.6 so my configure script should be as following right? ./configure --bindir=/usr/bin --sbindir=/usr/lib/nagios/cgi --libexecdir=/usr/lib/nagios/plugins --datadir=/usr/share/nagios --sysconfdir=/etc/nagios --localstatedir=/var/log/nagios --with-command-group=nagiocmd Is the above thing correct ?? . Please suggest guys. Any thing else to be added?? or is this correct. Thank you -- Anirudh Srinivasan -- Anirudh Srinivasan -- 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] event handler
Hey Folks I am currently working on event handlers to restart services on Windows machines I have NC_Net installed on all client windows machines. I was looking at this plugin Windows Failed Service restart batch file at Nagios Exchange. File: win_service_restart.cmd Author: Vadims Zenins http://vadimszenins.blogspot.com Version: 1.03 Date: 16/12/2008 17:19 Windows Failed Service restart batch file for Nagios Event Handler Copy win_service_restart.cmd to \NSClient++\scripts\ folder. Nagios commands.cfg: define command{ command_name win_service_restart command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c win_service_restart -a $SERVICEDESC$ $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ } Nagios template-services_common-win.cfg.cfg define service{ name generic-service-win-wuauserv service_description wuauserv display_name Automatic Updates event_handler win_service_restart event_handler_enabled 1 check_command check_nt!SERVICESTATE!-d SHOWALL -l $SERVICEDESC$ } NSCLIENT++ NSC.ini: [NRPE] allowed_hosts=192.168.1.1/32 ; your Nagios server IP allow_arguments=1 [External Script] allow_arguments=1 allow_nasty_meta_chars=1 [NRPE Handlers] command[win_service_restart]=scripts\win_service_restart.cmd $ARG1$ $ARG2$ $ARG3$ $ARG4$ It uses check_nrpe at the commands.cfg file, but here we use check_nt . My question is, will this work if i change it to check_nt . Or is there any changes that has to be made. Can anyone please shed light on this . - Anirudh Srinivasan -- 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] downtime scheduling
When we schedule a downtime for a host does it mean it automatically schedules a downtime for its services also? I remember when we were patching our servers , we scheduled downtime for the entire hostgroup by selecting schedule downtime for all host in this hostgroup. Inspite of it we still got alerts for few services under certail hosts. Should we select schedule downtime for all the services in this hostgroup ? Can some one explain me what this is all about and how does it work? Thank you very much -- Anirudh Srinivasan -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] upgrading nagios
has anyone done upgrage from 2.x to 3.x the previous guy who has installed 2.8 had specified different directories , instead of /usr/local/nagios. I almost figured it out what the directories are. Now should i specify them in ./configure --bindir=/usr/bin --sbindir=/usr/lib/nagios/cgi --datadir=/usr/share/nagios --sysconfdir=/etc/nagios --localstatedir=/var/log/nagios What is --prefix will do, and is there any thing else that is left over? Can any one guide me through proper direction -- Anirudh Srinivasan -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] nagios upgrade
Hi I was planning to upgrade nagios from 2.9 to 3.0.6. We already have the pnp tool (performance graph at the side bar). My first question , while upgrading will the pnp tool get affected or messed up by any chance? I just want to be careful enough because nagios is one of our heavely used application. As a backup plan already the complete nagios is being backed up by the cron job. My second question : Can i know which directory is the one that is dynamic meaning that keeps on changing day by day. Let me list some of them here as far as i know: 1)nagios/etc 2)nagios/var If there is any can you please list them -- Anirudh Srinivasan -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] cisco firewall plugins
i got two plugins check_cisco_asa.pl and check_cisco_firewall.sh for cisco firewall. i downloaded it and unziped it and chaned the mode to 777 so that it become executable. ./check_cisco_asa.pl -h ipaddress -c public -i 1 (from command line) I get Timeout: No Response from ipaddress Timeout: No Response from ipaddress Timeout: No Response from ipaddress Timeout: No Response from ipaddress I tried with almost allt he firewall in our network but go ththe same result. ./check_cisco_firewall.sh -H 10.21.1.4 -V 1 -C public -M failover (from command line) Timeout: No Response from 10.21.1.4 Error - Not numeric value : = status_prim Can anyone shed light on this or suggest any other plugins for cisco firewall to monitor VPN -- Anirudh Srinivasan -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] host downtime problem
Hey Folks, I was asked to put the entire hostgroup for the downtime which i did . But inspite of that i got alerts to my mail from few server from that hostgroup. I selected both schedule downtime for all host in this hostgroup schedule downtime for all services in this hostgroup Can anyone please shed some light on this issue, and why is this happening. Thanks -- Anirudh Srinivasan -- 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] problem starting nagios
Folks, I did a fresh nagios 3.0.6 installation on a linux server. Things look okay - No serious problems were detected during the pre-flight check [r...@dell8b81y11 sbin]# service nagios restart Running configuration check...done. Stopping nagios: /etc/init.d/nagios: line 67: kill: (24483) - No such process done. Starting nagios: done. [r...@dell8b81y11 sbin]# service nagios status nagios is not running [r...@dell8b81y11 sbin]# Why am i getting like this. I have a nagios.conf file in /etc/httpd/conf/nagios.conf and the content is ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ Directory ?/usr/local/nagios/sbin/? AllowOverride AuthConfig Options ExecCGI Allow from all Order allow,deny /Directory Alias /nagios/ /usr/local/nagios/share/ Directory ?/usr/local/nagios/share? Options None AllowOverride AuthConfig Order allow,deny Allow from all /Directory At the webinterface when i type http://localhost/nagios/ i get to see the webinterface but when i click host detail i see this : !DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN htmlhead title500 Internal Server Error/title /headbody h1Internal Server Error/h1 pThe server encountered an internal error or misconfiguration and was unable to complete your request./p pPlease contact the server administrator, r...@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error./p pMore information about this error may be available in the server error log./p hr addressApache/2.2.3 (Red Hat) Server at 10.21.14.212 Port 80/address /body/html Any help would be appreciated. Thanks-- Anirudh Srinivasan -- 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] cancel or disable scheduled downtime
I have selected from the right pane in the webinterface schedule downtime for this host But now how do i disable it , or cancel it. Any help would be highly appreciated Thanks -- Anirudh Srinivasan -- 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] ping
Hey Folks, Can anyone let me know what is the excat difference between check_ping and check_fping. I searched all the resourses but couldnt get the correct explanation. Thanks in advance -- Anirudh Srinivasan -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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 check frequency
Which parameter determine the time between two service checks. i.e let me give an example . For Disk usage check i see that the time between two checks is Check Duration: 0.374 seconds There are so many parameters that its confusing . If thats the case what is the excat parameter to look at Kindly help -- Anirudh Srinivasan -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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 disk monitoring
Hey Mattias Thanks for you help But they are all monitored via SSH. and how could i enable or disable monitoring for a perticular file system. Thanks in adv Reagrds On Tue, Feb 17, 2009 at 5:03 PM, Anirudh Srinivasan srianir...@gmail.comwrote: Hey Folks, I have noagios in my workplace for monitoring . I found out that one of the linux box has 9 filesystems but nagios is only monitoring 8 of them. How can i enable monitoring for that filesystem. I have no clue , i even saw some documentaion but i could not arrive at the conclusion .So guys please help me out . I put forward a example here : Actually the server has got the following file system , but nagios is not monitoring the last file system /databases/oradata/aplccnv. - Disk Space Begin FilesystemSize Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 38G 1.9G 34G 6% / /dev/cciss/c0d0p1 97M 25M 68M 27% /boot /dev/mapper/VolGroup00-LogVol02 7.9G 65M 7.5G 1% /home /dev/mapper/VolGroup00-LogVol04 4.0G 41M 3.7G 2% /tmp /dev/mapper/VolGroup00-LogVol05 12G 3.0G 8.3G 27% /usr /dev/mapper/VolGroup00-LogVol03 4.0G 258M 3.5G 7% /var /dev/mapper/VolGroup01-LogVol00 135G 71G 58G 56% /usr/local/oraapps /dev/mapper/VolGroup02-LogVol00 808G 221G 547G 29% /databases/oradata/aplcprd /dev/mapper/VolGroup03-LogVol00 808G 214G 554G 28% /databases/oradata/aplccnv -- Anirudh Srinivasan -- Anirudh Srinivasan -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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 disk monitoring
This is my commands.cfg define command{ command_namecheck_disk_all command_line$USER1$/check_by_ssh -t 30 -l root -H $HOSTADDRESS$ -C /usr/lib/nagios/plugins/check_disk -w5% -c3% event though it could monitor few file systems in linux server but not all file system, meaning there are still few file system that are not being monitored. Please help me how can i enable disk check on all of the filesystem. Regards -- Anirudh Srinivasan -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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 disk monitoring
Hey Folks, I have noagios in my workplace for monitoring . I found out that one of the linux box has 9 filesystems but nagios is only monitoring 8 of them. How can i enable monitoring for that filesystem. I have no clue , i even saw some documentaion but i could not arrive at the conclusion .So guys please help me out . I put forward a example here : Actually the server has got the following file system , but nagios is not monitoring the last file system /databases/oradata/aplccnv. - Disk Space Begin FilesystemSize Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 38G 1.9G 34G 6% / /dev/cciss/c0d0p1 97M 25M 68M 27% /boot /dev/mapper/VolGroup00-LogVol02 7.9G 65M 7.5G 1% /home /dev/mapper/VolGroup00-LogVol04 4.0G 41M 3.7G 2% /tmp /dev/mapper/VolGroup00-LogVol05 12G 3.0G 8.3G 27% /usr /dev/mapper/VolGroup00-LogVol03 4.0G 258M 3.5G 7% /var /dev/mapper/VolGroup01-LogVol00 135G 71G 58G 56% /usr/local/oraapps /dev/mapper/VolGroup02-LogVol00 808G 221G 547G 29% /databases/oradata/aplcprd /dev/mapper/VolGroup03-LogVol00 808G 214G 554G 28% /databases/oradata/aplccnv -- Anirudh Srinivasan -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ 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] notification problem help
Hey Folks, We have a nagios monitoring tool in our office. [image: Service Critical][02-11-2009 09:18:13] SERVICE ALERT: app-miafps01;Windows Print;CRITICAL;SOFT;1;LPDSVC: Stopped As we can see this perticular service failed at around 09:18 but we were notified at around 09:45 . I browsed through the logs but couldnt find anything useful. Can you people suggest me what could be the reason . What is the reason nagios notified us only at 0945 and why not at 0918. Any help would be appreciated. -- Anirudh Srinivasan -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/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] check_oracle
usage of check_oracle plugin . what is it used to check excatly. and if that plugin gives the critical how to troubleshoot that issue. Please help me with this Regards -- Anirudh Srinivasan -- 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] VNC port : connection refused
The nagios web interface shows critical message for VNC port 5900 : connection refused message.The plugin that is used is check_tcp!5900. I am not able to confirm whether its a firewall problem . But when i do telnet ipaddress 5900 i get connection refused message . please help me . -- Anirudh Srinivasan -- 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