]> git.michaelhowe.org Git - packages/n/nagios-plugins-local.git/commitdiff
check_monit: fix return code 0.18
authorMichael Howe <michael@michaelhowe.org>
Mon, 8 Jan 2018 16:22:52 +0000 (16:22 +0000)
committerMichael Howe <michael@michaelhowe.org>
Mon, 8 Jan 2018 16:22:52 +0000 (16:22 +0000)
debian/changelog
plugins/check_monit

index 1a744b341a024ec5a441f017521a367b8ef2d660..032234e8e193ccd5cc4cf1774e83410b0b5c1595 100644 (file)
@@ -1,3 +1,10 @@
+nagios-plugins-local (0.18) unstable; urgency=medium
+
+  * check_monit:
+    - fix return code 
+
+ -- Michael Howe <michael@michaelhowe.org>  Sat, 09 Dec 2017 23:15:53 +0000
+
 nagios-plugins-local (0.17) unstable; urgency=medium
 
   * check_monit:
index 4564d137ba6a89e174609a3a16d871e1fdb49690..3abe13b7cb632f2a262606c6fcd85f6ce13b3bcc 100755 (executable)
@@ -47,6 +47,6 @@ if len(unmonitored):
     exitcode = 2
 else:
     print "monit: no unmonitored services"
-    exitcode = 1
+    exitcode = 0
 
 sys.exit(exitcode)