There is a Nagios plugin 'check_ctdb', which is part of the Samba 4.6 source in ctdb/utils/nagios/check_ctdb. This does use the '-n all' and is consequently broken. Since Samba 4.5.0 the ctdb -n option does only take numeric values. # ctdb ping -n all Invalid option all: invalid numeric value