summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-05-10Make C plugin output format configurablehw/output/functionsHolger Weiss5-19/+263
The development guidelines¹ currently state that the plugin output should be in the format "SERVICE STATUS: Information text". However, the SERVICE and STATUS information is redundant, as the plugin caller (e.g., Nagios) should know which SERVICE is checked and the STATUS is returned via the plugin's exit code. After discussing² this issue on the development list, we decided to make the plugin output configurable at compile time (separately for "normal" and "verbose" output). ¹ http://nagiosplug.sf.net/developer-guidelines.html ² http://thread.gmane.org/gmane.network.nagios.plugins.devel/5155 Signed-off-by: Holger Weiss <hweiss@users.sourceforge.net>
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
2009-03-05Added inline tests for HTTPS using HTTP::Daemon::SSLTon Voon3-128/+230
2009-02-24check_snmp long help missing retries entry (#2608223)Thomas Guyot-Sionnest3-1/+4
Fix for check_snmp long help, reported by Richard Edward Horner
2009-02-20Updated string ids, due to typo fixesTon Voon1-3/+3
2009-02-20Typo fixes (Jan Wagner - SF 1878971)Ton Voon10-22/+22
2009-02-19Fixed coredump from check_nt when drive not found (Olli Hauer - SF 2179754)Ton Voon4-7/+92
2009-02-06Devel doc: NP-VERSION-GEN needs to be updated as wellThomas Guyot-Sionnest1-1/+3
2009-02-06Small correction in NEWS entryThomas Guyot-Sionnest1-1/+1
2009-02-06Update the devel notes for GitThomas Guyot-Sionnest3-12/+21
2009-02-06Revert "Moving project administration documents to nagiosplugins.org site"Thomas Guyot-Sionnest3-0/+85
This reverts commit f4a52594818e7c3634a397ac1f86ef87a68bd121.
2009-02-05check_http --onredirect=sticky follows using the same IP address (sf.net ↵Thomas Guyot-Sionnest2-5/+12
#2550208).
2009-02-03Add NEWS entry for last commitThomas Guyot-Sionnest1-2/+3
2009-02-03Fix aberrant behaviours in check_http:Thomas Guyot-Sionnest1-105/+97
check_http used to ignore many parameters with check combinations - sometimes even time thresholds(!!) With this commit as long as a response is received *all* checks are performed on it. This fixes #1460312 plus a number of other issues I discovered over time.
2009-01-26Make extract_value more generic:Thomas Guyot-Sionnest4-31/+37
Add a separator argument passed using defines.
2009-01-24Remove the commented out blocksThomas Guyot-Sionnest2-66/+0
The die tests are implemented in the test_*3.t files
2009-01-24Fix paths in test_ini testsThomas Guyot-Sionnest2-4/+4
2009-01-23Add die tests for parse_iniThomas Guyot-Sionnest8-7/+79
2009-01-22Return UNKNOWN if none of the default files can be found.Thomas Guyot-Sionnest2-9/+17
It makes no sense to return unknown if an implicit section is not found, but go on if the file is missing
2009-01-22Add die tests for extra-optsThomas Guyot-Sionnest7-11/+74
2009-01-21Move check_ntp's extract_value to utils_base.c.Thomas Guyot-Sionnest4-58/+148
This function can also be used to parse performance data strings which could be useful in the future.
2009-01-21Accidentally included built executables - also updated .gitignoreThomas Guyot-Sionnest3-1/+2
2009-01-21Some platform are missing setenvThomas Guyot-Sionnest9-99/+169
Instead of adding the gnulib module for solving tests only I split the test in two, setting environment from Perl for the later.