Module: check_mk
Branch: master
Commit: 61bc5b77d5d945ccab0d2d9a85be130b9ba0f376
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=61bc5b77d5d945…
Author: Marcel Schulte <ms(a)mathias-kettner.de>
Date: Wed Aug 31 12:30:36 2016 +0200
FIX searching for statgrab in FreeBSD agent, thanks to Johannes Sauerbier for reporting
this issue
---
agents/check_mk_agent.freebsd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agents/check_mk_agent.freebsd b/agents/check_mk_agent.freebsd
index a1b1100..31448b7 100755
--- a/agents/check_mk_agent.freebsd
+++ b/agents/check_mk_agent.freebsd
@@ -350,7 +350,7 @@ fi
# Statgrab
# To install: pkg install libstatgrab
-if type statgrab 2>&1 >/dev/null ; then
+if type statgrab >/dev/null 2>&1 ; then
statgrab_vars="const. disk. general. page. proc. user."
statgrab_vars_mem="mem. swap."