org.opennms.netmgt.eventd
Class EventdConstants

java.lang.Object
  extended by org.opennms.netmgt.eventd.EventdConstants

public final class EventdConstants
extends Object

This class is a repository for constant, static information concerning Eventd.

Author:
Sowmya Nataraj , OpenNMS.org

Field Summary
static String SQL_DB_ALARM_INS_EVENT
          The SQL insertion string used by eventd to store the event information as an alarm into the database.
static String SQL_DB_ALARM_REDUCTION_QUERY
          The SQL query to test for alarm reduction
static String SQL_DB_ALARM_UPDATE_EVENT
          The SQL insertion string used by eventd to update an event as an alarm in the database.
static String SQL_DB_HOSTIP_TO_HOSTNAME
          The SQL statement necessary to convert the event host into a hostname using the 'ipinterface' table.
static String SQL_DB_INS_EVENT
          The SQL insertion string used by eventd to store the event information into the database.
static String SQL_DB_SVC_TABLE_READ
          The SQL statement necessary to read service id and service name into map.
static String SQL_DB_SVCNAME_TO_SVCID
          The SQL statement necessary to convert the service name into a service id using the distributed poller database.
static String SQL_DB_UPDATE_EVENT_COUNT
          The SQL string used by eventd to update number of duplicate events in case of duplicate event suppression.
static String SQL_DB_UPDATE_EVENT_WITH_ALARM_ID
           
 
Constructor Summary
EventdConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SQL_DB_SVC_TABLE_READ

public static final String SQL_DB_SVC_TABLE_READ
The SQL statement necessary to read service id and service name into map.

See Also:
Constant Field Values

SQL_DB_INS_EVENT

public static final String SQL_DB_INS_EVENT
The SQL insertion string used by eventd to store the event information into the database.

See Also:
Constant Field Values

SQL_DB_ALARM_REDUCTION_QUERY

public static final String SQL_DB_ALARM_REDUCTION_QUERY
The SQL query to test for alarm reduction

See Also:
Constant Field Values

SQL_DB_UPDATE_EVENT_WITH_ALARM_ID

public static final String SQL_DB_UPDATE_EVENT_WITH_ALARM_ID
See Also:
Constant Field Values

SQL_DB_ALARM_UPDATE_EVENT

public static final String SQL_DB_ALARM_UPDATE_EVENT
The SQL insertion string used by eventd to update an event as an alarm in the database.

See Also:
Constant Field Values

SQL_DB_ALARM_INS_EVENT

public static final String SQL_DB_ALARM_INS_EVENT
The SQL insertion string used by eventd to store the event information as an alarm into the database.

See Also:
Constant Field Values

SQL_DB_UPDATE_EVENT_COUNT

public static final String SQL_DB_UPDATE_EVENT_COUNT
The SQL string used by eventd to update number of duplicate events in case of duplicate event suppression.

See Also:
Constant Field Values

SQL_DB_SVCNAME_TO_SVCID

public static final String SQL_DB_SVCNAME_TO_SVCID
The SQL statement necessary to convert the service name into a service id using the distributed poller database.

See Also:
Constant Field Values

SQL_DB_HOSTIP_TO_HOSTNAME

public static final String SQL_DB_HOSTIP_TO_HOSTNAME
The SQL statement necessary to convert the event host into a hostname using the 'ipinterface' table.

See Also:
Constant Field Values
Constructor Detail

EventdConstants

public EventdConstants()


Copyright © 2009. All Rights Reserved.