summaryrefslogtreecommitdiffstats
path: root/NEWS
AgeCommit message (Collapse)AuthorFilesLines
2010-04-12Fix Debian bug #545940: Failure when run via ePNHolger Weiss1-1/+1
If Perl's "shift" function is called outside of a subroutine and without any argument, it usually shifts @ARGV. However, if a plugin is executed via ePN, such a call will shift @_ instead, so we must explicitly specify @ARGV for this to work as expected. This fixes Debian bug #545940, see: http://bugs.debian.org/545940 Commit de7191e3424e02ba278a39b86e8b1906a25d0362 fixed the same issue for check_disk_smb. (Reported by Hendrik Jaeger, forwarded by Jan Wagner.)
2010-04-11Fix Debian bug #482947: No --nas-ip-address optionHolger Weiss1-0/+1
| check_radius doesn't seem to provide any way to modify the | NAS-IP-Address attribute that it uses in the packets it sends, but it | does so for NAS-Identifier. | | Instead, it hardcodes the IP address that it gets from the | rc_own_ipaddress() library call, and that in turn translates into | calling gethostbyname() on the result of uname(). This call can easily | fail, and its result can easily be unsuitable - for example when the | Nagios instance uses its own virtual host, and you don't want the | original system hostname leaked to the RADIUS servers you monitor with | this. | | Furthermore, this behaviour is inconsistent with RFC 2865, which | defines the two attributes as analogous and never suggests hardcoding | the value of either of them in client software. Therefore, this commit adds the "-N, --nas-ip-address" option which allows for specifying the value of the NAS-IP-Address attribute. | I've also noticed that the original code for NAS-IP-Address hardcoding | is broken in its error handling - it does "return (ERROR_PC)", which | is meaningless in the context of check_radius.c. That actually seems | to be copy&waste from radiusclient-0.3.2/src/radexample.c. :) I fixed | that. | | While debugging, I also took the opportunity to decouple the | nas-identifier rc_avpair_add() instance from the initial three, | because this is just bad practice to lump a fourth optional attribute | into the same block with the required attributes, the error handling | for which is throwing the same daft message "Out of Memory?"... [ http://bugs.debian.org/482947 ] (Contributed by Josip Rodin, forwarded by Jan Wagner.)
2010-04-11Fix Debian bug #479984: Allow empty LDAP baseHolger Weiss1-0/+1
The check_ldap plugin did not allow for specifying an empty LDAP base. See: http://bugs.debian.org/479984 (Fixed by Stephane Chazelas, forwarded by Jan Wagner.)
2010-04-11Fix Debian bug #478906: Failure when run via ePNHolger Weiss1-0/+1
| When perl plugin scripts are run with the embedded perl interpreter in | nagios3, the "shift" perl command doesn't shift @ARGV, but @_ (which | happens to contain the same thing as @ARGV at the time the script was | started). | | [...] | | A fix is to replace all the instances of "shift" with "shift @ARGV". [ http://bugs.debian.org/478906 ] (Fixed by Stephane Chazelas, forwarded by Jan Wagner.)
2010-04-11Fix Debian bug #425129: SMB guest mode won't workHolger Weiss1-0/+1
| The check_disk_smb plugin purports to support guest users, but it | doesn't work out, because it doesn't specify the -N command line | option to smbclient when no password is specified, making smbclient | stop and ask. [ http://bugs.debian.org/425129 ] (Fixed by Josip Rodin, forwarded by Jan Wagner.)
2010-04-11check_disk_smb: Allow for specifying an IP addressHolger Weiss1-0/+1
Add the "-a, --address option" which allows for specifying the IP address of the server to connect to. If this option is used, the IP address will be handed over to smbclient(1)'s "-I" option. (Contributed by Sean Finney, forwarded by Jan Wagner.)
2010-04-06check_http: Add warning about SNI not enabled by default anymoreThomas Guyot-Sionnest1-0/+1
2010-04-05Fix regression in check_http ssl checks on some serversThomas Guyot-Sionnest1-0/+1
The fix is making SNI an option.
2010-03-30check_snmp: Fix regression introduced in #1867716Thomas Guyot-Sionnest1-0/+1
Bug #1867716 fixed what it meant to fix: broken perfdata strings. Unfortunately some users relied on half-broken perfdata string where at least the first token was OK. This patch do a two-way conversion (string to double then back to string) instead and use the conversion result for the performance data. A possible caveat is that the string may change where it normally shouldn't but the result should be somewhat similar.
2010-03-27Fix compilation with GCC 2.96 (Konstantin Khomoutov - #2977105)Thomas Guyot-Sionnest1-0/+1
2010-03-18Let check_ntp_peer check the number of truechimersHolger Weiss1-0/+1
Add support for checking the number of usable time sources (i.e., the number of peers which are classified as so-called "truechimers" by NTP's intersection algorithm). The new "-m" and "-n" options allow for specifying the according WARNING and CRITICAL thresholds (and thereby activating the truechimers check), respectively.
2010-03-16Typo in NEWSThomas Guyot-Sionnest1-1/+1
2010-02-26Fix memory leak in check_http for large pages (Jimmy Bergman - #2957455)Ton Voon1-0/+1
2009-12-05Detect arguments passed via --with-ping[6]-command (#2908236)Thomas Guyot-Sionnest1-0/+1
2009-10-22Fix usage of repeated -o options in check_snmpThomas Guyot-Sionnest1-0/+1
2009-10-15Increment per-host sequence in check_icmpThomas Guyot-Sionnest1-0/+1
2009-09-24Updated documentation re: no equals sign and single quoteTon Voon1-1/+2
2009-09-24Updated NEWS file with docs changesTon Voon1-0/+4
2009-09-23Test, againThomas Guyot-Sionnest1-1/+1
2009-09-23TestThomas Guyot-Sionnest1-1/+1
2009-09-21Oops - wrong author/bug in last commit!Thomas Guyot-Sionnest1-1/+1
2009-09-21Add proxy-authorization option to check_http (Peter Doherty - #2863772, ↵Thomas Guyot-Sionnest1-0/+1
Bryan Irvine - #2863925)
2009-09-19Fix check_ircd binding to wrong interface (#668778)Thomas Guyot-Sionnest1-0/+3
2009-09-16Prep for 1.4.14 releaserelease-1.4.14Ton Voon1-1/+1
2009-07-14pst3 compile with Sun Studio CompilerTon Voon1-0/+1
2009-06-11renamed check_ifoperstatus' newly introdced -x to -P so it fits check_ifstatusMatthias Eble1-1/+1
check_ifstatus already used -x so both plugins can use same short option, now. to specify privacy protocol.
2009-06-11Fixed SNMPv3 behaviour of check_ifstatus. Added -P to define privprotocol ↵Matthias Eble1-2/+2
(#2343438 - Robin Schroeder) check_ifstatus didn't function correctly with SNMPv3. This is fixed now. Created argument-hash for SNMP session creation. This removes redundant code. Session creation was moved out of process_arguments() and now takes place after setting the timeout handler. Additionally the -P argument was added to specify the privprotocol.
2009-06-11check_ifoperstatus is now more user friendly in case of missing argumentsMatthias Eble1-0/+1
Added proper usage messages in case of missing arguments. Removed accidently committed Data::Dumper call. Minor whitespace fixes.
2009-06-11Fixed SNMPv3 behaviour of check_ifoperstatus. Added -x to define ↵Matthias Eble1-0/+1
privprotocol (#2343438 - Robin Schroeder) check_ifoperstatus didn't function correctly with SNMPv3. This is fixed now. Created argument-hash for SNMP session creation. This removes redundant code. Session creation was moved out of process_arguments() and now takes place after setting the timeout handler. Additionally the -x argument was added to specify the privprotocol.
2009-06-01check_fping now supports passing target timeout and interval to fping ↵Matthias Eble1-0/+1
(#2347686 - Martin Foster) Added support for passing timeout and interval length to check_fping. To protect compatibility, both options use fping's defaults if they are not specified on the command line.
2009-05-28check_snmp: Make use of standard threshold functionsThomas Guyot-Sionnest1-0/+1
This patch makes use of standard threshold functions. This allows using doubles as thresholds. Since SNMP supports only integers, double precision numbers are only printed when parsed from a STRING type. In addition, support for printing properly Timeticks type has been added, and the code has been thoroughly cleaned.
2009-05-26Fix check_by_ssh interpretation of quotes in -C parameter (#1985246, #2268675)Thomas Guyot-Sionnest1-0/+1
2009-05-22Fixed wrong perfdata label for output traffic in check_mrtgtrafMatthias Eble1-0/+1
check_mrtgtraf used the label "in" for both input and output traffic. This fixed, now.
2009-05-20check_http: Add SSL/TLS hostname extension support (SNI) - (#1939022 - Joe ↵Thomas Guyot-Sionnest1-0/+1
Presbrey)
2009-05-20Fix awk subst.in/subst script path error (#2722832 - Martin Foster)Thomas Guyot-Sionnest1-0/+1
2009-05-20Fix check_mysql* not using password set in my.cnf (#2531905 - Ben Timby)Thomas Guyot-Sionnest1-0/+1
2009-05-07Fixed typo in check_diskTon Voon1-0/+1
2009-05-01Fixed crash from check_nt when -H unspecified or given multiple times ↵Matthias Eble1-0/+1
(sf.net #2731755, debian #521097)
2009-03-24check_nt: allow returning UNKNOWN on timeouts (-u)Thomas Guyot-Sionnest1-0/+1
2009-03-24check_mysql: Fix segfault with old slaves (#2696823 - Oskar Ahner)Thomas Guyot-Sionnest1-0/+1
2009-03-21check_http: add --onredirect=stickyport - also follow the same portThomas Guyot-Sionnest1-0/+1
2009-03-20negate: make timeouts configurableThomas Guyot-Sionnest1-0/+1
2009-03-20negate: Fix not printing the real timeout in ALRM handler when timeout is ↵Thomas Guyot-Sionnest1-0/+1
left to default
2009-03-19Fixed check_http not timing-out on redirectsThomas Guyot-Sionnest thomas@aei.ca1-0/+1
2009-03-17Fix check_http sending HTTP/1.0 with v1.1 headers (#2638765)Thomas Guyot-Sionnest1-0/+1
2009-03-14Fixed passing of quotes in OID for check_snmp (#1985230 - Jan Wagner, patch ↵Ton Voon1-0/+1
by John Barbuto)
2009-02-24check_snmp long help missing retries entry (#2608223)Thomas Guyot-Sionnest1-1/+1
Fix for check_snmp long help, reported by Richard Edward Horner
2009-02-19Fixed coredump from check_nt when drive not found (Olli Hauer - SF 2179754)Ton Voon1-0/+1
2009-02-06Small correction in NEWS entryThomas Guyot-Sionnest1-1/+1
2009-02-05check_http --onredirect=sticky follows using the same IP address (sf.net ↵Thomas Guyot-Sionnest1-0/+1
#2550208).