Heartbeat Failures in Zenoss
From SysAdminWiki
Most general heartbeat failures can be removed from using the Clear Heartbeats.. option for each device. However this doesn't always work. I ran into an issue where I built my server and installed zenoss all in one shot (kickstarted and post script to install zenoss-stack). However the next day I realized that the hostname was set to s0 instead of m0 and changed it. That resulted in a pile of heartbeat failures in my event console. This is what seemed to fix it:
- 1. Log into mysql
zenoss$ mysql -uzenoss -pzenoss
- 2. Select the events database:
mysql> use events
- 3. Have a look at the heartbeat table:
mysql> select * from heartbeat;
here you may see the heartbeats that are giving you the issues.
- 4. Remove those heartbeats manually:
mysql> delete from heartbeat where device='localhost';
- 5. Check your event console and they should be gone.
