Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-06-16 | Switch back to "use Test" and plain prints instead of diag() | Matthias Eble | 1 | -4/+4 | |
2009-06-16 | Tinderbox output testing commit | Matthias Eble | 1 | -1/+1 | |
2009-06-15 | Make output of "make test" more verbose | Matthias Eble | 2 | -7/+7 | |
This is intended to make error fixing based on tinderbox output easier. | |||||
2009-06-14 | Fixed error in rtt/rta calculation in case of system clock problems | Matthias Eble | 1 | -1/+1 | |
Time differences are now set to 0 in case of backward timejumps so there are no wrap-around problems any more. The RTA calculation hopefully gets a more accurate value in these cases also. | |||||
2009-06-13 | Fixed testcases for check_snmp, check_ifstatus and check_ifoperstatus when ↵ | Matthias Eble | 3 | -9/+15 | |
no snmp community is specified The checks for invalid/unavailable hosts need a complete command line. They failed on hosts where no community was specified. Now, an invalid community is used so the tests can run on hosts w/o snmp host/community in NPTest.cache. Execution will fail anyway. | |||||
2009-06-13 | Further test parameters and skip blocks for check_ifoperstatus.t. ↵ | Matthias Eble | 2 | -23/+43 | |
getTestparam changes for check_ifstatus.t and ifoperstatus.t Added snmp_interface and snmp_ifxtable test parameters to check_ifoperstatus.t. Also getTestParameter calls for both plugins were converted to use three arguments instead of undocumented >3 arg behaviour which led to redundant data in NPTest.cache. | |||||
2009-06-11 | Merge branch 'master' of ssh://PsychoTrahe@repo.or.cz/srv/git/nagiosplugins | Matthias Eble | 6 | -180/+147 | |
2009-06-11 | renamed check_ifoperstatus' newly introdced -x to -P so it fits check_ifstatus | Matthias Eble | 2 | -3/+3 | |
check_ifstatus already used -x so both plugins can use same short option, now. to specify privacy protocol. | |||||
2009-06-11 | Fixed SNMPv3 behaviour of check_ifstatus. Added -P to define privprotocol ↵ | Matthias Eble | 3 | -105/+132 | |
(#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-11 | Added testcases for check_ifoperstatus | Matthias Eble | 1 | -0/+73 | |
Added testcases for check_ifoperstatus. No SNMPv3 testing included for now. | |||||
2009-06-11 | minor fixes to check_ifoperstatus | Matthias Eble | 1 | -3/+3 | |
Minor output fixes for check_ifoperstatus. Fixed typo so that -n now implies -I as documented. | |||||
2009-06-11 | Use a more "natural" way of writing argument lists in extra-opts tests. | Thomas Guyot-Sionnest | 3 | -173/+137 | |
2009-06-11 | check_ifoperstatus is now more user friendly in case of missing arguments | Matthias Eble | 2 | -29/+26 | |
Added proper usage messages in case of missing arguments. Removed accidently committed Data::Dumper call. Minor whitespace fixes. | |||||
2009-06-10 | Whitespace and indent fixes for check_ifoperstatus | Matthias Eble | 1 | -109/+103 | |
2009-06-10 | Fixed SNMPv3 behaviour of check_ifoperstatus. Added -x to define ↵ | Matthias Eble | 2 | -71/+40 | |
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-01 | Fix the memory allocation for the thresholds data | Holger Weiss | 2 | -1/+4 | |
Allocate the appropriate amount of memory for storing the thresholds data. Before, we allocated the amount of memory required for storing a _pointer_ to the thresholds data. This crashed (at least) check_mysql when using its "-S" option on FreeBSD/amd64 (as reported and analyzed by Nikita Kalabukhov - 2797757). Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de> | |||||
2009-06-01 | Don't use the plain char type for data buffers | Holger Weiss | 1 | -6/+6 | |
Buffers which are used for holding arbitrary data should be referenced using pointers to void and accessed using pointers to unsigned char. Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de> | |||||
2009-06-01 | Whitespace indent fixes for check_pgsql | Matthias Eble | 1 | -22/+22 | |
2009-06-01 | Fixed check_icmp compiler warnings by including float.h | Matthias Eble | 1 | -0/+1 | |
Self defined DBL_MAX caused compiler warnings. Now float.h which defines DBL_MAX is included. | |||||
2009-06-01 | Fixed --help output for warn and critical thresholds (sf.net #2796624, ↵ | Matthias Eble | 1 | -2/+2 | |
debian #530553) check_icmp wrongly calculated the current thresholds in --help output. | |||||
2009-06-01 | Added verbose output to check_pgsql (#2799281 - Jun Kuriyama) | Matthias Eble | 1 | -1/+20 | |
check_pgsql displayed the -v flag in help output, but didn't accept the verbosity argument. Added -v and basic verbose output. | |||||
2009-06-01 | check_fping now supports passing target timeout and interval to fping ↵ | Matthias Eble | 2 | -4/+31 | |
(#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-28 | check_snmp: Make use of standard threshold functions | Thomas Guyot-Sionnest | 4 | -199/+86 | |
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-27 | Fix whitespaces in check_snmp | Thomas Guyot-Sionnest | 1 | -73/+73 | |
2009-05-26 | Fix check_by_ssh interpretation of quotes in -C parameter (#1985246, #2268675) | Thomas Guyot-Sionnest | 4 | -18/+60 | |
2009-05-22 | Fixed wrong perfdata label for output traffic in check_mrtgtraf | Matthias Eble | 2 | -1/+2 | |
check_mrtgtraf used the label "in" for both input and output traffic. This fixed, now. | |||||
2009-05-22 | Removed -n option in check_smtp's help and usage output (#2782784) | Matthias Eble | 1 | -5/+1 | |
Check_smtp's help showed the -n/--nocommand options to not send an SMTP command. This usage is covered by check_tcp and is thus not needed in check_smtp. | |||||
2009-05-20 | Whitespace changes only | Thomas Guyot-Sionnest | 1 | -2/+2 | |
2009-05-20 | check_http: Add SSL/TLS hostname extension support (SNI) - (#1939022 - Joe ↵ | Thomas Guyot-Sionnest | 5 | -2/+16 | |
Presbrey) | |||||
2009-05-20 | Fix awk subst.in/subst script path error (#2722832 - Martin Foster) | Thomas Guyot-Sionnest | 3 | -10/+13 | |
2009-05-20 | Fix check_mysql* not using password set in my.cnf (#2531905 - Ben Timby) | Thomas Guyot-Sionnest | 4 | -8/+10 | |
2009-05-19 | Sync with the latest Gnulib code (cb75dc5) | Holger Weiss | 58 | -549/+1963 | |
Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de> | |||||
2009-05-19 | Fix a few minor typos | Chris Pepper | 2 | -9/+9 | |
Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de> | |||||
2009-05-19 | Talk about Git instead of CVS | Holger Weiss | 1 | -13/+13 | |
Update the Developer Guidelines to reflect the fact that our development is done using Git instead of CVS these days (as noted by Chris Pepper on the "nagiosplug-devel" list). While at it, apply another few minor cleanups. Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de> | |||||
2009-05-19 | Remove comments regarding former requirements | Holger Weiss | 1 | -8/+0 | |
Don't explain why Libtool and Gettext are no longer needed. Libtool actually is a requirement, as (at least) the M4 macros provided by Libtool are needed for our Autotools setup. And the fact that Gettext is no longer needed probably isn't that interesting for new developers. Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de> | |||||
2009-05-07 | Fixed typo in check_disk | Ton Voon | 3 | -5/+7 | |
2009-05-01 | Fixed crash from check_nt when -H unspecified or given multiple times ↵ | Matthias Eble | 3 | -2/+7 | |
(sf.net #2731755, debian #521097) | |||||
2009-03-25 | check_nt: allow returning UNKNOWN on timeouts (-u) | Thomas Guyot-Sionnest | 2 | -2/+9 | |
2009-03-25 | Make socket alarm handler customisable (like c459ca07) | Thomas Guyot-Sionnest | 2 | -6/+12 | |
2009-03-24 | check_mysql: Fix segfault with old slaves (#2696823 - Oskar Ahner) | Thomas Guyot-Sionnest | 3 | -1/+4 | |
2009-03-24 | Whitespace and intend cleanup | Thomas Guyot-Sionnest | 1 | -210/+210 | |
2009-03-21 | Update check_http short help with new stycky and stickyport options. | Thomas Guyot-Sionnest | 1 | -4/+4 | |
2009-03-21 | check_http: die when an invalid --onredirect option is specified | Thomas Guyot-Sionnest | 1 | -6/+7 | |
2009-03-21 | check_http: add --onredirect=stickyport - also follow the same port | Thomas Guyot-Sionnest | 3 | -19/+52 | |
2009-03-20 | Add the timegm Gnulib module | Thomas Guyot-Sionnest | 12 | -2/+1322 | |
2009-03-20 | negate: make timeouts configurable | Thomas Guyot-Sionnest | 3 | -8/+38 | |
2009-03-20 | Make alarm handler customisable | Thomas Guyot-Sionnest | 2 | -3/+5 | |
2009-03-20 | negate: Fix not printing the real timeout in ALRM handler when timeout is ↵ | Thomas Guyot-Sionnest | 2 | -1/+4 | |
left to default | |||||
2009-03-20 | tests/check_http.t: Add various timeout-related tests | Thomas Guyot-Sionnest | 1 | -3/+51 | |
2009-03-19 | Fixed check_http not timing-out on redirects | Thomas Guyot-Sionnest thomas@aei.ca | 2 | -3/+4 | |