]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
smart.sh: default rc to 0 (saw false UNKNOWNs with non-raid) 246/head
authorDan Mick <dan.mick@redhat.com>
Sat, 4 Jun 2016 01:12:01 +0000 (18:12 -0700)
committerDan Mick <dan.mick@redhat.com>
Sat, 4 Jun 2016 01:12:01 +0000 (18:12 -0700)
Signed-off-by: Dan Mick <dan.mick@redhat.com>
roles/testnode/files/libexec/smart.sh

index 486b5ccba08298c00dddc7cbd90ee3664257028f..2f71a609d39006ecf8938876c820ab18c4226d03 100755 (executable)
@@ -21,8 +21,8 @@ numdrives=0
 failingdrives=0
 # Fallback message for UNKNOWN return code output
 unknownmsg="Unknown error"
-# Return code for nagios (Default to UNKNOWN)
-rc=3
+# Return code for nagios (Default to SUCCESS)
+rc=0
 # Array of messages indicating drive health.  Output after nagios status.
 declare -a messages