org.opennms.netmgt
Class EventConstants

java.lang.Object
  extended by org.opennms.netmgt.EventConstants

public class EventConstants
extends Object

This class holds all OpenNMS events related constants - the UEI's, parm names, the event time format etc.

Author:
OpenNMS

Field Summary
static String ABSOLUTE_CHANGE_THRESHOLD_EVENT_UEI
          The relative change event UEI
static String ADD_INTERFACE_EVENT_UEI
          The add interface event UEI
static String ADD_NODE_EVENT_UEI
          The add node event UEI
static String ASSET_INFO_CHANGED_EVENT_UEI
          An event to signal that a user has changed asset information via the web UI
static String CHANGE_SERVICE_EVENT_UEI
          The change service event UEI
static String CONFIGURE_SNMP_EVENT_UEI
          The configure SNMP event.
static String CONTROL_ERROR_EVENT_UEI
          The control error reponse event
static String CONTROL_PAUSE_PENDING_EVENT_UEI
          The 'pause pending' response event
static String CONTROL_PAUSED_EVENT_UEI
          The 'paused' response event
static String CONTROL_RESUME_PENDING_EVENT_UEI
          The 'resume pending' response event
static String CONTROL_RUNNING_EVENT_UEI
          The 'running' response event
static String CONTROL_START_PENDING_EVENT_UEI
          The 'start pending' response event
static String CONTROL_STARTING_EVENT_UEI
          The 'starting' response event
static String CONTROL_STOP_PENDING_EVENT_UEI
          The 'stop pending' response event
static String CONTROL_STOPPED_EVENT_UEI
          The 'stopped' response event
static String DATA_COLLECTION_FAILED_EVENT_UEI
          Collection failed
static String DATA_COLLECTION_SUCCEEDED_EVENT_UEI
          Collection succeeded
static String DELETE_INTERFACE_EVENT_UEI
          The delete interface event UEI
static String DELETE_NODE_EVENT_UEI
          The delete node event UEI
static String DELETE_SERVICE_EVENT_UEI
          The delete service event UEI
static String DEMAND_POLL_SERVICE_EVENT_UEI
          Demand poll service event ui
static String DISC_PAUSE_EVENT_UEI
          The discovery pause event UEI
static String DISC_RESUME_EVENT_UEI
          The discovery resume event UEI
static String DISCOVERYCONFIG_CHANGED_EVENT_UEI
          The discovery configuration changed event UEI
static String DUP_NODE_DELETED_EVENT_UEI
          The node deleted event UEI
static String DUPLICATE_IPINTERFACE_EVENT_UEI
          A service scan has discovered a duplicate IP address.
static String EVENTSCONFIG_CHANGED_EVENT_UEI
          The event config was changed by the user via the web UI, or manually, and should be reloaded
static String FORCE_RESCAN_EVENT_UEI
          The force interface rescan event UEI
static String HIGH_THRESHOLD_EVENT_UEI
          The high threshold exceeded event UEI
static String HIGH_THRESHOLD_REARM_EVENT_UEI
          The high threshold rearm event UEI
static String IMPORT_FAILED_UEI
           
static String IMPORT_STARTED_UEI
           
static String IMPORT_SUCCESSFUL_UEI
           
static String INTERFACE_DELETED_EVENT_UEI
          The interface deleted event UEI
static String INTERFACE_DOWN_EVENT_UEI
          The interface down event UEI
static String INTERFACE_INDEX_CHANGED_EVENT_UEI
          The interface index changed event
static String INTERFACE_IP_HOSTNAME_CHANGED_EVENT_UEI
          The interface IP host name changed event
static String INTERFACE_REPARENTED_EVENT_UEI
          The interface reparented event
static String INTERFACE_SUPPORTS_SNMP_EVENT_UEI
          The interface supports SNMP event...generated during capability rescan when an already managed interface gains SNMP support for the first time
static String INTERFACE_UP_EVENT_UEI
          The interface up event UEI
static String JMS_MSG_PROP_CHAR_ENCODING
          The string property set on JMS messages to indicate the encoding to be used
static String JMS_MSG_PROP_CHAR_ENCODING_VALUE
          The value for the string property set on JMS messages to indicate the encoding to be used
static String JMS_MSG_PROP_SENDER
          The string property set on JMS messages to indicate the sender service
static String JMS_MSG_PROP_UEI_SELECTOR
          The string property set on JMS messages broadcast from eventd - to use UEI(s) as a filter
static String LOCATION_MONITOR_CONFIG_CHANGE_DETECTED_UEI
           
static String LOCATION_MONITOR_DISCONNECTED_UEI
           
static String LOCATION_MONITOR_PAUSED_UEI
           
static String LOCATION_MONITOR_RECONNECTED_UEI
           
static String LOCATION_MONITOR_REGISTERED_UEI
           
static String LOCATION_MONITOR_STARTED_UEI
           
static String LOCATION_MONITOR_STOPPED_UEI
           
static String LOW_THRESHOLD_EVENT_UEI
          The low threshold exceeded event UEI
static String LOW_THRESHOLD_REARM_EVENT_UEI
          The low threshold rearm event UEI
static String NEW_SUSPECT_INTERFACE_EVENT_UEI
          The new suspect event UEI
static String NODE_ADDED_EVENT_UEI
          The node added event UEI
static String NODE_CATEGORY_MEMBERSHIP_CHANGED_EVENT_UEI
          The node category membership changed UEI
static String NODE_DELETED_EVENT_UEI
          The node deleted event UEI
static String NODE_DOWN_EVENT_UEI
          The node down event UEI
static String NODE_GAINED_INTERFACE_EVENT_UEI
          The node gained interface event UEI
static String NODE_GAINED_SERVICE_EVENT_UEI
          The node gained service event UEI
static String NODE_INFO_CHANGED_EVENT_UEI
          The node info changed event
static String NODE_LABEL_CHANGED_EVENT_UEI
          The node label changed event
static String NODE_LABEL_SOURCE_CHANGED_EVENT_UEI
          The node label source changed event
static String NODE_LOST_SERVICE_EVENT_UEI
          The node lost service event UEI
static String NODE_REGAINED_SERVICE_EVENT_UEI
          The node regained service event UEI
static String NODE_UP_EVENT_UEI
          The node up event UEI
static String NOTIFICATION_WITHOUT_USERS
          Notification without users event
