400G Ports and snmp

Hello
we have a problem with 400g ports on arista and on cisco 8201 devices, when the device reaches more than 100GB util, the graphs are blank as you can see in the picture

bash-4.2$ ./validate.php

Component Version
LibreNMS 22.9.0
DB Schema 2022_09_03_091314_update_ports_adsl_table_with_defaults (246)
PHP 7.4.16
Python 3.6.8
Database MariaDB 10.5.10-MariaDB
RRDTool 1.4.8
SNMP 5.7.2
====================================

[OK] Composer Version: 2.4.2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK]
[OK] Database schema correct
[OK] MySQl and PHP time match
[WARN] PHP version 8.1 is the minimum supported version as of September, 2022. We recommend you update PHP to a supported version (8.1 suggested) to continue to receive updates. If you do not update PHP, LibreNMS will continue to function but stop receiving bug fixes and updates.
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrdtool version ok
[OK] Connected to rrdcached

Hello,
See if this works for you.

1 Like

i have it turned on :frowning: and it actually recognizes the port as 400gbps but wont show the graph when traffic reach 100gb

Now, see if the script solves the problem.

./scripts/tune_port.php -h <hostname> -p <ifName>

Note: The failure of the previous graph will continue as it was not saved in the RRD file. The graph will show correct in future records.

Make sure port speed is reflected correctly for the port too, that is what determines the new max value.

but the max value was OK and as it should be… i ran the script
will let you know soon

the script indeed solved our problem
the graphs are now showing proper usage

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.