Change Event Retention Period

To modify how long the event manager stores events, update the event manager properties file. By default, the Event Manager database retains events for 30 days. 
capm320
To modify how long the event manager stores events, update the event manager properties file. By default, the Event Manager database retains events for 30 days. 
Follow these steps:
  1. Open the Event Manager properties file:
    /opt/CA/PerformanceCenter/EM/webapps/EventManager/WEB-INF/em.properties
  2. Set the
    Event.Retention
    value to the number of days that you want events to be retained in the database.
    In the following example, the retention period is set to 45 days:
    db.driverClassName=com.mysql.jdbc.Driver
    db.timeout=120
    db.maxActive=40
    rib.queryTimeout=100
    em.ws.maxqueue=50
    Event.Retention=45
    db.url=jdbc\:mysql\://localhost\:3306/em?useUnicode\=true&characterEncoding\=UTF-8
    em.notification.trap.eventmanager_trap_use_new_format=false
    em.event.analysisThreshold=10000
    em.notification.notification_pool_size=10
    db.username=netqos
    nqevents.dbHost=
    em.ws.queuetimeout=180
    em.notification.notification_max_pool_size=20
    em.web.port=8281
    db.password=netqos
  3. Save the change.
  4. Stop the Event Manager service using the command line:
    service caperfcenter_eventmanager stop
  5. Restart the Event Manager service using the command line:
    service caperfcenter_eventmanager start
    The Event Manager starts and uses the new value to determine the retention period.