static String PARM_ACTION
          The action sent as a parm of an event
static String PARM_ALARM_ID
           
static String PARM_ALARM_UEI
           
static String PARM_CAT_LABEL
          The category for which information is to be sent, sent as a parm to the rtc subscribe event
static String PARM_COMMUNITY_STRING
          The SNMP community string when sent as an event parm.
static String PARM_CRITICAL_PATH_IP
          The criticalPathIp used in determining if a node down event is due to a path outage
static String PARM_CRITICAL_PATH_NOTICE_SUPRESSED
          This parameter is set to true if a critical path outage has resulted in the supression of a notification
static String PARM_CRITICAL_PATH_SVC
          The criticalPathServiceName used in determining if a node down event is due to a path outage
static String PARM_DEMAND_POLL_ID
          This parameter is set to indicate the id of the demandPoll object to store the results of a demandPoll in
static String PARM_DPNAME
          The DPName sent as a parm of an event
static String PARM_FAILURE_MESSAGE
           
static String PARM_FILES_TO_PROMOTE
          Parm use for promoteEnqueuedData event
static String PARM_FIRST_IP_ADDRESS
          The first IP address in a range of IP addresses when sent as an event parm.
static String PARM_IMPORT_RESOURCE
           
static String PARM_IMPORT_STATS
           
static String PARM_INTERFACE
          The interface sent as a parm of an event
static String PARM_IP_HOSTNAME
          The ipHostName from the ipinterface table when sent as an event parm
static String PARM_LAST_IP_ADDRESS
          The last IP address in a range of IP addresses when sent as an event parm.
static String PARM_LOCATION_MONITOR_ID
           
static String PARM_LOSTSERVICE_REASON
          Used for retaining the reason from a monitor determines SERVICE_UNAVAILABLE
static String PARM_METHOD
          Name of the method of discovery when sent as an event parm
static String PARM_NEW_IFINDEX
          The new ifIndex value sent as a parm of the 'interfaceIndexChanged' event
static String PARM_NEW_NODE_LABEL
          The newNodeLabel sent as a parm of an event
static String PARM_NEW_NODE_LABEL_SOURCE
          The newNodeLabelSource sent as a parm of an event
static String PARM_NEW_NODEID
          The new nodeid sent as a parm of the 'interfaceReparented' event
static String PARM_NEW_PRIMARY_SNMP_ADDRESS
          The new value of the primarySnmpInterface field of the ipInterface table when sent as an event parm.
static String PARM_NODE_DOMAIN_NAME
          The nodeDomainName field from the node table when sent as an event parm
static String PARM_NODE_LABEL
          The nodeLabel from the node table when sent as an event parm
static String PARM_NODE_LABEL_SOURCE
          The nodeLabelSource from the node table when sent as an event parm
static String PARM_NODE_NETBIOS_NAME
          The nodeNetbiosName field from the node table when sent as an event parm
static String PARM_NODE_OPERATING_SYSTEM
          The operatingSystem field from the node table when sent as an event parm
static String PARM_NODE_SYSCONTACT
          The nodeSysContact from the node table when sent as an event parm
static String PARM_NODE_SYSDESCRIPTION
          The nodeSysDescription from the node table when sent as an event parm
static String PARM_NODE_SYSLOCATION
          The nodeSysLocation from the node table when sent as an event parm
static String PARM_NODE_SYSNAME
          The nodeSysName from the node table when sent as an event parm
static String PARM_NODE_SYSOID
          The nodeSysOid from the node table when sent as an event parm
static String PARM_OLD_IFINDEX
          The old ifIndex value sent as a parm of the 'interfaceIndexChanged' event
static String PARM_OLD_IP_HOSTNAME
          The original ipHostName from the ipinterface table when sent as an event parm
static String PARM_OLD_NODE_LABEL
          The oldNodeLabel sent as a parm of an event
static String PARM_OLD_NODE_LABEL_SOURCE
          The oldNodeLabelSource sent as a parm of an event
static String PARM_OLD_NODEID
          The old nodeid sent as a parm of the 'interfaceReparented' event
static String PARM_OLD_PRIMARY_SNMP_ADDRESS
          The old value of the primarySnmpInterface field of the ipInterface table when sent as an event parm.
static String PARM_PASSIVE_IPADDR
           
static String PARM_PASSIVE_NODE_LABEL
          Parms used for passive status events sent to the PassiveServiceKeeper
static String PARM_PASSIVE_REASON_CODE
           
static String PARM_PASSIVE_SERVICE_NAME
           
static String PARM_PASSIVE_SERVICE_STATUS
           
static String PARM_PASSWD
          The passwd when sent as a parameter(like for the rtc subscribe)
static String PARM_PORT
           
static String PARM_QUALIFIER
          Service monitor qualifier when sent as an event parm
static String PARM_RETRY_COUNT
           
static String PARM_SERVICE_STATUS
          The status of a service as returned from a service monitor
static String PARM_SOURCE_EVENT_MESSAGE
          The message to explain a source event.
static String PARM_SOURCE_EVENT_STATUS
          The status to indicate which kind of external xmlrpc command to invoke.
static String PARM_SOURCE_EVENT_UEI
          The uei of a source event to report to external xmlrpc server.
static String PARM_TIMEOUT
           
static String PARM_TRANSACTION_NO
          The external transaction number of an event to process.
static String PARM_TROUBLE_TICKET
           
static String PARM_URL
          The URL to which information is to be sent, sent as a parm to the rtc subscribe and unsubscribe events
static String PARM_USER
          The username when sent as a parameter(like for the rtc subscribe)
static String PARM_VALUE_PATHOUTAGE
          Used for setting the value for PARM_LOSTSERVICE_REASON when the lost service is due to a critical path outage
static String PARM_VERSION
          Parms used for configureSnmp events
static String PATH_OUTAGE_EVENT_UEI
          The path outage event UEI
static String PAUSE_CONTROL_EVENT_UEI
          The pause event
static String POSTGRES_DATE_FORMAT
          The date format string to parse a Date.toString() type string to a database timestamp using the postgres to_timestamp() built-in function.
static String PRIMARY_SNMP_INTERFACE_CHANGED_EVENT_UEI
          The primary SNMP interface changed event.
static String PROMOTE_QUEUE_DATA_UEI
          An event used by queued to indicate that data for certain rrds should be immediately flushed to the disk
