Change Event Properties

To change the properties of the Event Manager, update the em.properties file.
capm360
To change the properties of the Event Manager, update the
em.properties
file.
For example, you can modify the
Event.Retention
property to change how long the event manager stores events. By default, the Event Manager database retains events for 30 days.
You can also modify the
em.notification.script_notification_execution_time
 property to change the maximum time (in seconds) that a script can take to complete execution before it is killed. For more information about notification scripts, see Configure Notifications.
Follow these steps:
  1. Open the Event Manager properties file:
    /opt/CA/PerformanceCenter/EM/webapps/EventManager/WEB-INF/em.properties
  2. Edit the properties as desired:
    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.notification.script_notification_handler_max_pool_size=1
    em.notification.script_notification_handler_pool_size = 1
    em.notification.script_notification_handler_queue_size=5000
    em.notification.script_notification_execution_time=300
    em.web.port=8281
    db.password=netqos
  3. Save the changes.
  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.