From manu at netbsd.org Tue Nov 12 05:33:58 2013 From: manu at netbsd.org (Emmanuel Dreyfus) Date: Tue, 12 Nov 2013 05:33:58 +0100 Subject: Add SCSI pass-through to check_ide_smart Message-ID: <1lc7jal.11ma04z1lixma3M%manu@netbsd.org> Hi I have SATA disks connected to a PCI board that make them appear to the OS as SCSI disks. As a result, check_ide_smart is not able to monitor them. smartctl from smartmontools can, by encapsulating ATA commands in SCSI pass through commands. IMO, this would be a nice feature addition to check_ide_smart. Anyone already worked/working on it? Would a patch with such a feature be accepted? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz manu at netbsd.org From notifications at github.com Wed Nov 13 14:43:48 2013 From: notifications at github.com (dmikulski) Date: Wed, 13 Nov 2013 05:43:48 -0800 Subject: [nagios-plugins] check_http add warning and critical pattern search (#1213) Message-ID: There are only two parameter available (-r|-R) for pattern search which return by default ok if matched and critical if not (as long as there is no --invert-regex param given). Some new parameters like -wr and -wR would be nice to do the same like -r or -R but will return warning instead of critical. As soon as both parameters would be given --invert-regex would be set by default and if both regex for warning and critical would match, critical would be returned. --- Reply to this email directly or view it on GitHub: https://github.com/nagios-plugins/nagios-plugins/issues/1213 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Fri Nov 15 02:54:29 2013 From: notifications at github.com (Dan Langille) Date: Thu, 14 Nov 2013 17:54:29 -0800 Subject: [nagios-plugins] check_pgsql is too restrictive with database names (#1214) Message-ID: Hi, check_pgsql restricts database names to [^_a-zA-Z0-9-] However, that's not valid for quoted identifiers, such as "freshports.org" Any character, except null, is valid. ref: http://www.postgresql.org/docs/current/interactive/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS "Quoted identifiers can contain any character, except the character with code zero." Blog post: http://dan.langille.org/2013/11/14/nagios-plugin-check_pgsql-cant-handle-all-valid-database-names/ HTH --- Reply to this email directly or view it on GitHub: https://github.com/nagios-plugins/nagios-plugins/issues/1214 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Fri Nov 15 03:13:42 2013 From: notifications at github.com (Stephane Lapie) Date: Thu, 14 Nov 2013 18:13:42 -0800 Subject: [nagios-plugins] Handle negative values properly with check_snmp (#1215) Message-ID: check_snmp becomes capable of evaluating negative values properly, but it might be returning CRITICALs where it used to return OK and was ignored, if a negative value turns out to actually be a valid value. If negative values are actually valid, this can be worked around, by adding "~:" to the warning/critical threshold : 100 -> ~:100 You can merge this Pull Request by running: git pull https://github.com/darksoul42/nagios-plugins maint Or you can view, comment on it, or merge it online at: https://github.com/nagios-plugins/nagios-plugins/pull/1215 -- Commit Summary -- * Handle negative values properly with check_snmp -- File Changes -- M lib/utils_base.h (2) M plugins/check_snmp.c (2) -- Patch Links -- https://github.com/nagios-plugins/nagios-plugins/pull/1215.patch https://github.com/nagios-plugins/nagios-plugins/pull/1215.diff -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Fri Nov 15 12:52:10 2013 From: notifications at github.com (PriceChild) Date: Fri, 15 Nov 2013 03:52:10 -0800 Subject: [nagios-plugins] check_ping does not honor correct timeouts (#1216) Message-ID: If I run `check_ping -H 123.123.123.123 -w 3000.0,80% -c 5000.0,100% -p 5` I can see in `ps fax` that `/bin/ping -n -U -w 30 -c 5 123.123.123.123` is the real command being run. `-w` & `-W` are defined in my man page as: > -w deadline > Specify a timeout, in seconds, before ping exits regardless of how many packets have been sent or received. In this case ping does not stop after count packet are sent, it waits either for deadline expire or until count probes are answered or for some error notification from network. > -W timeout > Time to wait for a response, in seconds. The option affects only timeout in absense of any responses, otherwise ping waits for two RTTs. `check_ping -h` states that the default timeout is 10 seconds. Setting `-t 10` doesn't modify the arguments being used to run check_ping --- Reply to this email directly or view it on GitHub: https://github.com/nagios-plugins/nagios-plugins/issues/1216 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Fri Nov 15 14:23:18 2013 From: notifications at github.com (PriceChild) Date: Fri, 15 Nov 2013 05:23:18 -0800 Subject: [nagios-plugins] check_ping does not honor correct timeouts (#1216) In-Reply-To: References: Message-ID: Or am I being silly because check_ping will kill ping after a timeout... I'm being silly aren't I... --- Reply to this email directly or view it on GitHub: https://github.com/nagios-plugins/nagios-plugins/issues/1216#issuecomment-28568319 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Sat Nov 16 09:21:33 2013 From: notifications at github.com (=?UTF-8?B?SG9sZ2VyIFdlacOf?=) Date: Sat, 16 Nov 2013 00:21:33 -0800 Subject: [nagios-plugins] check_ping does not honor correct timeouts (#1216) In-Reply-To: References: Message-ID: :-) `check_ping` will indeed kill the `ping(8)` process after a timeout. --- Reply to this email directly or view it on GitHub: https://github.com/nagios-plugins/nagios-plugins/issues/1216#issuecomment-28622147 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Sat Nov 16 09:21:33 2013 From: notifications at github.com (=?UTF-8?B?SG9sZ2VyIFdlacOf?=) Date: Sat, 16 Nov 2013 00:21:33 -0800 Subject: [nagios-plugins] check_ping does not honor correct timeouts (#1216) In-Reply-To: References: Message-ID: Closed #1216. --- Reply to this email directly or view it on GitHub: https://github.com/nagios-plugins/nagios-plugins/issues/1216 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Tue Nov 19 07:12:46 2013 From: notifications at github.com (=?UTF-8?B?QW50b24gTMO2ZmdyZW4=?=) Date: Mon, 18 Nov 2013 22:12:46 -0800 Subject: [nagios-plugins] check_procs: add option to ignore plugin parent process (#1205) In-Reply-To: References: Message-ID: @weiss Are you missing something from me here? Let me know. --- Reply to this email directly or view it on GitHub: https://github.com/nagios-plugins/nagios-plugins/pull/1205#issuecomment-28768457 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Wed Nov 20 00:23:44 2013 From: notifications at github.com (=?UTF-8?B?SG9sZ2VyIFdlacOf?=) Date: Tue, 19 Nov 2013 15:23:44 -0800 Subject: [nagios-plugins] check_procs: add option to ignore plugin parent process (#1205) In-Reply-To: References: Message-ID: I'll `--amend` one or two minor fixes into your commit (the code still mentions the `-i` option, and the number of planned tests isn't correct), hope that's fine with you. --- Reply to this email directly or view it on GitHub: https://github.com/nagios-plugins/nagios-plugins/pull/1205#issuecomment-28849404 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Wed Nov 20 00:27:30 2013 From: notifications at github.com (=?UTF-8?B?SG9sZ2VyIFdlacOf?=) Date: Tue, 19 Nov 2013 15:27:30 -0800 Subject: [nagios-plugins] check_procs: add option to ignore plugin parent process (#1205) In-Reply-To: References: Message-ID: Closed #1205. --- Reply to this email directly or view it on GitHub: https://github.com/nagios-plugins/nagios-plugins/pull/1205 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Wed Nov 20 00:27:30 2013 From: notifications at github.com (=?UTF-8?B?SG9sZ2VyIFdlacOf?=) Date: Tue, 19 Nov 2013 15:27:30 -0800 Subject: [nagios-plugins] check_procs: add option to ignore plugin parent process (#1205) In-Reply-To: References: Message-ID: Merged, thanks! --- Reply to this email directly or view it on GitHub: https://github.com/nagios-plugins/nagios-plugins/pull/1205#issuecomment-28849656 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Wed Nov 20 08:19:28 2013 From: notifications at github.com (=?UTF-8?B?QW50b24gTMO2ZmdyZW4=?=) Date: Tue, 19 Nov 2013 23:19:28 -0800 Subject: [nagios-plugins] check_procs: add option to ignore plugin parent process (#1205) In-Reply-To: References: Message-ID: Perfectly fine by me, good catch! --- Reply to this email directly or view it on GitHub: https://github.com/nagios-plugins/nagios-plugins/pull/1205#issuecomment-28868168 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Wed Nov 20 15:36:42 2013 From: notifications at github.com (=?UTF-8?B?SG9sZ2VyIFdlacOf?=) Date: Wed, 20 Nov 2013 06:36:42 -0800 Subject: [nagios-plugins] check_procs counts too much processes with dash as shell [sf#3304535] (#999) In-Reply-To: References: Message-ID: Fixed by Anton Lofgren in commit 77fc3548ae1be360584082d771fa01696d4f4479. This will be included in the 1.6 release. --- Reply to this email directly or view it on GitHub: https://github.com/nagios-plugins/nagios-plugins/issues/999#issuecomment-28893659 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Wed Nov 20 15:36:41 2013 From: notifications at github.com (=?UTF-8?B?SG9sZ2VyIFdlacOf?=) Date: Wed, 20 Nov 2013 06:36:41 -0800 Subject: [nagios-plugins] check_procs counts too much processes with dash as shell [sf#3304535] (#999) In-Reply-To: References: Message-ID: Closed #999. --- Reply to this email directly or view it on GitHub: https://github.com/nagios-plugins/nagios-plugins/issues/999 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Fri Nov 22 14:12:36 2013 From: notifications at github.com (Mikael Falkvidd) Date: Fri, 22 Nov 2013 05:12:36 -0800 Subject: [nagios-plugins] check_procs counts too much processes with dash as shell [sf#3304535] (#999) In-Reply-To: References: Message-ID: Great news! Is there a tentative target date for 1.6 yet? --- Reply to this email directly or view it on GitHub: https://github.com/nagios-plugins/nagios-plugins/issues/999#issuecomment-29071253 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Fri Nov 22 14:26:58 2013 From: notifications at github.com (=?UTF-8?B?SG9sZ2VyIFdlacOf?=) Date: Fri, 22 Nov 2013 05:26:58 -0800 Subject: [nagios-plugins] check_procs counts too much processes with dash as shell [sf#3304535] (#999) In-Reply-To: References: Message-ID: Nope, sorry, "it's done when it's done". But you could use the [current snapshot](https://www.nagios-plugins.org/download/snapshot/nagios-plugins-master.tar.gz) and report back whether it fixes the issue for you :-) --- Reply to this email directly or view it on GitHub: https://github.com/nagios-plugins/nagios-plugins/issues/999#issuecomment-29072050 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Fri Nov 22 14:38:37 2013 From: notifications at github.com (Mikael Falkvidd) Date: Fri, 22 Nov 2013 05:38:37 -0800 Subject: [nagios-plugins] check_procs counts too much processes with dash as shell [sf#3304535] (#999) In-Reply-To: References: Message-ID: Thanks for the quick reply. It does fix the problem, I'm a colleague of Anton's :-) We'll see if we'll wait for the release or merge the master. --- Reply to this email directly or view it on GitHub: https://github.com/nagios-plugins/nagios-plugins/issues/999#issuecomment-29072689 -------------- next part -------------- An HTML attachment was scrubbed... URL: From lvl at omnitec.net Tue Nov 26 22:41:47 2013 From: lvl at omnitec.net (L. V. Lammert) Date: Tue, 26 Nov 2013 15:41:47 -0600 (CST) Subject: 64-bit issue Message-ID: We have been using 32-bit plugins for years on Windoze [not our choice], .. and the plugins have been working just fine compiled with Cygwin-32. Trying to use 64-bit Cygwin and 64-bit plugins has raised an issue,0 however, .. the one we have found with check_load: $ ./check_load.exe -w "30,15,10" -c "35,30,20" CRITICAL - You need more args!!! Error opening It looks like that error is in popen.c, line 152, getting command arguments. Does not appear to be a parsing error, as I have tried many different combinations on argument fornatting. Is this related to any known problem? I know Windoze isn't a supported platform, but the plugins DO build just fine, .. if this is any sort of reasonable fix it would be nice to continue using the plugins instead of switching to an client. TIA!! Lee From ridha2501 at gmail.com Tue Nov 26 22:44:27 2013 From: ridha2501 at gmail.com (Ridha Bouhlel) Date: Tue, 26 Nov 2013 22:44:27 +0100 Subject: 64-bit issue In-Reply-To: References: Message-ID: please unsubscribe me from the list i am no longer using nagios. Best regards Le 26 nov. 2013 22:42, "L. V. Lammert" a ?crit : > We have been using 32-bit plugins for years on Windoze [not our choice], > .. and the plugins have been working just fine compiled with Cygwin-32. > > Trying to use 64-bit Cygwin and 64-bit plugins has raised an issue,0 > however, .. the one we have found with check_load: > > $ ./check_load.exe -w "30,15,10" -c "35,30,20" > CRITICAL - You need more args!!! > Error opening > > It looks like that error is in popen.c, line 152, getting command > arguments. Does not appear to be a parsing error, as I have tried many > different combinations on argument fornatting. > > Is this related to any known problem? I know Windoze isn't a supported > platform, but the plugins DO build just fine, .. if this is any sort of > reasonable fix it would be nice to continue using the plugins instead of > switching to an client. > > TIA!! > > Lee > -------------- next part -------------- An HTML attachment was scrubbed... URL: From KollaPr at cba.com.au Thu Nov 28 14:02:59 2013 From: KollaPr at cba.com.au (Kolla, Prasanth) Date: Fri, 29 Nov 2013 00:02:59 +1100 Subject: FW: Re: Nagios plugin installation In-Reply-To: References: Message-ID: Hi Team, Can you please respond to my question below Regards Prasanth ________________________________ From: Kolla, Prasanth Sent: Thursday, 28 November 2013 7:57 PM To: Nagios Plugin Help List; nagiosplug-devel at lists.sourceforge.net Subject: Re: Nagios plugin installation Hi All, I need to install the Nagios plugins to monitor a remote sftp server and also I want to do a file transfer (ftp) to that remote server, not only the monitoring a remote server can anyone let me know whether we can do the file transfer to the remote sftp server using Nagios NRPE. One more question If I am monitoring a remote sftp server can I do the file transfer (FTP) to that server from my local computer. Please let me know Regards, V.V. Prasanth Kolla TCS?CBA Relationship, India Email: - kollapr at cba.com.au Desk: - 91 - 80672 50586 M: - 91 - 7795526920. ************** IMPORTANT MESSAGE ***************************** This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments from your system. Unless specifically indicated, this email does not constitute formal advice or commitment by the sender or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. We can be contacted through our web site: commbank.com.au. If you no longer wish to receive commercial electronic messages from us, please reply to this e-mail by typing Unsubscribe in the subject line. ************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jochen.Bern at LINworks.de Fri Nov 29 19:18:38 2013 From: Jochen.Bern at LINworks.de (Jochen Bern) Date: Fri, 29 Nov 2013 19:18:38 +0100 Subject: FW: Re: Nagios plugin installation In-Reply-To: References: Message-ID: <5298DA7E.1020002@LINworks.de> On 28.11.2013 14:02, Kolla, Prasanth wrote: > Hi Team, > Can you please respond to my question below > ________________________________ > From: Kolla, Prasanth > Sent: Thursday, 28 November 2013 7:57 PM (You bumped the thread four hours BEFORE the original request ... !?) > I need to install the Nagios plugins to monitor a remote sftp server > and also I want to do a file transfer (ftp) to that remote server, > not only the monitoring a remote server can anyone let me know > whether we can do the file transfer to the remote sftp server using > Nagios NRPE. The terms "SFTP" and "FTPS" are not unique (four or more different usages). You might want to clarify which variant you're referring to. The original Unix "ftp" client and SSH's "sftp" client are rather easy to script canned procedures for. Such a scripted action can be *started* through NRPE (just like a check plugin would be), but keep in mind that Nagios expects "plugin" executions to complete (or time out) within short order. *Tunneling* the FTP/SFTP connection inside the NRPE connection is likely impossible; Unlike SSH (think check_by_ssh), NRPE was never *meant* to provide tunnels. Regards, J. Bern -- *NEU* - NEC IT-Infrastruktur-Produkte im : Server--Storage--Virtualisierung--Management SW--Passion for Performance Jochen Bern, Systemingenieur --- LINworks GmbH Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt PGP (1024D/4096g) FP = D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C27 Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202 Unternehmenssitz Weiterstadt, Gesch?ftsf?hrer Metin Dogan, Oliver Michel