static String REARMING_ABSOLUTE_CHANGE_EXCEEDED_EVENT_UEI
          ThresholdEvaluatorRearmingAbsoluteChange exceeded UEI
static String REARMING_ABSOLUTE_CHANGE_REARM_EVENT_UEI
          ThresholdEvaluatorRearmingAbsoluteChange exceeded UEI
static String REINITIALIZE_PRIMARY_SNMP_INTERFACE_EVENT_UEI
          The reinitialize primary SNMP interface event.
static String RELATIVE_CHANGE_THRESHOLD_EVENT_UEI
          The relative change event UEI
static String RELOAD_IMPORT_UEI
           
static String REMOTE_NODE_LOST_SERVICE_UEI
           
static String REMOTE_NODE_REGAINED_SERVICE_UEI
           
static String RESCAN_COMPLETED_EVENT_UEI
          The rescan completed UEI
static String RESTART_POLLING_INTERFACE_EVENT_UEI
          The restart polling node event UEI
static String RESUME_CONTROL_EVENT_UEI
          The resume event
static String RESUME_POLLING_SERVICE_EVENT_UEI
          The resume polling service event UEI
static String RTC_SUBSCRIBE_EVENT_UEI
          The RTC subscribe event
static String RTC_UNSUBSCRIBE_EVENT_UEI
          The RTC unsubscribe event
static String SCHEDOUTAGES_CHANGED_EVENT_UEI
          The scheduled-outages configuration was changed by the user via the web UI (or manually, for that matter)
static String SERVICE_DELETED_EVENT_UEI
          The service deleted event UEI
static String SERVICE_RESPONSIVE_EVENT_UEI
          The service responsive event UEI
static String SERVICE_STATUS_UNKNOWN
          A service poll returned an unknown status (due to a problem getting poll information)
static String SERVICE_UNMANAGED_EVENT_UEI
          The service unmanaged event UEI
static String SERVICE_UNRESPONSIVE_EVENT_UEI
          The service unresponsive event UEI
static int SEV_CLEARED
          Enumerated values for severity being unimplemented at this time
static int SEV_CRITICAL
          Enumerated values for severity is critical
static int SEV_INDETERMINATE
          Enumerated values for severity being indeterminate
static int SEV_MAJOR
          Enumerated values for severity is major
static int SEV_MINOR
          Enumerated values for severity is minor
static int SEV_NORMAL
          Enumerated values for severity indicates a warning
static int SEV_WARNING
          Enumerated values for severity indicates a warning
static String SNMP_CONFLICTS_WITH_DB_EVENT_UEI
          The snmp conflicts with db UEI
static String SPECIFIC_VULN_SCAN_EVENT_UEI
          A vulnerability scan on a specific interface was initiated by the user via the web UI
static String START_CONTROL_EVENT_UEI
          The start event
static String STATUS_QUERY_CONTROL_EVENT_UEI
          The status query control event
static String STOP_CONTROL_EVENT_UEI
          The stop event
static String SUSPECT_SCAN_COMPLETED_EVENT_UEI
          The suspect scan completed UEI
static String SUSPEND_POLLING_SERVICE_EVENT_UEI
          The suspend polling service event UEI
static String THRESHOLDCONFIG_CHANGED_EVENT_UEI
          The threshold config was changed by the user via the web UI, or manually
static String THRESHOLDING_FAILED_EVENT_UEI
          Thresholding failed
static String THRESHOLDING_SUCCEEDED_EVENT_UEI
          Thresholding succeeded
static String TL1_AUTONOMOUS_MESSAGE_UEI
           
static String TROUBLETICKET_CANCEL_UEI
           
static String TROUBLETICKET_CLOSE_UEI
           
static String TROUBLETICKET_CREATE_UEI
           
static String TROUBLETICKET_UPDATE_UEI
           
static String UPDATE_SERVER_EVENT_UEI
          The update server event UEI
static String UPDATE_SERVICE_EVENT_UEI
          The update service event UEI
static String XMLRPC_NOTIFICATION_EVENT_UEI
          The change service event UEI
static int XMLRPC_NOTIFY_FAILURE
           
static int XMLRPC_NOTIFY_RECEIVED
          Status code used to indicate which external xmlrpc command to invoke to report the occurrence of selected events.
static int XMLRPC_NOTIFY_SUCCESS
           
 
Constructor Summary
EventConstants()
           
 
Method Summary
static String formatToString(Date date)
          An utility method to format a 'Date' into a string in the local specific FULL DateFormat style for both the date and time.
static String formatToUIString(Date date)
          Deprecated. This is no longer used by the UI. All WebUI-specific code should under the org.opennms.web packages.
static int getSeverity(String sev)
          Converts the severity to an integer
static String getSeverityString(int sev)
          Returns a severity constant as a printable string.
static Date parseToDate(String timeString)
          An utility method to parse a string into a 'Date' instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POSTGRES_DATE_FORMAT

public static final String POSTGRES_DATE_FORMAT
The date format string to parse a Date.toString() type string to a database timestamp using the postgres to_timestamp() built-in function.

See Also:
Constant Field Values

JMS_MSG_PROP_CHAR_ENCODING

public static final String JMS_MSG_PROP_CHAR_ENCODING
The string property set on JMS messages to indicate the encoding to be used

See Also:
Constant Field Values

JMS_MSG_PROP_CHAR_ENCODING_VALUE

public static final String JMS_MSG_PROP_CHAR_ENCODING_VALUE
The value for the string property set on JMS messages to indicate the encoding to be used

See Also:
Constant Field Values

JMS_MSG_PROP_SENDER

public static final String JMS_MSG_PROP_SENDER
The string property set on JMS messages to indicate the sender service

See Also:
Constant Field Values

JMS_MSG_PROP_UEI_SELECTOR

public static final String JMS_MSG_PROP_UEI_SELECTOR
The string property set on JMS messages broadcast from eventd - to use UEI(s) as a filter

See Also:
Constant Field Values

STATUS_QUERY_CONTROL_EVENT_UEI

public static final String STATUS_QUERY_CONTROL_EVENT_UEI
The status query control event

See Also:
Constant Field Values

START_CONTROL_EVENT_UEI

public static final String START_CONTROL_EVENT_UEI
The start event

See Also:
Constant Field Values

PAUSE_CONTROL_EVENT_UEI

public static final String PAUSE_CONTROL_EVENT_UEI
The pause event

See Also:
Constant Field Values

