aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-13Further test parameters and skip blocks for check_ifoperstatus.t. ↵Gravatar Matthias Eble
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-11Merge branch 'master' of ssh://PsychoTrahe@repo.or.cz/srv/git/nagiospluginsGravatar Matthias Eble
2009-06-11renamed check_ifoperstatus' newly introdced -x to -P so it fits check_ifstatusGravatar Matthias Eble
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 ↵Gravatar Matthias Eble
(#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-11Added testcases for check_ifoperstatusGravatar Matthias Eble
Added testcases for check_ifoperstatus. No SNMPv3 testing included for now.
2009-06-11minor fixes to check_ifoperstatusGravatar Matthias Eble
Minor output fixes for check_ifoperstatus. Fixed typo so that -n now implies -I as documented.
2009-06-11Use a more "natural" way of writing argument lists in extra-opts tests.Gravatar Thomas Guyot-Sionnest
2009-06-11check_ifoperstatus is now more user friendly in case of missing argumentsGravatar Matthias Eble
Added proper usage messages in case of missing arguments. Removed accidently committed Data::Dumper call. Minor whitespace fixes.
2009-06-11Whitespace and indent fixes for check_ifoperstatusGravatar Matthias Eble
2009-06-11Fixed SNMPv3 behaviour of check_ifoperstatus. Added -x to define ↵Gravatar Matthias Eble
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-02Fix the memory allocation for the thresholds dataGravatar Holger Weiss
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-02Don't use the plain char type for data buffersGravatar Holger Weiss
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-01Whitespace indent fixes for check_pgsqlGravatar Matthias Eble
2009-06-01Fixed check_icmp compiler warnings by including float.hGravatar Matthias Eble
Self defined DBL_MAX caused compiler warnings. Now float.h which defines DBL_MAX is included.
2009-06-01Fixed --help output for warn and critical thresholds (sf.net #2796624, ↵Gravatar Matthias Eble
debian #530553) check_icmp wrongly calculated the current thresholds in --help output.
2009-06-01Added verbose output to check_pgsql (#2799281 - Jun Kuriyama)Gravatar Matthias Eble
check_pgsql displayed the -v flag in help output, but didn't accept the verbosity argument. Added -v and basic verbose output.
2009-06-01check_fping now supports passing target timeout and interval to fping ↵Gravatar Matthias Eble
(#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 functionsGravatar Thomas Guyot-Sionnest
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-27Fix whitespaces in check_snmpGravatar Thomas Guyot-Sionnest
2009-05-26Fix check_by_ssh interpretation of quotes in -C parameter (#1985246, #2268675)Gravatar Thomas Guyot-Sionnest
2009-05-22Fixed wrong perfdata label for output traffic in check_mrtgtrafGravatar Matthias Eble
check_mrtgtraf used the label "in" for both input and output traffic. This fixed, now.
2009-05-22Removed -n option in check_smtp's help and usage output (#2782784)Gravatar Matthias Eble
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-20Whitespace changes onlyGravatar Thomas Guyot-Sionnest
2009-05-20check_http: Add SSL/TLS hostname extension support (SNI) - (#1939022 - Joe ↵Gravatar Thomas Guyot-Sionnest
Presbrey)
2009-05-20Fix awk subst.in/subst script path error (#2722832 - Martin Foster)Gravatar Thomas Guyot-Sionnest
2009-05-20Fix check_mysql* not using password set in my.cnf (#2531905 - Ben Timby)Gravatar Thomas Guyot-Sionnest
2009-05-20Sync with the latest Gnulib code (cb75dc5)Gravatar Holger Weiss
Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de>
2009-05-19Fix a few minor typosGravatar Chris Pepper
Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de>
2009-05-19Talk about Git instead of CVSGravatar Holger Weiss
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-19Remove comments regarding former requirementsGravatar Holger Weiss
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-07Fixed typo in check_diskGravatar Ton Voon
2009-05-01Fixed crash from check_nt when -H unspecified or given multiple times ↵Gravatar Matthias Eble
(sf.net #2731755, debian #521097)
2009-03-24check_nt: allow returning UNKNOWN on timeouts (-u)Gravatar Thomas Guyot-Sionnest
2009-03-24Make socket alarm handler customisable (like c459ca07)Gravatar Thomas Guyot-Sionnest
2009-03-24check_mysql: Fix segfault with old slaves (#2696823 - Oskar Ahner)Gravatar Thomas Guyot-Sionnest
2009-03-24Whitespace and intend cleanupGravatar Thomas Guyot-Sionnest
2009-03-21Update check_http short help with new stycky and stickyport options.Gravatar Thomas Guyot-Sionnest
2009-03-21check_http: die when an invalid --onredirect option is specifiedGravatar Thomas Guyot-Sionnest
2009-03-21check_http: add --onredirect=stickyport - also follow the same portGravatar Thomas Guyot-Sionnest
2009-03-20Add the timegm Gnulib moduleGravatar Thomas Guyot-Sionnest
2009-03-20negate: make timeouts configurableGravatar Thomas Guyot-Sionnest
2009-03-20Make alarm handler customisableGravatar Thomas Guyot-Sionnest
2009-03-20negate: Fix not printing the real timeout in ALRM handler when timeout is ↵Gravatar Thomas Guyot-Sionnest
left to default
2009-03-20tests/check_http.t: Add various timeout-related testsGravatar Thomas Guyot-Sionnest
2009-03-19Fixed check_http not timing-out on redirectsGravatar Thomas Guyot-Sionnest thomas@aei.ca
2009-03-19Revert "Add timezone support and fix checks around cert expiration" (keep ↵Gravatar Thomas Guyot-Sionnest
the expiration fix) This reverts commit d41a33a434558189300113c28b26e2d3d681d390.
2009-03-18Add suggested multi-oid test (John A. Barbuto)Gravatar Thomas Guyot-Sionnest
2009-03-18check_snmp: Fix potential buffer overflow - enforce MAX_OIDS limit (John A. ↵Gravatar Thomas Guyot-Sionnest
Barbuto)
2009-03-18Fix logging of STDERR in tinderbox tests phaseGravatar Thomas Guyot-Sionnest
2009-03-18Add timezone support and fix checks around cert expirationGravatar Thomas Guyot-Sionnest