Module: check_mk
Branch: master
Commit: 80c79eb9477cc1758850d19404f9a2bed3292c2a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=80c79eb9477cc1…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed May 24 12:55:28 2017 +0200
4748 FIX solaris_fmadm: Check was only discovered when an error is detected
Change-Id: Id48845e15c6c6caff8bd10b7e6af605dfb8b4f76
---
.werks/4748 | 11 +++++++++++
agents/check_mk_agent.solaris | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/4748 b/.werks/4748
new file mode 100644
index 0000000..6868ed4
--- /dev/null
+++ b/.werks/4748
@@ -0,0 +1,11 @@
+Title: solaris_fmadm: Check was only discovered when an error is detected
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i1
+Date: 1495623301
+
+
diff --git a/agents/check_mk_agent.solaris b/agents/check_mk_agent.solaris
index dc4ec58..adacbaf 100755
--- a/agents/check_mk_agent.solaris
+++ b/agents/check_mk_agent.solaris
@@ -381,7 +381,7 @@ fi
# Displaying Information About Faults or Defects
# If there are no faults the output of this command will be empty.
-if type fmadm faulty > /dev/null 2>&1
+if type fmadm >/dev/null 2>&1
then
echo '<<<solaris_fmadm:sep(58)>>>'
fmadm faulty