RESUME_CONTROL_EVENT_UEI

public static final String RESUME_CONTROL_EVENT_UEI
The resume event

See Also:
Constant Field Values

STOP_CONTROL_EVENT_UEI

public static final String STOP_CONTROL_EVENT_UEI
The stop event

See Also:
Constant Field Values

CONTROL_START_PENDING_EVENT_UEI

public static final String CONTROL_START_PENDING_EVENT_UEI
The 'start pending' response event

See Also:
Constant Field Values

CONTROL_STARTING_EVENT_UEI

public static final String CONTROL_STARTING_EVENT_UEI
The 'starting' response event

See Also:
Constant Field Values

CONTROL_PAUSE_PENDING_EVENT_UEI

public static final String CONTROL_PAUSE_PENDING_EVENT_UEI
The 'pause pending' response event

See Also:
Constant Field Values

CONTROL_PAUSED_EVENT_UEI

public static final String CONTROL_PAUSED_EVENT_UEI
The 'paused' response event

See Also:
Constant Field Values

CONTROL_RESUME_PENDING_EVENT_UEI

public static final String CONTROL_RESUME_PENDING_EVENT_UEI
The 'resume pending' response event

See Also:
Constant Field Values

CONTROL_RUNNING_EVENT_UEI

public static final String CONTROL_RUNNING_EVENT_UEI
The 'running' response event

See Also:
Constant Field Values

CONTROL_STOP_PENDING_EVENT_UEI

public static final String CONTROL_STOP_PENDING_EVENT_UEI
The 'stop pending' response event

See Also:
Constant Field Values

CONTROL_STOPPED_EVENT_UEI

public static final String CONTROL_STOPPED_EVENT_UEI
The 'stopped' response event

See Also:
Constant Field Values

CONTROL_ERROR_EVENT_UEI

public static final String CONTROL_ERROR_EVENT_UEI
The control error reponse event

See Also:
Constant Field Values

NEW_SUSPECT_INTERFACE_EVENT_UEI

public static final String NEW_SUSPECT_INTERFACE_EVENT_UEI
The new suspect event UEI

See Also:
Constant Field Values

DISC_PAUSE_EVENT_UEI

public static final String DISC_PAUSE_EVENT_UEI
The discovery pause event UEI

See Also:
Constant Field Values

DISC_RESUME_EVENT_UEI

public static final String DISC_RESUME_EVENT_UEI
The discovery resume event UEI

See Also:
Constant Field Values

DISCOVERYCONFIG_CHANGED_EVENT_UEI

public static final String DISCOVERYCONFIG_CHANGED_EVENT_UEI
The discovery configuration changed event UEI

See Also:
Constant Field Values

UPDATE_SERVER_EVENT_UEI

public static final String UPDATE_SERVER_EVENT_UEI
The update server event UEI

See Also:
Constant Field Values

UPDATE_SERVICE_EVENT_UEI

public static final String UPDATE_SERVICE_EVENT_UEI
The update service event UEI

See Also:
Constant Field Values

ADD_NODE_EVENT_UEI

public static final String ADD_NODE_EVENT_UEI
The add node event UEI

See Also:
Constant Field Values

DELETE_NODE_EVENT_UEI

public static final String DELETE_NODE_EVENT_UEI
The delete node event UEI

See Also:
Constant Field Values

ADD_INTERFACE_EVENT_UEI

public static final String ADD_INTERFACE_EVENT_UEI
The add interface event UEI

See Also:
Constant Field Values

DELETE_INTERFACE_EVENT_UEI

public static final String DELETE_INTERFACE_EVENT_UEI
The delete interface event UEI

See Also:
Constant Field Values

CHANGE_SERVICE_EVENT_UEI

public static final String CHANGE_SERVICE_EVENT_UEI
The change service event UEI

See Also:
Constant Field Values

RESTART_POLLING_INTERFACE_EVENT_UEI

public static final String RESTART_POLLING_INTERFACE_EVENT_UEI
The restart polling node event UEI

See Also:
Constant Field Values

XMLRPC_NOTIFICATION_EVENT_UEI

public static final String XMLRPC_NOTIFICATION_EVENT_UEI
The change service event UEI

See Also:
Constant Field Values

NODE_ADDED_EVENT_UEI

public static final String NODE_ADDED_EVENT_UEI
The node added event UEI

See Also:
Constant Field Values

NODE_CATEGORY_MEMBERSHIP_CHANGED_EVENT_UEI

public static final String NODE_CATEGORY_MEMBERSHIP_CHANGED_EVENT_UEI
The node category membership changed UEI

See Also:
Constant Field Values

NODE_GAINED_INTERFACE_EVENT_UEI

public static final String NODE_GAINED_INTERFACE_EVENT_UEI
The node gained interface event UEI

See Also:
Constant Field Values

NODE_GAINED_SERVICE_EVENT_UEI

public static final String NODE_GAINED_SERVICE_EVENT_UEI
The node gained service event UEI

See Also:
Constant Field Values

NODE_LOST_SERVICE_EVENT_UEI

public static final String NODE_LOST_SERVICE_EVENT_UEI
The node lost service event UEI

See Also:
Constant Field Values

SERVICE_RESPONSIVE_EVENT_UEI

public static final String SERVICE_RESPONSIVE_EVENT_UEI
The service responsive event UEI

See Also:
Constant Field Values

SERVICE_UNRESPONSIVE_EVENT_UEI

public static final String SERVICE_UNRESPONSIVE_EVENT_UEI
The service unresponsive event UEI

See Also:
Constant Field Values

SERVICE_UNMANAGED_EVENT_UEI

public static final String SERVICE_UNMANAGED_EVENT_UEI
The service unmanaged event UEI

See Also:
Constant Field Values

INTERFACE_DOWN_EVENT_UEI

public static final String INTERFACE_DOWN_EVENT_UEI
The interface down event UEI

See Also:
Constant Field Values

NODE_DOWN_EVENT_UEI

public static final String NODE_DOWN_EVENT_UEI
The node down event UEI

See Also:
Constant Field Values

PATH_OUTAGE_EVENT_UEI

public static final String PATH_OUTAGE_EVENT_UEI
The path outage event UEI

See Also:
Constant Field Values

NODE_UP_EVENT_UEI

public static final String NODE_UP_EVENT_UEI
The node up event UEI

See Also:
Constant Field Values

