Filtering events

You can specify how the JMS filters the events sent to the probe by using the JmsFilter property. This property allows you to specify a filter that uses the JMS properties associated with the event.

You can filter events using any of the JMS properties. For example, the following filter is based on fault messages with a severity class of Warning:

ALA_category in (\'FAULT\') and MTOSI_perceivedSeverity in (\'Warning\')

By default, the JMS filters events sent to the probe using the following filter:

ALA_category not in (\'STATISTICS\', \'ACCOUNTING\')
Note: The JMS filter must contain ALA_clientId in ('persistent_jms_id', '') where persistent_jms_id is the value set for the PersistentJmsId property. If you change the value of the PersistentJmsId property, you must also change the value in the JMS filter accordingly.

The following table describes all JMS properties that are available for use in filters. For each property, the table lists the possible values that the property can take.

Table 1. JMS properties 

Property

Values

Description

MTOSI_NTType

ALA_OTHER

NT_OBJECTCREATION

NT_OBJECTDELETION

NT_ATTRIBUTE_VALUE_ CHANGE

NT_STATE_CHANGE

NT_ALARM

NT_HEARTBEAT

ALA_ RELATIONSHIPCHANGE

Use this property to specify the type of notification that you want the filter to send to the probe.

MTOSI_osTime

Time in milliseconds

Use this property to specify the time when the event was created on the server. The filter sends this time of the event creation to the probe.

MTOSI_objectName

Object name

Use this property to specify the object name for the event that you want the filter to send to the probe.

MTOSI_objectType

Object type

Use this property to specify the object type for the event that you want the filter to send to the probe.

ALA_category

SERVICE

EQUIPMENT

ACCOUNTING

GENERAL

FAULT

STATISTICS

DATABASE

SOFTWARE

Use this property to specify the category of the event that you want the filter to send to the probe.

ALA_allomorphic

Allomorphic class for the object type

Use this property to specify the allomorphic class for the object type that you want the filter to send to the probe.

ALA_topic

JMS topic

Use this property to specify the JMS topic for the message that you want the filter to send to the probe.

ALA_clientId

Specific client ID

Use this property to specify the client ID that you want the filter to send to the probe.