Module: check_mk
Branch: master
Commit: 7ee869cc787290296dd8e791e881160a5d84a35d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7ee869cc787290…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Dec 4 18:01:46 2014 +0100
#1655 FIX AIX Agent: Fixed broken filesystem checks when having PowerHA installed
When installing PowerHA, a new filesystem is /aha is created and reported by
the Check_MK agent. This line seems useless and causes trouble duing checking.
We excluded this line now in the agent.
---
.werks/1655 | 11 +++++++++++
ChangeLog | 1 +
agents/check_mk_agent.hpux | 2 +-
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/1655 b/.werks/1655
new file mode 100644
index 0000000..0dd1e13
--- /dev/null
+++ b/.werks/1655
@@ -0,0 +1,11 @@
+Title: AIX Agent: Fixed broken filesystem checks when having PowerHA installed
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.5i7
+Date: 1417712407
+Class: fix
+
+When installing PowerHA, a new filesystem is /aha is created and reported by
+the Check_MK agent. This line seems useless and causes trouble duing checking.
+We excluded this line now in the agent.
diff --git a/ChangeLog b/ChangeLog
index 7dd3850..6f34768 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -107,6 +107,7 @@
* 1652 FIX: kaspersky_av_quarantine: Fixed exception when a file was found in
quarantine
* 1653 FIX: megaraid_pdisks: Resulting states are now hard coded within the check...
* 1654 FIX: statgrab_disk: Fixed scaling of values shown in PNP graphs...
+ * 1655 FIX: AIX Agent: Fixed broken filesystem checks when having PowerHA
installed...
Multisite:
* 1508 Allow input of plugin output and perfdata when faking check results...
diff --git a/agents/check_mk_agent.hpux b/agents/check_mk_agent.hpux
index b47f23b..a355ff9 100755
--- a/agents/check_mk_agent.hpux
+++ b/agents/check_mk_agent.hpux
@@ -58,7 +58,7 @@ echo AgentDirectory: $MK_CONFDIR
# modern systems with vxfs only here. The filesystem type is currently
# not used by the check anyway.
echo '<<<df>>>'
-df -kP -F vxfs | sed 's/ / - /' | awk '/^(.*-.*)$/ { print $0 } /^([^-]+)$/ {
printf $0 }' | grep -v ^/proc | grep -v ^Filesystem | grep -v :
+df -kP -F vxfs | sed 's/ / - /' | awk '/^(.*-.*)$/ { print $0 } /^([^-]+)$/ {
printf $0 }' | grep -Ev "^/proc|^Filesystem|^/aha|:"
# Process table: HP-UX does not provide a resident size of processes.
# We send a 0 here for RSZ.