Mikrotik 2216 25G interfaces Timing out during discovery IPV6/BGP
The problem
Getting spikes and dips in graphs every time discovery runs every 6 hours on one specific NEWER Mikrotik router. I have 2 2216's it only does it for this device and not the other. Both have ipv6 enabled. The troubled router is running BGP with ipv6. There are a LOT of routes most likely.
Error during discovery is
Load disco module route
IPV6-MIB::ipv6RouteTable
2025-05-08 12:54:56,364 :: ERROR :: Thread Thread-2 (poll_worker) exited with code -254 2025-05-08 12:54:56,364 :: ERROR :: Timeout of 900 seconds expired for command "/usr/bin/env php /opt/librenms/discovery.php -h 1511" execution. Original output was: LibreNMS Discovery mydevice 1511 routeros
Load disco module core
OS: Mikrotik RouterOS (routeros)
IPV6 IS disabled on the librenms server as there is no connectivity available.
Output of ./validate.php
Issue was produced before the 10th so this is moot.
===========================================
Component | Version
--------- | -------
LibreNMS | 25.4.0-132-gd640ac55b (2025-05-10T09:32:37-04:00)
DB Schema | 2025_05_03_152418_remove_invalid_sensor_classes (338)
PHP | 8.2.28
Python | 3.10.12
Database | MariaDB 10.6.21-MariaDB-0ubuntu0.22.04.2
RRDTool | 1.7.2
SNMP | 5.9.1
===========================================
[OK] Composer Version: 2.8.8
[OK] Dependencies up-to-date.
[OK] Database Connected
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[INFO] fping FAILURES can be ignored if running LibreNMS in a jail without ::1. You may want to test it manually: fping ::1
[FAIL] /usr/bin/fping6 could not be executed. /usr/bin/fping6 must have CAP_NET_RAW capability (getcap) or suid. Selinux exclusions may be required.
(/usr/bin/fping6: can't create socket (must run as root?))
[FAIL] /usr/bin/fping6 should have CAP_NET_RAW!
[FIX]:
setcap cap_net_raw+ep /usr/bin/fping6
[OK] rrdtool version ok
[OK] Connected to rrdcached
[WARN] Your install is over 24 hours out of date, last update: Sat, 10 May 2025 13:32:37 +0000
[FIX]:
Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors
What was the last working version of LibreNMS?
No response
Device info
Mikrotik CCR2216-1G-12XS-2XQ
Discovery output
A lot of private data here, I can send file direct to Laf/Murrant if necessary in Discord.
Poller output
Polling is fine.