This section of the PowerConnect Java UI deals with configuration settings for the PI Monitoring plugin. This plugin collects PI message data.
By default if the PI Monitoring Plugin is enabled it will use the Simple Filter configuration which will collect all messages including their logs and payload. The simple filter can be tuned further as detailed in the Simple Filters section below.
For more advanced filtering involving multiple filter sets a xml configuration can be provided which is detailed in the Advanced Filters section below.
The PI Message Monitoring plugin also automatically tracks long running PI Messages which may span multiple collection intervals.
Simple filters work on individual PI message fields. If more than one filter is set, a logical AND is applied to the filters. By default a value of NOT_CONFIGURED represents a wildcard so for example if the Receiver Name filter is set to NOT_CONFIGURED the filter will match any Receiver Name in the PI Messages. Simple filters also allow the collection for PI Message payloads and logs.
To persist the changes to the Simple Filters hit the Save button.
|Name||Description||Accepted Values||Restart of PowerConnect required?||Default|
|Direction||Filter on Sender or Receiver direction||OUTBOUND, INBOUND||No||NOT_CONFIGURED|
|Only Faulty Messages||Track only PI messages that experience an error||true, false||No||false|
|Receiver Name||Filter on Receiver name||Any string||No||NOT_CONFIGURED|
|Receiver Party||Filter on Receiver party||Any string||No||NOT_CONFIGURED|
|Sender Name||Filter on Sender name||Any string||No||NOT_CONFIGURED|
|Sender Party||Filter on Sender Party||Any string||No||NOT_CONFIGURED|
|Status||Filter on status of PI message||success, toBeDelivered, waiting, holding, delivering, systemError, canceled||No||NOT_CONFIGURED|
|Message Type||Filter on PI message type||Any string||No||NOT_CONFIGURED|
|Interface Name||Filter on Interface name||Any string||No||NOT_CONFIGURED|
|Interface Namespace||Filter on Interface namespace||Any string||No||NOT_CONFIGURED|
|Collect message logs||Enables or disables PI message log collection||true, false||No||true|
|Collect message payload||Enables or disables PI message payload collection||true, false||No||true|
|Collect payload version||Specifies payload version to collect||all, latest||No||latest|
Advanced filters should be used where simple field filters are insufficient for the use case. For example consider the following scenario. You have 15 PI Receivers and you are only interested in collecting PI message meta data from 2 of them. However if any PI message from the 2 Receivers has errored during processing, you would also like to collect the payload and logs for those errored PI messages.
This scenario can be implemented using Advanced Filters. The Advanced Filters are configured using an XML configuration file. The XML file can contain multiple filters, each with their own set of field filters along with the ability to enable payload and log collection per filter.
As an example let’s say the 2 Receivers from our scenario above are named rec_1 and rec_2. The XML to cater for the scenario would be as follows:
Note the ommission of any field filter means it takes it’s default value.
To apply this XML configuration save the file then click the Choose file button. Then select and open the XML file you just saved. The new filters will then be applied. Note that Advanced Filters override the Simple XML filters.
To export the configuration press the Export XML link.
To clear the Advanced Filters and revert back to using Simple Filters press the Clear button.
The xml configuration elements are detailed as follows:
|Element Name||Accepted Values||Description||Example|
|direction||INBOUND, OUTBOUND||filter on direction of pi message||INBOUND|
|interfacename||any string||filter on interface name of pi message||testinterface|
|namespace||any string||filter on namespace of pi message||testnamespace|
|messagetype||any string||filter on type of pi message||send|
|onlyfaultymessages||false,true||track only pi messages that experience an error|
|receivername||any string||filter on receiver name of pi message||testreceiver|
|receiverparty||any string||filter on receiver party of pi message||testparty|
|sendername||any string||filter on sender name of pi message||testsender|
|senderparty||any string||filter on sender party of pi message||testparty|
|status||success, toBeDelivered, waiting, holding, delivering, systemError, canceled||filter on status of pi message||systemError|
|payload||false, true||collect staged payload of pi message|
|logs||false, true||collect audit logs for pi message|
|payloadversion||all, latest, [comma separated list of versions]||collect specific version(s) of staged pi message payload||1, 4|
|payloadlog||false, true||collect logged payload of pi message|
|payloadlogversion||[comma separated list of versions]||collect specific version(s) of logged pi message payload||0, 1|
Note there are two types of PI Message payload in SAP PI systems – staged and logged. Further details of differences are documented [here]
By default the PI Message Monitoring plugin will collect the staged payload however to collect the logged payload set the payloadlog element to true.
This section of the PI Message Monitor configuration deals with general configuration settings which apply globally.
|Name||Description||Restart of PowerConnect required?||Default|
|Max number of messages per minute||Sets the limit on the number of messages the PI Monitoring plugin will collect per run per filter (per SAP instance) if you have 2 instances, and this is set to the default (100) then the agent will collect 100 messages per instance equal to 200 messages maximum across the entire instance.||No||100|
|In-flight message cache size||Sets the limit on the number of in-flight PI messages the PI Monitoring plugin will track||Yes||1000|
|In-flight message cache expiry (hours)||Defines how long in hours the in-flight PI messages will be kept in the cache before being removed||Yes||24|