Table of Contents

PI/XI messages JAVA

This monitor is dedicated to the monitoring of PI/XI messages statistics per component 
and for monitoring individual messages status of Java stack instances.
It will detect messages with an error status and report with alarms, metrics and metadata

Prerequisites

Configuration hints

Atomic fields

Collect messages Enable to collect individual messages from the portal
Collect faulty msg only Enable to collect only messages with an error status
Collect log entries Enable to collect logs of each message
Threads The number of internal parallel workers used to fetch messages
Custom soap body Use this field to customize the request used to collect messages
Alarm severity for component collection errorLevel of the alarm when the probe can't collect information about a component defined in the surveiliance table

Surveillance table

Statistics table

ParameterDescription
ActiveUse this field to activate or deactivate a line of configuration.
StatusDefine the type message status to look for.
PeriodDefines the period of time in which the probe will look for messages.
ComponentDefines the xi component associated with the messages. The exact component name must be specified here.
SenderA filter for the sender of the messages.
ReceiverA filter for the receiver of the messages.
InterfaceA filter for the message interface.
Max. messagesThe threshold of the alarm generated if an equal or greater number of messages pass the alarm filter.
AggregatesIf not set, threshold will be compared to the number of messages grouped by Sender, Receiver and Interface. If set, the threshold will be compared to the cumulated number of messages.
SeverityThe default severity to apply when the simple threshold syntax is used.
Auto clearIf checked, the alarm will be cleared as soon as the alarm condition is not met anymore.
Alarm tagThis field allows to add custom text within the alarm message. %MSG% variable will contain the actual generated message and can be used such as: “my_prefix %MSG% my_suffix”. By default, tag will be used as prefix.
AlarmIf checked, this line of surveillance will be used for alarm generation.
MetricIf checked, this line of surveillance will be used for metric generation.
ReportIf checked, this line of surveillance will used for showing threshold and severity in the daily report

Messages monitoring table

ParameterDescription
ActiveUse this field to activate or deactivate this filter
SenderA filter for matching a particular sender.
ReceiverA filter for matching a particular receiver.
InterfaceA filter for matching a particular interface.
StatusFilter to process only messages having the specified status.
Custom params defines the the parameter to extract from message custom parameters (will be available in metadata)
SeverityThe severity used to for generated alarms.
AlarmEnable to generate an alarm for each message matching the filters
MetadataEnable to send matching messages as metadata or logs

Examples

ActiveStatusPeriodComponentSenderReceiverInterfaceMax. messagesAggregatesSeverityAuto clearAlarm tagAlarmMetricReport
trueHOLDINGCURRENT_HOURmssql.xi.id2***5trueWARNINGtrue truefalsefalse

Effect : Sends a WARNING alarm if 5 or more messages are in HOLDING state in the current hour for the component mssql.xi.id2.

Examples

ActiveStatusPeriodComponentSenderReceiverInterfaceMax. messagesAggregatesSeverityAuto clearAlarm tagAlarmMetricReport
trueSYSTEM ERRORLAST_DAYmssql.xi.id2SenderX**50trueMAJORtrue truefalsefalse

Effect : Sends a MAJOR alarm if 50 or more messages are in SYSTEM ERROR state in the previous day, sent by SenderX.

Example for individual message

ActiveSenderReceiverInterfaceStatusCustom paramsSeverityAlarmMetadata
true***error MAJORtruetrue

Effect : Will process all PI messages having a status containing 'error', will genrate a MAJOR alarm for each and will send them as metadata.

Generated metrics

metricIdmetricUnitmetricTargetmetricDescription
PIXI_JAVA_MESSAGE_STATUSMessage errors[STATUS][PERIOD][SENDER][RECEIVER][INTERFACE]Sends TRUE if the corresponding rule generated an alarm, FALSE instead
PIXI_JAVA_MESSAGE_STATUS_COUNTStatus[STATUS][PERIOD][SENDER][RECEIVER][INTERFACE]Sends the number of messages matching the filter