Module: check_mk
Branch: master
Commit: 299a293e01237f11d7750a8a26bcf5df0f1f1d04
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=299a293e01237f…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Jul 22 13:42:07 2015 +0200
adjusted HACMP section in aix agent for clshowsrv command
---
agents/check_mk_agent.aix | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/agents/check_mk_agent.aix b/agents/check_mk_agent.aix
index d586f37..92238ff 100755
--- a/agents/check_mk_agent.aix
+++ b/agents/check_mk_agent.aix
@@ -272,7 +272,11 @@ then
fi
echo '<<<aix_hacmp_services>>>'
- clshowsrv -v
+ if type clshowsrv ; then
+ clshowsrv -v
+ else # fallback, hardcoded base installation path
+ /usr/es/sbin/cluster/utilities/clshowsrv -v
+ fi
echo '<<<aix_hacmp_resources:sep(58)>>>'
clRGinfo -s