Module: check_mk
Branch: master
Commit: c7a75e2f4feb537df33476e5f2e2764a839ac88b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c7a75e2f4feb53…
Author: Florian Heigl <fh(a)mathias-kettner.de>
Date: Thu May 17 12:59:17 2012 +0200
Veritas Agent Plugins: Cleanup
---
agents/plugins/veritas/vxvm_multipath | 2 +-
agents/plugins/veritas/vxvm_volumes | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/agents/plugins/veritas/vxvm_multipath
b/agents/plugins/veritas/vxvm_multipath
index e76658d..281747d 100755
--- a/agents/plugins/veritas/vxvm_multipath
+++ b/agents/plugins/veritas/vxvm_multipath
@@ -9,7 +9,7 @@
-if type vxdmpadm ; then
+if type vxdmpadm >/dev/null; then
echo '<<<vxvm_multipath>>>'
# dmpnode storagedevice state attribute
vxdmpadm getsubpaths | grep -vw DMPNODENAME | awk '{print $4" "$5"
"$2" "$3}'
diff --git a/agents/plugins/veritas/vxvm_volumes b/agents/plugins/veritas/vxvm_volumes
index 573c1a8..46c46fe 100755
--- a/agents/plugins/veritas/vxvm_volumes
+++ b/agents/plugins/veritas/vxvm_volumes
@@ -2,11 +2,11 @@
if type vxdg > /dev/null; then
+ echo '<<<vxvm_volumes>>>'
# Get a list of the in-use disk groups.
# Deported or otherwise inactive needs no performance monitoring
DGS=$(vxdg list | grep enabled | awk '{print $1}')
if [ "X${DGS}" != "X" ]; then
- echo '<<<vxvm_volumes>>>'
for DG in $DGS ; do
vxprint -g $DG -v -F"%dgname %name %state"
# Options: Kilobytes, per Volume