Rebuilding the events index
If you encounter inconsistent search results, you can rebuild the events index.
-
Log on to the Control Center master host as a user with
serviced
CLI privileges. -
Stop zeneventserver:
serviced service stop zeneventserver
-
Delete the index data:
export SERVICE_ID=$(serviced service status Zenoss.resmgr | sed -n '2p' | awk {'print $2'}) export SVCROOT=/opt/serviced/var/volumes/$SERVICE_ID rm -rf $SVCROOT/zeneventserver/index
-
Start zeneventserver:
serviced service start zeneventserver
Depending on the number of events in the database, it may take a significant amount of time for indexing to complete. Until every event is indexed, the number of events shown in the event console may be inconsistent.