INTERFACE_UP_EVENT_UEI

public static final String INTERFACE_UP_EVENT_UEI
The interface up event UEI

See Also:
Constant Field Values

NODE_REGAINED_SERVICE_EVENT_UEI

public static final String NODE_REGAINED_SERVICE_EVENT_UEI
The node regained service event UEI

See Also:
Constant Field Values

DELETE_SERVICE_EVENT_UEI

public static final String DELETE_SERVICE_EVENT_UEI
The delete service event UEI

See Also:
Constant Field Values

SERVICE_DELETED_EVENT_UEI

public static final String SERVICE_DELETED_EVENT_UEI
The service deleted event UEI

See Also:
Constant Field Values

INTERFACE_DELETED_EVENT_UEI

public static final String INTERFACE_DELETED_EVENT_UEI
The interface deleted event UEI

See Also:
Constant Field Values

NODE_DELETED_EVENT_UEI

public static final String NODE_DELETED_EVENT_UEI
The node deleted event UEI

See Also:
Constant Field Values

LOW_THRESHOLD_EVENT_UEI

public static final String LOW_THRESHOLD_EVENT_UEI
The low threshold exceeded event UEI

See Also:
Constant Field Values

HIGH_THRESHOLD_EVENT_UEI

public static final String HIGH_THRESHOLD_EVENT_UEI
The high threshold exceeded event UEI

See Also:
Constant Field Values

HIGH_THRESHOLD_REARM_EVENT_UEI

public static final String HIGH_THRESHOLD_REARM_EVENT_UEI
The high threshold rearm event UEI

See Also:
Constant Field Values

LOW_THRESHOLD_REARM_EVENT_UEI

public static final String LOW_THRESHOLD_REARM_EVENT_UEI
The low threshold rearm event UEI

See Also:
Constant Field Values

RELATIVE_CHANGE_THRESHOLD_EVENT_UEI

public static final String RELATIVE_CHANGE_THRESHOLD_EVENT_UEI
The relative change event UEI

See Also:
Constant Field Values

ABSOLUTE_CHANGE_THRESHOLD_EVENT_UEI

public static final String ABSOLUTE_CHANGE_THRESHOLD_EVENT_UEI
The relative change event UEI

See Also:
Constant Field Values

REARMING_ABSOLUTE_CHANGE_EXCEEDED_EVENT_UEI

public static final String REARMING_ABSOLUTE_CHANGE_EXCEEDED_EVENT_UEI
ThresholdEvaluatorRearmingAbsoluteChange exceeded UEI

See Also:
Constant Field Values

REARMING_ABSOLUTE_CHANGE_REARM_EVENT_UEI

public static final String REARMING_ABSOLUTE_CHANGE_REARM_EVENT_UEI
ThresholdEvaluatorRearmingAbsoluteChange exceeded UEI

See Also:
Constant Field Values

INTERFACE_INDEX_CHANGED_EVENT_UEI

public static final String INTERFACE_INDEX_CHANGED_EVENT_UEI
The interface index changed event

See Also:
Constant Field Values

INTERFACE_SUPPORTS_SNMP_EVENT_UEI

public static final String INTERFACE_SUPPORTS_SNMP_EVENT_UEI
The interface supports SNMP event...generated during capability rescan when an already managed interface gains SNMP support for the first time

See Also:
Constant Field Values

DUPLICATE_IPINTERFACE_EVENT_UEI

public static final String DUPLICATE_IPINTERFACE_EVENT_UEI
A service scan has discovered a duplicate IP address.

See Also:
Constant Field Values

INTERFACE_REPARENTED_EVENT_UEI

public static final String INTERFACE_REPARENTED_EVENT_UEI
The interface reparented event

See Also:
Constant Field Values

NODE_INFO_CHANGED_EVENT_UEI

public static final String NODE_INFO_CHANGED_EVENT_UEI
The node info changed event

See Also:
Constant Field Values

INTERFACE_IP_HOSTNAME_CHANGED_EVENT_UEI

public static final String INTERFACE_IP_HOSTNAME_CHANGED_EVENT_UEI
The interface IP host name changed event

See Also:
Constant Field Values

NODE_LABEL_CHANGED_EVENT_UEI

public static final String NODE_LABEL_CHANGED_EVENT_UEI
The node label changed event

See Also:
Constant Field Values

NODE_LABEL_SOURCE_CHANGED_EVENT_UEI

public static final String NODE_LABEL_SOURCE_CHANGED_EVENT_UEI
The node label source changed event

See Also:
Constant Field Values

DUP_NODE_DELETED_EVENT_UEI

public static final String DUP_NODE_DELETED_EVENT_UEI
The node deleted event UEI

See Also:
Constant Field Values

PRIMARY_SNMP_INTERFACE_CHANGED_EVENT_UEI

public static final String PRIMARY_SNMP_INTERFACE_CHANGED_EVENT_UEI
The primary SNMP interface changed event.

See Also:
Constant Field Values

REINITIALIZE_PRIMARY_SNMP_INTERFACE_EVENT_UEI

public static final String REINITIALIZE_PRIMARY_SNMP_INTERFACE_EVENT_UEI
The reinitialize primary SNMP interface event.

See Also:
Constant Field Values

CONFIGURE_SNMP_EVENT_UEI

public static final String CONFIGURE_SNMP_EVENT_UEI
The configure SNMP event.

See Also:
Constant Field Values

DATA_COLLECTION_FAILED_EVENT_UEI

public static final String DATA_COLLECTION_FAILED_EVENT_UEI
Collection failed

See Also:
Constant Field Values

DATA_COLLECTION_SUCCEEDED_EVENT_UEI

public static final String DATA_COLLECTION_SUCCEEDED_EVENT_UEI
Collection succeeded

See Also:
Constant Field Values

THRESHOLDING_FAILED_EVENT_UEI

public static final String THRESHOLDING_FAILED_EVENT_UEI
Thresholding failed

See Also:
Constant Field Values

THRESHOLDING_SUCCEEDED_EVENT_UEI

public static final String THRESHOLDING_SUCCEEDED_EVENT_UEI
Thresholding succeeded

See Also:
Constant Field Values

FORCE_RESCAN_EVENT_UEI

public static final String FORCE_RESCAN_EVENT_UEI
The force interface rescan event UEI

See Also:
Constant Field Values

SUSPEND_POLLING_SERVICE_EVENT_UEI

