Commit graph

163 commits

Author SHA1 Message Date
Thomas Guyot-Sionnest
f95cb118de Typo in NEWS 2010-03-16 03:42:05 -04:00
Ton Voon
6b782ebfd4 Fix memory leak in check_http for large pages (Jimmy Bergman - #2957455) 2010-02-26 12:47:38 +00:00
Thomas Guyot-Sionnest
96a23a4c11 Detect arguments passed via --with-ping[6]-command (#2908236) 2009-12-05 01:27:47 -05:00
Thomas Guyot-Sionnest
e7e9a99117 Fix usage of repeated -o options in check_snmp 2009-10-22 03:25:41 -04:00
Thomas Guyot-Sionnest
c2d9c59dc9 Increment per-host sequence in check_icmp 2009-10-15 21:52:18 -04:00
Ton Voon
53efa53d5d Updated documentation re: no equals sign and single quote 2009-09-24 10:33:23 +01:00
Ton Voon
1a18f4c775 Updated NEWS file with docs changes 2009-09-24 10:21:51 +01:00
Thomas Guyot-Sionnest
2abf2e214a Test, again 2009-09-23 03:17:05 -04:00
Thomas Guyot-Sionnest
b3b4cec3fc Test 2009-09-23 03:10:33 -04:00
Thomas Guyot-Sionnest
c6f2d9f673 Oops - wrong author/bug in last commit! 2009-09-21 21:22:44 -04:00
Thomas Guyot-Sionnest
08199792ba Add proxy-authorization option to check_http (Peter Doherty - #2863772, Bryan Irvine - #2863925) 2009-09-21 21:20:33 -04:00
Thomas Guyot-Sionnest
bc3c8c7cfb Fix check_ircd binding to wrong interface (#668778) 2009-09-19 02:08:51 -04:00
Ton Voon
bc26fec6d6 Prep for 1.4.14 release 2009-09-16 09:33:05 +01:00
Ton Voon
0dcd5e677e pst3 compile with Sun Studio Compiler 2009-07-14 23:20:21 +01:00
Matthias Eble
c66d2c6b3b renamed check_ifoperstatus' newly introdced -x to -P so it fits check_ifstatus
check_ifstatus already used -x so both plugins can use same short option, now.
to specify privacy protocol.
2009-06-11 17:24:52 +02:00
Matthias Eble
edda2536e5 Fixed SNMPv3 behaviour of check_ifstatus. Added -P to define privprotocol (#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 17:20:55 +02:00
Matthias Eble
8b8a30716a check_ifoperstatus is now more user friendly in case of missing arguments
Added proper usage messages in case of missing arguments.
Removed accidently committed Data::Dumper call.
Minor whitespace fixes.
2009-06-11 02:29:13 +02:00
Matthias Eble
5195074095 Fixed SNMPv3 behaviour of check_ifoperstatus. Added -x to define 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-11 01:17:58 +02:00
Matthias Eble
843c652768 check_fping now supports passing target timeout and interval to fping (#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-06-01 16:42:14 +02:00
Thomas Guyot-Sionnest
7cb3ae0933 check_snmp: Make use of standard threshold functions
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-28 08:10:49 -04:00
Thomas Guyot-Sionnest
fcc4db5aaa Fix check_by_ssh interpretation of quotes in -C parameter (#1985246, #2268675) 2009-05-26 04:28:41 -04:00
Matthias Eble
221cb49206 Fixed wrong perfdata label for output traffic in check_mrtgtraf
check_mrtgtraf used the label "in" for both input and output traffic.
This fixed, now.
2009-05-22 23:57:36 +02:00
Thomas Guyot-Sionnest
0489df95fc check_http: Add SSL/TLS hostname extension support (SNI) - (#1939022 - Joe Presbrey) 2009-05-20 01:05:35 -04:00
Thomas Guyot-Sionnest
56cf66c9b8 Fix awk subst.in/subst script path error (#2722832 - Martin Foster) 2009-05-20 00:43:10 -04:00
Thomas Guyot-Sionnest
917fcc7c30 Fix check_mysql* not using password set in my.cnf (#2531905 - Ben Timby) 2009-05-20 00:20:11 -04:00
Ton Voon
430d093a6f Fixed typo in check_disk 2009-05-07 22:28:56 +01:00
Matthias Eble
8e4c885ee1 Fixed crash from check_nt when -H unspecified or given multiple times (sf.net #2731755, debian #521097) 2009-05-01 11:16:37 +02:00
Thomas Guyot-Sionnest
dd52d7e5e7 check_nt: allow returning UNKNOWN on timeouts (-u) 2009-03-24 23:46:09 -04:00
Thomas Guyot-Sionnest
ab3ada9aac check_mysql: Fix segfault with old slaves (#2696823 - Oskar Ahner) 2009-03-24 02:01:48 -04:00
Thomas Guyot-Sionnest
e7cdcfee2a check_http: add --onredirect=stickyport - also follow the same port 2009-03-21 02:32:50 -04:00
Thomas Guyot-Sionnest
d36c976129 negate: make timeouts configurable 2009-03-20 02:28:02 -04:00
Thomas Guyot-Sionnest
4142e17840 negate: Fix not printing the real timeout in ALRM handler when timeout is left to default 2009-03-20 01:40:00 -04:00
Thomas Guyot-Sionnest thomas@aei.ca
3dd27fb063 Fixed check_http not timing-out on redirects 2009-03-19 13:59:43 -07:00
Thomas Guyot-Sionnest
16030bc497 Fix check_http sending HTTP/1.0 with v1.1 headers (#2638765) 2009-03-17 01:53:00 -04:00
Ton Voon
36e58ae0c3 Fixed passing of quotes in OID for check_snmp (#1985230 - Jan Wagner, patch by John Barbuto) 2009-03-14 01:17:50 +00:00
Thomas Guyot-Sionnest
660dabd5ac check_snmp long help missing retries entry (#2608223)
Fix for check_snmp long help, reported by Richard Edward Horner
2009-02-24 04:43:09 -05:00
Ton Voon
31efea1b49 Fixed coredump from check_nt when drive not found (Olli Hauer - SF 2179754) 2009-02-19 23:43:15 +00:00
Thomas Guyot-Sionnest
0af97a2f84 Small correction in NEWS entry 2009-02-06 07:22:57 -05:00
Thomas Guyot-Sionnest
d00a53dd1e check_http --onredirect=sticky follows using the same IP address (sf.net #2550208). 2009-02-05 00:47:07 -05:00
Thomas Guyot-Sionnest
8aa65b21eb Add NEWS entry for last commit 2009-02-03 05:14:00 -05:00
Thomas Guyot-Sionnest
f8b606b728 check_mrtg: fix plugin returning UNKNOWN instead of OK (bug #2378068) 2008-12-03 08:00:05 -05:00
Thomas Guyot-Sionnest
2bbf2e6967 Add Libtap as a bundled library (does not change any behaviour without --enable-libtap)
Detects system library as pre-1.4.13 and does not install the built-in library anymore

Tested on:
  - Linux x86_64, with and without local libtap (System libtap installed)
	- Linux x86, with and without local libtap (System libtap NOT installed)
  - Solaris SPARC, with and without local libtap, with and without system libtap installed
2008-11-29 04:38:54 -05:00
Thomas Guyot-Sionnest
16f53e0717 Fixed buffer overflow in check_ntp/check_ntp_peer (#1999319, Ubuntu #291265)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2086 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-19 05:59:33 +00:00
Thomas Guyot-Sionnest
5305852212 check_disk: rerpopulate the mount list after doing a stat() on paths 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-19 05:59:22 +00:00
Thomas Guyot-Sionnest
8c1934b7d0 Add missing long options for check_nt (for use with extra-opts)
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-08 16:33:28 +00:00
Thomas Guyot-Sionnest
4e366f82de Fix long options parsing in check_disk, check_dns, check_mrtg and 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
2008-11-08 16:33:15 +00:00
Ton Voon
6c5f781bc5 Fixed bug where extra headers and redirect caused segfault (Dieter Van de Walle - 2089159)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2076 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-08 02:32:03 +00:00
Ton Voon
288b742ed6 check_http now has options to specify the HTTP method (Jan - 2155152)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2075 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-08 02:08:56 +00:00
Thomas Guyot-Sionnest
526c3ad7a7 check_icmp now reports min and max round trip time perfdata (Steve Rader)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2073 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-07 01:41:17 +00:00
Thomas Guyot-Sionnest
dac9d73736 Fix check_tcp longoptions handling
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2072 f882894a-f735-0410-b71e-b25c423dba1c
2008-11-05 21:36:43 +00:00