Hi
I'm new to Sevone and trying to deploy some out-of-autodiscovered items and KPI and struggling with the structure.
The following thread consists of two questions on the same MIB which I assume could teach me enough to handle all other Objects I'll need from the performance system.
In a network environment, I have a layer that terminates residential FTTH circuits, some are Cisco devices, IOS-XR, the MIB that handles those KPIs isCISCO-SUBSCRIBER-SESSION-MIB
I have two goals
- To create a line graph that will show how many subscribers are connected to the machine
- To create a dynamic auto discovered graphs that will show how many subscribers are arriving from each interface
For both, I'm using the out of the box snmp object type in Subscriber Aggregation and in it, Subscriber Aggregations (Cisco IOS XR)

When I walk the OID I have the following outputs

that is, for each indicator under Subscriber Aggregation, I have 2+(2N) graphs, where 2 is for .5.1.95.[1,4] - .1 is for the whole chassis, .4 is only for PPPoE on the chassis. and 2*N graphs where N equals the number of underlay interfaces subscribers are recieved from, in that matter 5.2.159.[1,4] 159 is the ifName for the interface it arrived on, and 159.1 is for all subscribers in that interface, and 159.4 is for all PPPoE subscribers in that interfaces.
First issue. create only one graph per total subscribers
if I create an object type and let it be indexed by the full OID, the discovery won't add the KPI, for some reason, I'm guessing I need to alter the indexes from three to none, which won't let me do it. as you can see the UI shows authenticated subscribers with 4 graphs, all I really want is a graph that indicate BNG1.LND - Total Subscribers to be referenced by (.1.3.6.1.4.1.9.9.786.1.2.1.1.5.1.95.1) - naming is also dynamic - |hostname| - 'Total Subscribers'
second issue, is to have all the Subscribers per interfaces graph in the same machine, in the screen shot above, this is the third row, that should be repeated by itself - and the naming should be resolved from other query, for example instead of Subscriber Aggregation-2.159.1 it should be 'All Subscribers in' IfDescription of ifAlias 159
I'm assuming I need to alter the object type, or clone it twice one for each scenario, but i got confused with the assertion and the naming convention syntax
In cacti we have some kind of hirerchial template for this metric, it's exampled below
<interface>
<name>Get SNMP PPPoE Active Per Vlan</name>
<description>Queries a host for a list of all modules memory</description>
<oid_index>.1.3.6.1.4.1.9.9.786.1.2.1.1.5.2</oid_index>
<oid_index_parse>OID/REGEXP:.*\.([0-9]{1,4})\.[1,4]$</oid_index_parse>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<fields>
<ifIndex>
<name>ifIndex</name>
<method>get</method>
<source>index</source>
<direction>input</direction>
</ifIndex>
<ifDescr>
<name>Description</name>
<method>get</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.2.2.1.2</oid>
</ifDescr>
<ifAlias>
<name>Alias (IF-MIB)</name>
<method>get</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.31.1.1.1.18</oid>
</ifAlias>
<pppoeUpSessions>
<name>PPPoE UP SESSIONS</name>
<method>get</method>
<source>value</source>
<direction>output</direction>
<oid_suffix>1</oid_suffix>
<oid>.1.3.6.1.4.1.9.9.786.1.2.1.1.5.2</oid>
</pppoeUpSessions>
</fields>
</interface>
Will appreciate any assistance
David