Improved check_ctdb
commit6a03128c5699b7d0c644e4a83b823088300f8be7
authorMathieu Parent <math.parent@gmail.com>
Thu, 29 Aug 2013 05:42:12 +0000 (29 07:42 +0200)
committerAmitay Isaacs <amitay@gmail.com>
Thu, 24 Oct 2013 05:54:08 +0000 (24 16:54 +1100)
tree31db1f6ed415f9caf1a60019876a3ac6e470b71d
parent0e80ca24f3feabead31c2ea106eb27f243479d63
Improved check_ctdb

- increase verbosity with "-v"
- concat error messages (if there are several)
- handle 255 return code as warning (as it is the return code when any of the node is missing)
- read /etc/ctdb/nodes remotely (ctdb_check can be run on a non-ctdb host)

(This used to be ctdb commit cea81bdd503f6ef8b5bbd3582a8e0085bb02bc9f)
ctdb/utils/nagios/check_ctdb