Node monitoring

Hi,

my problem is the slow detection of offline nodes in my swarm.
If a node suddenly goes offline I have to detect it immediately, because the service has to be started on a other node.

Is there a command or a configuration to check the node status every second?

Regards,
berni