Module: check_mk
Branch: master
Commit: 20b58646110fac09d102a605a9051ccb97883ca7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=20b58646110fac…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Feb 6 14:32:27 2014 +0100
FIX hpux_lvm: avoid problem when alternative vgdisplay is installed
The agent now uses <tt>/sbin/vgdisplay</tt>. That avoids an invalid output
in case an alternative version of the command is installed e.g. in
<tt>/usr/bin</tt>.
---
.werks/693 | 10 ++++++++++
ChangeLog | 1 +
agents/check_mk_agent.hpux | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/693 b/.werks/693
new file mode 100644
index 0000000..a9ae7ed
--- /dev/null
+++ b/.werks/693
@@ -0,0 +1,10 @@
+Title: hpux_lvm: avoid problem when alternative vgdisplay is installed
+Level: 1
+Component: checks
+Class: fix
+State: unknown
+Version: 1.2.5i1
+Date: 1391693475
+
+The agent now uses <tt>/sbin/vgdisplay</tt>. That avoids an invalid output
+in case an alternative version of the command is installed e.g. in
<tt>/usr/bin</tt>.
diff --git a/ChangeLog b/ChangeLog
index 6f61f04..8694e36 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -162,6 +162,7 @@
* 0689 FIX: postgres_sessions: fix empty agent section in case of 0 sessions...
* 0579 FIX: veeam_client: fix for case when no StopTime section in agent output
* 0692 FIX: fileinfo: Avoid duplicate entries in Solaris agent...
+ * 0693 FIX: hpux_lvm: avoid problem when alternative vgdisplay is installed...
Multisite:
* 0371 Added log class filter to hostsvcevents view
diff --git a/agents/check_mk_agent.hpux b/agents/check_mk_agent.hpux
index 35a1876..9f49eaa 100755
--- a/agents/check_mk_agent.hpux
+++ b/agents/check_mk_agent.hpux
@@ -93,7 +93,7 @@ done
# Logical Volume Manager
echo '<<<hpux_lvm:sep(58)>>>'
-vgdisplay -v -F
+/sbin/vgdisplay -v -F
# Multipathing
echo '<<<hpux_multipath>>>'