Event Definition

Associate an event to a specific node

There are two ways to associate a given event to an existing node, prior to sending the event to the event bus:

  • Set the event’s nodeId to the database ID of the desired node.

  • For requisitioned nodes, set the _foreignSource and _foreignId as parameters to the event. In this case, any incoming event without a nodeId and these two parameters will trigger a database lookup. If a node is found, the nodeId attribute will be dynamically set on the event, regardless of which method has been used to send it to the event bus.

Anatomy of an event

Events are structured historical records of things that happen in Meridian and the nodes, interfaces, and services it monitors. Every event has a number of fixed fields and zero or more parameters.

Mandatory fields
UEI (Unique Event Identifier)

A String that uniquely identifies the event’s type. UEIs are typically formatted in the style of a URI, but the only requirement is that they start with uei..

Event Label

A short, static label that summarizes the gist of all instances of this event.

Description

A long-form description of all instances of this event. You can use HTML formatting to format the body of the event text.

Log Message

A long-form log message describing this event, optionally including expansions of fields and parameters so that the value is tailored to the event at hand. The possible options for this setting are the following:

logndisplay

Both log the event in the database and display it in the Web UI.

logonly

Log the event in the database, but do not display it.

suppress

Neither log the event in the database nor display it.

donotpersist

Do not log the event in the database, but still send it to daemons that are listening for this type of event, such as those being used to generate notifications. Note that eventd and alarmd don’t process this type of events.

discardtraps

This applies only to traps coming in via trapd. This will cause trapd to discard the trap without creating an event. Other daemons that are listening for this type of event will not receive this event.

Severity

A severity for this event type. Possible values range from Cleared to Critical. Refer to our notes on severities for tips on how to best set the event levels.

Event ID

A numeric identifier used to look up a specific event in the Meridian system.

Notable optional fields
Operator Instruction

A set of instructions for an operator to respond appropriately to an event of this type.

Alarm Data

If this field is provided for an event, Meridian will create, update, or clear alarms for events of that type according to the alarm-data specifics.