summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2009-05-10Make C plugin output format configurablehw/output/functionsHolger Weiss2-19/+0
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-Sionnest1-2/+8
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-Sionnest1-1/+2
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-Sionnest2-19/+51
2009-03-20negate: make timeouts configurableThomas Guyot-Sionnest2-8/+37
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-Sionnest1-1/+3
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.ca1-3/+3
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-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-Sionnest1-1/+1
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 Voon3-166/+182
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 Voon1-0/+2
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-Sionnest1-0/+2
Fix for check_snmp long help, reported by Richard Edward Horner
2009-02-20Typo fixes (Jan Wagner - SF 1878971)Ton Voon9-21/+21
2009-02-19Fixed coredump from check_nt when drive not found (Olli Hauer - SF 2179754)Ton Voon2-7/+90
2009-02-05check_http --onredirect=sticky follows using the same IP address (sf.net ↵Thomas Guyot-Sionnest1-5/+11
#2550208).
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-Sionnest1-3/+3
Add a separator argument passed using defines.
2009-01-21Move check_ntp's extract_value to utils_base.c.Thomas Guyot-Sionnest1-57/+3
This function can also be used to parse performance data strings which could be useful in the future.
2009-01-21Trick for check_users test without users logged-inThomas Guyot-Sionnest1-0/+4
2009-01-15Sync with gnulibThomas Guyot-Sionnest2-5/+1
2008-12-23Allow privproto to be passed through check_snmp to snmpget. Defaults to DESTon Voon1-4/+13
for compatibility
2008-12-03check_mrtg: fix plugin returning UNKNOWN instead of OK (bug #2378068)Thomas Guyot-Sionnest1-1/+1
2008-11-27Fixing build breakages (I totally forgot this rule was there...)Thomas Guyot-Sionnest1-1/+1
2008-11-26Disable dynamic versionning for releases, and allow generating version out ↵Thomas Guyot-Sionnest1-5/+5
of subversion. This should be a definitive fix for systems with non-compilant make programs as the version will be taken from $(PACKAGE_VERSION) instead. At the same time I added code for generating svn-based version strings.
2008-11-25Workaround to support more make programsThomas Guyot-Sionnest1-1/+4
Avoid the use of "-include". Since "include" is interpreted by Automake, we have to use a special macro instead.
2008-11-23Avoid the use of .PHONY (target s created twice and I have no idea if it's ↵Thomas Guyot-Sionnest1-2/+2
right).
2008-11-23Removing CVS/SVN tags and replacing with git-based versioningThomas Guyot-Sionnest79-319/+99
For contrib/, full tags have been imported from subversion git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-20Add comment to recent check_disk patchThomas Guyot-Sionnest1-1/+4
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2088 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-19Bulk EOL cleanupThomas Guyot-Sionnest29-142/+142
$ git diff --ignore-space-change|diffstat 0 files changed git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2087 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-19Fixed buffer overflow in check_ntp/check_ntp_peer (#1999319, Ubuntu #291265)Thomas Guyot-Sionnest2-2/+2
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2086 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-19check_disk: rerpopulate the mount list after doing a stat() on paths ↵Thomas Guyot-Sionnest1-5/+5
specified with -p for better automount support. NB: There's a memory leak here - properly freeing the mount list would invlove much more work - there's many other places where leaks can happen so it should be a project on its own. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2085 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-08Add missing long options for check_nt (for use with extra-opts)Thomas Guyot-Sionnest1-1/+8
Extra-opts (ini files) requires long-options for setting up arguments. Added the missing ones for check_nt so that it can be properly used with extra-opts. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2079 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-08Fix long options parsing in check_disk, check_dns, check_mrtg and ↵Thomas Guyot-Sionnest7-14/+13
check_mrtgtraf (check_tcp was done in an earlier commit) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2078 f882894a-f735-0410-b71e-b25c423dba1c