IBM Tivoli Monitoring > Version 6.3 Fix Pack 2 > Administrator's Guide > Agent-based services > SNMP alerts > Trap configuration XML specification

IBM Tivoli Monitoring, Version 6.3 Fix Pack 2


Situation element

Use situation elements in a trap configuration XML file to define the trap sent for the situation.

The Situation element requires the name and target attributes. Default values are used for any other attributes that are not specified. The * asterisk wildcard can be specified for the situation name or target or both:


Situation element XML specification

Attribute Description Required Default
Name= This is the ID or short name of the situation. Required  
Target= Specify a previously defined TrapDest. “*” implies send trap to all defined destinations. Required  
Sev= Specify trap severity. The standard trap severities are:
0 – Cleared
1 – Indeterminate
2 – Warning
3 – Minor
4 – Major
5 – Critical
Optional 2
Cat= Specify trap category. The standard trap categories are:
0 - Threshold
1 – Network Topology
2 – Error
3 – Status
4 – Node Configuration
5 – Application Alert
6 – All Category
7 – Log Only
8 – Map
9 – Ignore
Optional 0
Mode= Used to specify behavior for SNMP trap emission on sampled situations. The standard modes are:
RC – Rising Continuous, whereby traps are sent on each true evaluation of a situation. (Pure events are always RC.) No specific clearing trap will be sent.
HY – Hysteresis, whereby a trap is sent the first time the sampled situation evaluates as true. A clearing trap will be sent once the sampled value no longer meets the criteria of the situation. Hysteresis mode requires the situation be named; not specified with a * wildcard.
Optional RC
Pred= The situation predicate (formula) is sent in the trap's autoSit-Predicates varbind. The Pred attribute allows you to omit the situation predicate by setting Pred=”N”. This can be useful if you do not care to receive the predicate or if a complex predicate is taking up too much of the trap PDU, and you want more room to send situation attributes in the sitAttributeList varbind. Optional Y
Table= Table name of the attribute group. Used with the TrapAttrlist to identify a subset of attributes used to construct the sitAttributeList varbind. Required only if a TrapAttrList is used.  
TrapAttrList= A comma delimited list of attributes to be included in the sitAttributeList varbind of the traps sent for situation.
Values specified here will override any TrapAttrList values specified in a TrapAttrGroup element for the table that the situation is running against.
Optional  

Situations for multiple-row attribute groups that include a display item are limited to sending one trap for the first row that evaluates to true, but not for any subsequent rows.


Parent topic:

Trap configuration XML specification

+

Search Tips   |   Advanced Search