Thanks Dejan !

now I can use this script to output the heartbeat status:
---
node1:~# cat /tmp/my_clstatus.sh
#!/bin/bash
for aNode in $(cl_status listnodes -n); do
       echo "NODE: $aNode"
       for j in $(cl_status listhblinks $aNode); do
               echo "$j ($(cl_status hblinkstatus $aNode $j))"
       done
done
---

Robert

Dejan Muhamedagic schrieb:
There's cl_status hblinkstatus.

Thanks,

Dejan

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to