public static final String SUSPEND_POLLING_SERVICE_EVENT_UEI
The suspend polling service event UEI

See Also:
Constant Field Values

RESUME_POLLING_SERVICE_EVENT_UEI

public static final String RESUME_POLLING_SERVICE_EVENT_UEI
The resume polling service event UEI

See Also:
Constant Field Values

SNMP_CONFLICTS_WITH_DB_EVENT_UEI

public static final String SNMP_CONFLICTS_WITH_DB_EVENT_UEI
The snmp conflicts with db UEI

See Also:
Constant Field Values

RESCAN_COMPLETED_EVENT_UEI

public static final String RESCAN_COMPLETED_EVENT_UEI
The rescan completed UEI

See Also:
Constant Field Values

SUSPECT_SCAN_COMPLETED_EVENT_UEI

public static final String SUSPECT_SCAN_COMPLETED_EVENT_UEI
The suspect scan completed UEI

See Also:
Constant Field Values

RTC_SUBSCRIBE_EVENT_UEI

public static final String RTC_SUBSCRIBE_EVENT_UEI
The RTC subscribe event

See Also:
Constant Field Values

RTC_UNSUBSCRIBE_EVENT_UEI

public static final String RTC_UNSUBSCRIBE_EVENT_UEI
The RTC unsubscribe event

See Also:
Constant Field Values

PROMOTE_QUEUE_DATA_UEI

public static final String PROMOTE_QUEUE_DATA_UEI
An event used by queued to indicate that data for certain rrds should be immediately flushed to the disk

See Also:
Constant Field Values

SERVICE_STATUS_UNKNOWN

public static final String SERVICE_STATUS_UNKNOWN
A service poll returned an unknown status (due to a problem getting poll information)

See Also:
Constant Field Values

NOTIFICATION_WITHOUT_USERS

public static final String NOTIFICATION_WITHOUT_USERS
Notification without users event

See Also:
Constant Field Values

SPECIFIC_VULN_SCAN_EVENT_UEI

public static final String SPECIFIC_VULN_SCAN_EVENT_UEI
A vulnerability scan on a specific interface was initiated by the user via the web UI

See Also:
Constant Field Values

DEMAND_POLL_SERVICE_EVENT_UEI

public static final String DEMAND_POLL_SERVICE_EVENT_UEI
Demand poll service event ui

See Also:
Constant Field Values

ASSET_INFO_CHANGED_EVENT_UEI

public static final String ASSET_INFO_CHANGED_EVENT_UEI
An event to signal that a user has changed asset information via the web UI

See Also:
Constant Field Values

SCHEDOUTAGES_CHANGED_EVENT_UEI

public static final String SCHEDOUTAGES_CHANGED_EVENT_UEI
The scheduled-outages configuration was changed by the user via the web UI (or manually, for that matter)

See Also:
Constant Field Values

THRESHOLDCONFIG_CHANGED_EVENT_UEI

public static final String THRESHOLDCONFIG_CHANGED_EVENT_UEI
The threshold config was changed by the user via the web UI, or manually

See Also:
Constant Field Values

EVENTSCONFIG_CHANGED_EVENT_UEI

public static final String EVENTSCONFIG_CHANGED_EVENT_UEI
The event config was changed by the user via the web UI, or manually, and should be reloaded

See Also:
Constant Field Values

REMOTE_NODE_LOST_SERVICE_UEI

public static final String REMOTE_NODE_LOST_SERVICE_UEI
See Also:
Constant Field Values

REMOTE_NODE_REGAINED_SERVICE_UEI

public static final String REMOTE_NODE_REGAINED_SERVICE_UEI
See Also:
Constant Field Values

LOCATION_MONITOR_REGISTERED_UEI

public static final String LOCATION_MONITOR_REGISTERED_UEI
See Also:
Constant Field Values

LOCATION_MONITOR_STARTED_UEI

public static final String LOCATION_MONITOR_STARTED_UEI
See Also:
Constant Field Values

LOCATION_MONITOR_STOPPED_UEI

public static final String LOCATION_MONITOR_STOPPED_UEI
See Also:
Constant Field Values

LOCATION_MONITOR_PAUSED_UEI

public static final String LOCATION_MONITOR_PAUSED_UEI
See Also:
Constant Field Values

LOCATION_MONITOR_DISCONNECTED_UEI

public static final String LOCATION_MONITOR_DISCONNECTED_UEI
See Also:
Constant Field Values

LOCATION_MONITOR_RECONNECTED_UEI

public static final String LOCATION_MONITOR_RECONNECTED_UEI
See Also:
Constant Field Values

LOCATION_MONITOR_CONFIG_CHANGE_DETECTED_UEI

public static final String LOCATION_MONITOR_CONFIG_CHANGE_DETECTED_UEI
See Also:
Constant Field Values

RELOAD_IMPORT_UEI

public static final String RELOAD_IMPORT_UEI
See Also:
Constant Field Values

IMPORT_STARTED_UEI

public static final String IMPORT_STARTED_UEI
See Also:
Constant Field Values

IMPORT_SUCCESSFUL_UEI

public static final String IMPORT_SUCCESSFUL_UEI
See Also:
Constant Field Values

IMPORT_FAILED_UEI

public static final String IMPORT_FAILED_UEI
See Also:
Constant Field Values

PARM_FAILURE_MESSAGE

public static final String PARM_FAILURE_MESSAGE
See Also:
Constant Field Values

PARM_IMPORT_STATS

public static final String PARM_IMPORT_STATS
See Also:
Constant Field Values

PARM_IMPORT_RESOURCE

public static final String PARM_IMPORT_RESOURCE
See Also:
Constant Field Values

PARM_ALARM_ID

public static final String PARM_ALARM_ID
See Also:
Constant Field Values

PARM_ALARM_UEI

public static final String PARM_ALARM_UEI
See Also:
Constant Field Values

PARM_TROUBLE_TICKET

public static final String PARM_TROUBLE_TICKET
See Also:
Constant Field Values

TROUBLETICKET_CREATE_UEI

public static final String TROUBLETICKET_CREATE_UEI
See Also:
Constant Field Values

TROUBLETICKET_UPDATE_UEI

public static final String TROUBLETICKET_UPDATE_UEI
See Also:
Constant Field Values

TROUBLETICKET_CLOSE_UEI

public static final String TROUBLETICKET_CLOSE_UEI
See Also:
Constant Field Values

