summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-06-01Fix the memory allocation for the thresholds dataHolger Weiss2-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-01Don't use the plain char type for data buffersHolger Weiss1-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-01Whitespace indent fixes for check_pgsqlMatthias Eble1-22/+22
2009-06-01Fixed check_icmp compiler warnings by including float.hMatthias Eble1-0/+1
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, ↵Matthias Eble1-2/+2
debian #530553) check_icmp wrongly calculated the current thresholds in --help output.
2009-06-01Added verbose output to check_pgsql (#2799281 - Jun Kuriyama)Matthias Eble1-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-01check_fping now supports passing target timeout and interval to fping ↵Matthias Eble2-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-28check_snmp: Make use of standard threshold functionsThomas Guyot-Sionnest4-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-27Fix whitespaces in check_snmpThomas Guyot-Sionnest1-73/+73
2009-05-26Fix check_by_ssh interpretation of quotes in -C parameter (#1985246, #2268675)Thomas Guyot-Sionnest4-18/+60
2009-05-22Fixed wrong perfdata label for output traffic in check_mrtgtrafMatthias Eble2-1/+2
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)Matthias Eble1-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-20Whitespace changes onlyThomas Guyot-Sionnest1-2/+2
2009-05-20check_http: Add SSL/TLS hostname extension support (SNI) - (#1939022 - Joe ↵Thomas Guyot-Sionnest5-2/+16
Presbrey)
2009-05-20Fix awk subst.in/subst script path error (#2722832 - Martin Foster)Thomas Guyot-Sionnest3-10/+13
2009-05-20Fix check_mysql* not using password set in my.cnf (#2531905 - Ben Timby)Thomas Guyot-Sionnest4-8/+10
2009-05-19Sync with the latest Gnulib code (cb75dc5)Holger Weiss58-549/+1963
Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de>
2009-05-19Fix a few minor typosChris Pepper2-9/+9
Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de>
2009-05-19Talk about Git instead of CVSHolger Weiss1-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-19Remove comments regarding former requirementsHolger Weiss1-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-07Fixed typo in check_diskTon Voon3-5/+7
2009-05-01Fixed crash from check_nt when -H unspecified or given multiple times ↵Matthias Eble3-2/+7
(sf.net #2731755, debian #521097)
2009-03-25check_nt: allow returning UNKNOWN on timeouts (-u)Thomas Guyot-Sionnest2-2/+9
2009-03-25Make socket alarm handler customisable (like c459ca07)Thomas Guyot-Sionnest2-6/+12
2009-03-24check_mysql: Fix segfault with old slaves (#2696823 - Oskar Ahner)Thomas Guyot-Sionnest3-1/+4
2009-03-24Whitespace and intend cleanupThomas Guyot-Sionnest1-210/+210
2009-03-21Update check_http short help with new stycky and stickyport options.Thomas Guyot-Sionnest1-4/+4
2009-03-21check_http: die when an invalid --onredirect option is specifiedThomas Guyot-Sionnest1-6/+7
2009-03-21check_http: add --onredirect=stickyport - also follow the same portThomas Guyot-Sionnest3-19/+52
2009-03-20Add the timegm Gnulib moduleThomas Guyot-Sionnest12-2/+1322
2009-03-20negate: make timeouts configurableThomas Guyot-Sionnest3-8/+38
2009-03-20Make alarm handler customisableThomas Guyot-Sionnest2-3/+5
2009-03-20negate: Fix not printing the real timeout in ALRM handler when timeout is ↵Thomas Guyot-Sionnest2-1/+4
left to default
2009-03-20tests/check_http.t: Add various timeout-related testsThomas Guyot-Sionnest1-3/+51
2009-03-19Fixed check_http not timing-out on redirectsThomas Guyot-Sionnest thomas@aei.ca2-3/+4
2009-03-19Revert "Add timezone support and fix checks around cert expiration" (keep ↵Thomas Guyot-Sionnest2-11/+8
the expiration fix) This reverts commit d41a33a434558189300113c28b26e2d3d681d390.
2009-03-18Add suggested multi-oid test (John A. Barbuto)Thomas Guyot-Sionnest1-1/+5
2009-03-18check_snmp: Fix potential buffer overflow - enforce MAX_OIDS limit (John A. ↵Thomas Guyot-Sionnest1-2/+1
Barbuto)
2009-03-18Fix logging of STDERR in tinderbox tests phaseThomas Guyot-Sionnest1-3/+3
2009-03-18Add timezone support and fix checks around cert expirationThomas Guyot-Sionnest2-8/+13
2009-03-17Check for existence of pre-instaleld pst3 for Solaris tests in t/check_procs.tThomas Guyot-Sionnest1-1/+1
2009-03-17Fix check_http sending HTTP/1.0 with v1.1 headers (#2638765)Thomas Guyot-Sionnest2-1/+2
2009-03-16Fix check_snmp test on solarisThomas Guyot-Sionnest1-1/+1
2009-03-16Update extended check_http tests for 0d78171...Thomas Guyot-Sionnest1-42/+39
Also add some tests, and make debug mode loop infinitely.
2009-03-16check_http fixes:Thomas Guyot-Sionnest1-3/+3
- Fix broken printf on 500 errors - Add bytes to normal output (accidentally removed in 0d78171)
2009-03-16check_snmp fixes:Thomas Guyot-Sionnest2-6/+6
- Fix broken compilation caused by typo in command ending - Remove extra whitespaces at EOL - Fix invalid host test on Ubuntu Hardy (and possibly others)
2009-03-14Ignore stderr messages unless return code is non-zero or there is no outputTon Voon1-12/+20
2009-03-14Fixed passing of quotes in OID for check_snmp (#1985230 - Jan Wagner, patch ↵Ton Voon5-166/+184
by John Barbuto)
2009-03-06Create expired cert for testing purposes. Updated tests to checkTon Voon3-10/+92
expired and unexpired certificates
2009-03-05Merge branch 'master' of ssh://repo.or.cz/srv/git/nagiospluginsTon Voon3-1/+4