Module: check_mk
Branch: master
Commit: 663c05837500dcd0723bb94a2a6e7031bbb54946
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=663c05837500dc…
Author: Florian Heigl <fh(a)mathias-kettner.de>
Date: Fri Jan 27 11:07:52 2012 +0100
HP-UX Agent: give full path to machinfo binary used by uptime check.
---
agents/check_mk_agent.hpux | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/agents/check_mk_agent.hpux b/agents/check_mk_agent.hpux
index b9cd120..e68314d 100755
--- a/agents/check_mk_agent.hpux
+++ b/agents/check_mk_agent.hpux
@@ -61,7 +61,8 @@ UNIX95=yes ps -ef -o user,vsz,pcpu,args | sed -e 1d -e 's/ *\([^
]*\) *\([^ ]*\)
echo '<<<hpux_cpu>>>'
uptime
-machinfo | grep 'logical proc'
+# machinfo is unsupported addon thus not in $PATH
+/usr/contrib/bin/machinfo | grep 'logical proc'
# Several machine performance counters
echo '<<<hpux_vmstat>>>'