TROUBLETICKET_CANCEL_UEI

public static final String TROUBLETICKET_CANCEL_UEI
See Also:
Constant Field Values

TL1_AUTONOMOUS_MESSAGE_UEI

public static final String TL1_AUTONOMOUS_MESSAGE_UEI
See Also:
Constant Field Values

PARM_CRITICAL_PATH_IP

public static final String PARM_CRITICAL_PATH_IP
The criticalPathIp used in determining if a node down event is due to a path outage

See Also:
Constant Field Values

PARM_CRITICAL_PATH_SVC

public static final String PARM_CRITICAL_PATH_SVC
The criticalPathServiceName used in determining if a node down event is due to a path outage

See Also:
Constant Field Values

PARM_CRITICAL_PATH_NOTICE_SUPRESSED

public static final String PARM_CRITICAL_PATH_NOTICE_SUPRESSED
This parameter is set to true if a critical path outage has resulted in the supression of a notification

See Also:
Constant Field Values

PARM_DEMAND_POLL_ID

public static final String PARM_DEMAND_POLL_ID
This parameter is set to indicate the id of the demandPoll object to store the results of a demandPoll in

See Also:
Constant Field Values

PARM_NODE_SYSNAME

public static final String PARM_NODE_SYSNAME
The nodeSysName from the node table when sent as an event parm

See Also:
Constant Field Values

PARM_NODE_SYSDESCRIPTION

public static final String PARM_NODE_SYSDESCRIPTION
The nodeSysDescription from the node table when sent as an event parm

See Also:
Constant Field Values

PARM_NODE_SYSOID

public static final String PARM_NODE_SYSOID
The nodeSysOid from the node table when sent as an event parm

See Also:
Constant Field Values

PARM_NODE_SYSLOCATION

public static final String PARM_NODE_SYSLOCATION
The nodeSysLocation from the node table when sent as an event parm

See Also:
Constant Field Values

PARM_NODE_SYSCONTACT

public static final String PARM_NODE_SYSCONTACT
The nodeSysContact from the node table when sent as an event parm

See Also:
Constant Field Values

PARM_IP_HOSTNAME

public static final String PARM_IP_HOSTNAME
The ipHostName from the ipinterface table when sent as an event parm

See Also:
Constant Field Values

PARM_OLD_IP_HOSTNAME

public static final String PARM_OLD_IP_HOSTNAME
The original ipHostName from the ipinterface table when sent as an event parm

See Also:
Constant Field Values

PARM_METHOD

public static final String PARM_METHOD
Name of the method of discovery when sent as an event parm

See Also:
Constant Field Values

PARM_INTERFACE

public static final String PARM_INTERFACE
The interface sent as a parm of an event

See Also:
Constant Field Values

PARM_ACTION

public static final String PARM_ACTION
The action sent as a parm of an event

See Also:
Constant Field Values

PARM_DPNAME

public static final String PARM_DPNAME
The DPName sent as a parm of an event

See Also:
Constant Field Values

PARM_OLD_NODEID

public static final String PARM_OLD_NODEID
The old nodeid sent as a parm of the 'interfaceReparented' event

See Also:
Constant Field Values

PARM_NEW_NODEID

public static final String PARM_NEW_NODEID
The new nodeid sent as a parm of the 'interfaceReparented' event

See Also:
Constant Field Values

PARM_OLD_IFINDEX

public static final String PARM_OLD_IFINDEX
The old ifIndex value sent as a parm of the 'interfaceIndexChanged' event

See Also:
Constant Field Values

PARM_NEW_IFINDEX

public static final String PARM_NEW_IFINDEX
The new ifIndex value sent as a parm of the 'interfaceIndexChanged' event

See Also:
Constant Field Values

PARM_NODE_LABEL

public static final String PARM_NODE_LABEL
The nodeLabel from the node table when sent as an event parm

See Also:
Constant Field Values

PARM_NODE_LABEL_SOURCE

public static final String PARM_NODE_LABEL_SOURCE
The nodeLabelSource from the node table when sent as an event parm

See Also:
Constant Field Values

PARM_OLD_NODE_LABEL

public static final String PARM_OLD_NODE_LABEL
The oldNodeLabel sent as a parm of an event

See Also:
Constant Field Values

PARM_OLD_NODE_LABEL_SOURCE

public static final String PARM_OLD_NODE_LABEL_SOURCE
The oldNodeLabelSource sent as a parm of an event

See Also:
Constant Field Values

PARM_NEW_NODE_LABEL

public static final String PARM_NEW_NODE_LABEL
The newNodeLabel sent as a parm of an event

See Also:
Constant Field Values

PARM_NEW_NODE_LABEL_SOURCE

public static final String PARM_NEW_NODE_LABEL_SOURCE
The newNodeLabelSource sent as a parm of an event

See Also:
Constant Field Values

PARM_NODE_NETBIOS_NAME

public static final String PARM_NODE_NETBIOS_NAME
The nodeNetbiosName field from the node table when sent as an event parm

See Also:
Constant Field Values

PARM_NODE_DOMAIN_NAME

public static final String PARM_NODE_DOMAIN_NAME
The nodeDomainName field from the node table when sent as an event parm

See Also:
Constant Field Values

PARM_NODE_OPERATING_SYSTEM

public static final String PARM_NODE_OPERATING_SYSTEM
The operatingSystem field from the node table when sent as an event parm

See Also:
Constant Field Values

PARM_OLD_PRIMARY_SNMP_ADDRESS

public static final String PARM_OLD_PRIMARY_SNMP_ADDRESS
The old value of the primarySnmpInterface field of the ipInterface table when sent as an event parm.

See Also:
Constant Field Values

PARM_NEW_PRIMARY_SNMP_ADDRESS

public static final String PARM_NEW_PRIMARY_SNMP_ADDRESS
The new value of the primarySnmpInterface field of the ipInterface table when sent as an event parm.

See Also:
Constant Field Values

PARM_FIRST_IP_ADDRESS

public static final String PARM_FIRST_IP_ADDRESS
The first IP address in a range of IP addresses when sent as an event parm.

See Also:
Constant Field Values

PARM_LAST_IP_ADDRESS

public static final String PARM_LAST_IP_ADDRESS
The last IP address in a range of IP addresses when sent as an event parm.

See Also:
Constant Field Values

PARM_COMMUNITY_STRING

