Module: check_mk
Branch: master
Commit: 0a75e5e2c71196b2bba2f1b6fccd6662c19b8695
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0a75e5e2c71196…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Jan 28 14:08:42 2016 +0100
fixed invalid agent output for solaris_prtdiag_status
---
agents/check_mk_agent.solaris | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agents/check_mk_agent.solaris b/agents/check_mk_agent.solaris
index ca0b1d2..bf579a4 100755
--- a/agents/check_mk_agent.solaris
+++ b/agents/check_mk_agent.solaris
@@ -246,7 +246,7 @@ fi
if type prtdiag >/dev/null 2>&1
then
- run_cached -s solaris_prtdiag_status 300 '/usr/sbin/prtdiag; echo $?'
+ run_cached -s solaris_prtdiag_status 300 '/usr/sbin/prtdiag 1>/dev/null
2>&1; echo $?'
fi
# TCP Connection stats