Hey guys,
This is super basic cluster watch script, it essentially does same thing as watch -d cphaprob state and it would indicate failure if anything changes.
Lab:
[Expert@CP-FW-01:0]# ./cluster_watch.sh
[Sun Feb 8 12:08:31 EST 2026] Cluster state changed:
Cluster Mode: High Availability (Active Up) with IGMP Membership
ID Unique Address Assigned Load State Name
1 (local) 169.254.0.248 100% ACTIVE CP-FW-01
2 169.254.0.247 0% STANDBY CP-FW-02
Active PNOTEs: None
Last member state change event:
Event Code: CLUS-114904
State change: ACTIVE(!) -> ACTIVE
Reason for state change: Reason for ACTIVE! alert has been resolved
Event time: Fri Jan 23 16:39:38 2026
Cluster failover count:
Failover counter: 0
Time of counter reset: Fri Jan 23 16:38:01 2026 (reboot)
-----
Best,
Andy