public static final String PARM_COMMUNITY_STRING
The SNMP community string when sent as an event parm.

See Also:
Constant Field Values

PARM_QUALIFIER

public static final String PARM_QUALIFIER
Service monitor qualifier when sent as an event parm

See Also:
Constant Field Values

PARM_URL

public static final String PARM_URL
The URL to which information is to be sent, sent as a parm to the rtc subscribe and unsubscribe events

See Also:
Constant Field Values

PARM_CAT_LABEL

public static final String PARM_CAT_LABEL
The category for which information is to be sent, sent as a parm to the rtc subscribe event

See Also:
Constant Field Values

PARM_USER

public static final String PARM_USER
The username when sent as a parameter(like for the rtc subscribe)

See Also:
Constant Field Values

PARM_PASSWD

public static final String PARM_PASSWD
The passwd when sent as a parameter(like for the rtc subscribe)

See Also:
Constant Field Values

PARM_SERVICE_STATUS

public static final String PARM_SERVICE_STATUS
The status of a service as returned from a service monitor

See Also:
Constant Field Values

PARM_TRANSACTION_NO

public static final String PARM_TRANSACTION_NO
The external transaction number of an event to process.

See Also:
Constant Field Values

PARM_SOURCE_EVENT_UEI

public static final String PARM_SOURCE_EVENT_UEI
The uei of a source event to report to external xmlrpc server.

See Also:
Constant Field Values

PARM_SOURCE_EVENT_MESSAGE

public static final String PARM_SOURCE_EVENT_MESSAGE
The message to explain a source event.

See Also:
Constant Field Values

PARM_SOURCE_EVENT_STATUS

public static final String PARM_SOURCE_EVENT_STATUS
The status to indicate which kind of external xmlrpc command to invoke.

See Also:
Constant Field Values

PARM_LOSTSERVICE_REASON

public static final String PARM_LOSTSERVICE_REASON
Used for retaining the reason from a monitor determines SERVICE_UNAVAILABLE

See Also:
Constant Field Values

PARM_VALUE_PATHOUTAGE

public static final String PARM_VALUE_PATHOUTAGE
Used for setting the value for PARM_LOSTSERVICE_REASON when the lost service is due to a critical path outage

See Also:
Constant Field Values

PARM_PASSIVE_NODE_LABEL

public static final String PARM_PASSIVE_NODE_LABEL
Parms used for passive status events sent to the PassiveServiceKeeper

See Also:
Constant Field Values

PARM_PASSIVE_IPADDR

public static final String PARM_PASSIVE_IPADDR
See Also:
Constant Field Values

PARM_PASSIVE_SERVICE_NAME

public static final String PARM_PASSIVE_SERVICE_NAME
See Also:
Constant Field Values

PARM_PASSIVE_SERVICE_STATUS

public static final String PARM_PASSIVE_SERVICE_STATUS
See Also:
Constant Field Values

PARM_PASSIVE_REASON_CODE

public static final String PARM_PASSIVE_REASON_CODE
See Also:
Constant Field Values

PARM_VERSION

public static final String PARM_VERSION
Parms used for configureSnmp events

See Also:
Constant Field Values

PARM_TIMEOUT

public static final String PARM_TIMEOUT
See Also:
Constant Field Values

PARM_RETRY_COUNT

public static final String PARM_RETRY_COUNT
See Also:
Constant Field Values

PARM_PORT

public static final String PARM_PORT
See Also:
Constant Field Values

PARM_LOCATION_MONITOR_ID

public static final String PARM_LOCATION_MONITOR_ID
See Also:
Constant Field Values

PARM_FILES_TO_PROMOTE

public static final String PARM_FILES_TO_PROMOTE
Parm use for promoteEnqueuedData event

See Also:
Constant Field Values

XMLRPC_NOTIFY_RECEIVED

public static final int XMLRPC_NOTIFY_RECEIVED
Status code used to indicate which external xmlrpc command to invoke to report the occurrence of selected events.

See Also:
Constant Field Values

XMLRPC_NOTIFY_SUCCESS

public static final int XMLRPC_NOTIFY_SUCCESS
See Also:
Constant Field Values

XMLRPC_NOTIFY_FAILURE

public static final int XMLRPC_NOTIFY_FAILURE
See Also:
Constant Field Values

SEV_INDETERMINATE

public static final int SEV_INDETERMINATE
Enumerated values for severity being indeterminate

See Also:
Constant Field Values

SEV_CLEARED

public static final int SEV_CLEARED
Enumerated values for severity being unimplemented at this time

See Also:
Constant Field Values

SEV_NORMAL

public static final int SEV_NORMAL
Enumerated values for severity indicates a warning

See Also:
Constant Field Values

SEV_WARNING

public static final int SEV_WARNING
Enumerated values for severity indicates a warning

See Also:
Constant Field Values

SEV_MINOR

public static final int SEV_MINOR
Enumerated values for severity is minor

See Also:
Constant Field Values

SEV_MAJOR

public static final int SEV_MAJOR
Enumerated values for severity is major

See Also:
Constant Field Values

SEV_CRITICAL

public static final int SEV_CRITICAL
Enumerated values for severity is critical

See Also:
Constant Field Values
Constructor Detail

EventConstants

public EventConstants()
Method Detail

parseToDate

public static final Date parseToDate(String timeString)
                              throws ParseException
An utility method to parse a string into a 'Date' instance. Note that the string should be in the locale specific DateFormat.FULL style for both the date and time.

Throws:
ParseException
See Also:
DateFormat

formatToString

public static final String formatToString(Date date)
An utility method to format a 'Date' into a string in the local specific FULL DateFormat style for both the date and time.

See Also:
DateFormat

formatToUIString

public static final String formatToUIString(Date date)
Deprecated. This is no longer used by the UI. All WebUI-specific code should under the org.opennms.web packages.

An utility method to format a 'Date' into a string in the local specific DEFALUT DateFormat style for both the date and time. This is used by the webui and a change here should get all time display in the webui changed.

See Also:
DateFormat, org.opennms.web.Util.formatDataToUIString

getSeverity

public static int getSeverity(String sev)
Converts the severity to an integer

Returns:
integer equivalent for the severity

getSeverityString

public static String getSeverityString(int sev)
Returns a severity constant as a printable string.

Parameters:
sev -
Returns:
A capitalized String representing severity.


Copyright © 2009. All Rights Reserved.