Not all items are being shown and no graphs

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
turnonocibw
Posts: 1
Joined: Thu May 26, 2022 3:41 pm

Not all items are being shown and no graphs

Post by turnonocibw »

Greetings to all.

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>

I have modified this xml following this link https://github.com/Cacti/cacti/issues/2867 but i need the values TX and RX.

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?
Attachments
Captura de pantalla_2022-06-06_07-15-20.png
Captura de pantalla_2022-06-06_07-15-20.png (7.99 KiB) Viewed 1451 times
Captura de pantalla_2022-06-06_07-13-07.png
Captura de pantalla_2022-06-06_07-13-07.png (23.88 KiB) Viewed 1452 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest