l'm trying to setup a new xml file for gathering SNMP stats for an Alcatel-Lucent 7750 router.
The MIB i'm interesting in is structured as follow :
- 3 distincts tables : SvcBaseInfo, SapBaseInfo, SapIngQosQueueStats.
- I want to graph 2 OID from the last table SapIngQosQueueStats, but to present correctly the different data to the operator, so that he can make a good selection (which service, sap and queue) to graph, I need to present data coming from other tables.
Here are a summary of the table structure :
Table SvcbaseInfo :
- SvcId (index) : .1.3.6.1.4.1.6527.3.1.2.4.2.2.1.1
- SvcType : .1.3.6.1.4.1.6527.3.1.2.4.2.2.1.3
- SvcDescription : .1.3.6.1.4.1.6527.3.1.2.4.2.2.1.6
- The IndexValue for this table is field : SvcId
- SapPortId (index) : .1.3.6.1.4.1.6527.3.1.2.4.3.2.1.1
- SapEncapValue (index) : .1.3.6.1.4.1.6527.3.1.2.4.3.2.1.2
- SapDescription : .1.3.6.1.4.1.6527.3.1.2.4.3.2.1.5
- The IndexValue for this table is field : SvcId.SapPortId.SapEncapValue
- sapIngQosQueueId (index) : .1.3.6.1.4.1.6527.3.1.2.4.3.7.1.1
- sapIngQosQueueStatsOfferedHiPrioOctets : .1.3.6.1.4.1.6527.3.1.2.4.3.7.1.6
- sapIngQosQueueStatsOfferedLoPrioOctets : .1.3.6.1.4.1.6527.3.1.2.4.3.7.1.8
- The IndexValue for this table is field : SvcId.SapPortId.SapEncapValue.SapIngQosQueueId
As you can see, the index value of the Table I'm interested in is made of fields coming from others table.
I would like to present the following table to the operator, with a complete list of sapIngQosQueueStats entries
| svcId | svcType | svcDescription | SapPortId | sapEncapValue | sapDescription | sapIngQosQueueId |
And when the operator select a line in it, it will give him a graph of sapIngQosQueueStatsOfferedHiPrioOctets and sapIngQosQueueStatsOfferedLoPrioOctets related to the selected object.
Based on others post, I've imagined the following xml file, but I'm not sure I've fully understand how it works. I do not have any OID that counts the number of index in the table sapIngQosQueueStats, so I've put # sign.
Any help would be appreciated.
Thanks
Franck.
Code: Select all
<interface>
<name>Alcatel SAP QoS Statistics</name>
<description>Queries list of SAP's Svc monitorable queues</description>
<oid_index>.1.3.6.1.4.1.6527.3.1.2.4.3.7.1.1</oid_index>
<oid_num_indexes>##########????</oid_num_indexes>
<oid_index_parse>OID/REGEXP:^.{33}(.*)</oid_index_parse>
<index_order>AlcatelIndex:ifName:ifPolicy</index_order>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<fields>
<QosQueueIndex>
<name>Service index</name>
<source>index</source>
<direction>input</direction>
</QosQueueIndex>
<sapEgrQosQueueId>
<name>Interface Name</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.6527.3.1.2.4.3.8.1.1</oid>
</sapEgrQosQueueId>
<svcId>
<name>Service Id</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.6527.3.1.2.4.2.2.1.1</oid>
</svcId>
<SvcType>
<name>Service Type</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.6527.3.1.2.4.2.2.1.3</oid>
</SvcType>
<SvcDescription>
<name>SvcDescription</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.6527.3.1.2.4.2.2.1.6</oid>
</SvcDescription>
<SapPortId>
<name>SapPortId</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.6527.3.1.2.4.3.2.1.1</oid>
</SapPortId>
<SapEncapValue>
<name>SapEncapValue</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.6527.3.1.2.4.3.2.1.2</oid>
</SapEncapValue>
<SapDescription>
<name>SapDescription</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.6527.3.1.2.4.3.2.1.5</oid>
</SapDescription>
<sapIngQosQueueStatsOfferedHiPrioOctets>
<name>sapIngQosQueueStatsOfferedHiPrioOctets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.6527.3.1.2.4.3.7.1.6</oid>
</sapIngQosQueueStatsOfferedHiPrioOctets>
<sapIngQosQueueStatsOfferedLoPrioOctets>
<name>sapIngQosQueueStatsOfferedLoPrioOctets</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.6527.3.1.2.4.3.7.1.8</oid>
</sapIngQosQueueStatsOfferedLoPrioOctets>
</fields>
</interface>