Class Eventd

  • All Implemented Interfaces:
    Fiber, PausableFiber, SpringServiceDaemon, ServiceDaemon, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

    public final class Eventd
    extends AbstractServiceDaemon

    Eventd listens for events from the discovery, capsd, trapd processes and sends events to the Master Station when queried for.

    Eventd receives events sent in as XML, looks up the event.conf and adds information to these events and stores them to the db. It also reconverts them back to XML to be sent to other processes like 'actiond'

    Process like trapd, capsd etc. that are local to the distributed poller send events to the eventd. Events can also be sent via TCP or UDP to eventd.

    Eventd listens for incoming events, loads info from the 'event.conf', adds events to the database and sends the events added to the database to subscribed listeners. It also maintains a servicename to serviceid mapping from the services table so as to prevent a database lookup for each incoming event

    The number of threads that processes events is configurable via the eventd configuration xml

    Author:
    Sowmya Nataraj , OpenNMS.org