First at all, i am using cacti Version 1.2.17
I will try to be simple, I have written an XML to get all ONU from a OLT Cisco device, on SNMPWALK i got all the items and on the device section when i do an update i got the right quantity of items, but less items are being shown.
My XML file is as follow, I could not find an OID for indexing the ONU's, so I ended using the OID for the SN of the devices:
Code: Select all
<query>
<name>Get all ONU tx and rx from OLT</name>
<oid_index>1.3.6.1.4.1.3902.1082.500.10.2.3.3.1.18</oid_index>
<oid_num_indexes>1.3.6.1.4.1.3902.1082.500.10.2.3.3.1.2</oid_num_indexes>
<index_order>onuIndex</index_order>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<fields>
<onuIndex>
<name>ONU ID</name>
<method>walk</method>
<source>VALUE/REGEXP:1,+([A-Z0-9]{12})</source>
<direction>input</direction>
<oid>1.3.6.1.4.1.3902.1082.500.10.2.3.3.1.18</oid>
</onuIndex>
<onuDescription>
<name>ONU Description</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>1.3.6.1.4.1.3902.1082.500.10.2.3.3.1.2</oid>
</onuDescription>
<OLTRx>
<name>OltRx</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>1.3.6.1.4.1.3902.1082.500.4.2.2.2.1.3</oid>
</OLTRx>
<OLTTx>
<name>OltTx</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>1.3.6.1.4.1.3902.1082.500.4.2.2.2.1.46</oid>
</OLTTx>
</fields>
</query>
When finishing doing all required parts and add a device it shows me in the "Verbose Query" a Count of 1438 Items, but cacti is only getting 128 Rows/items.
The snmpwalk shows me 1438 index devices, but Cacti only 128. Is there any restriction of quantity?