Module: check_mk
Branch: master
Commit: 7a4603e13f2252687f12887a5207b109d32bac4e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7a4603e13f2252…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Apr 3 10:42:30 2013 +0200
livecheck: now able to handle check output up to 16kB
---
ChangeLog | 1 +
livestatus/src/livecheck.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 2d02c57..f6b6826 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -87,6 +87,7 @@
* FIX: setup: detect check_icmp also on 64-Bit CentOS
(thanks to あきら)
* FIX: setup.sh: create auth.serials, fix permissions of htpasswd
+ * FIX: livecheck: now able to handle check output up to 16kB
Checks & Agents:
* FIX: apc_symmetra_power: resurrect garble PNP template for
diff --git a/livestatus/src/livecheck.c b/livestatus/src/livecheck.c
index de6a790..0527b58 100644
--- a/livestatus/src/livecheck.c
+++ b/livestatus/src/livecheck.c
@@ -82,7 +82,7 @@ int main(int argc, char **argv)
int is_host_check = service[0] == '\n';
struct timeb start;
ftime(&start);
- char output[8192];
+ char output[16384];
int return_code;
// Optimization(1):
// If it's check_icmp, we use our inline version