Kbase P37056: How to get information out of the fmalert table for SNMP monitoring.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  02/01/2009 |
|
Status: Verified
GOAL:
How to get information out of the fmalert table for snmp adapter.
FACT(s) (Environment):
All Supported Operating Systems
Progress 9.1D
Progress 9.1E
OpenEdge 10.x
Fathom Management
OpenEdge Management
FIX:
The following is provided as an example on how to query the fmalert table for the desired information.
When looking at the value of OID .1.3.6.1.4.1.1730.1.2.1.1.5.4.0, this represents the highest index of alerts generated. It is this number which is used to query the fmAlertTable. In the information provided above, the value of this OID is 3. It the fmAlertTable queried with values 1, 2, or 3, to get information about each of those alerts. That information will exist as long as the alert has not yet been cleared.
For instance, to display the fmAlertResourceName variable for
each of those alerts. Then query the following OIDs:
.1.3.6.1.4.1.1730.1.2.1.1.6.1.5.1.0
.1.3.6.1.4.1.1730.1.2.1.1.6.1.5.2.0
.1.3.6.1.4.1.1730.1.2.1.1.6.1.5.3.0
Note how the second to last number is incremented by 1 each time. This is the alert index as provided in the trap information.
To query alert index 60 for the alert name, the OID would be
.1.3.6.1.4.1.1730.1.2.1.1.6.1.2.60.0."