Hi Librenms,
I’ve come across a strange problem. Could you offer me some ideas?
When I called ./ discovery.php-h 10.52.26.70 locally, I found that the mib file specified in os_detection/ruijie.yaml could not be invoked, but I could access those hardcoded mib nodes.
[Note] I got the above guess by executing sudo -u librenms lnms device:poll 10.52.26.70, that is, the mib nodes hardcoded in ruijie.yaml such as Hardware/OS Version/Serial can be obtained. But processors/mempools/storage need to invoke the contents of a mib file cannot be accessed.
root@ubuntu24:/opt/librenms# sudo-u librenms lnms device:poll 10.52.26.70
Starting polling run:
Hostname: 10.52.26.70
ID: 1
OS: ruijie
IP: 10.52.26.70
Load poller module core
Uptime: 1 week 2 days 6 hours 19 minutes
SNMP: 3/0.04 [s] MySQL: 4/4.70 [s] the RRD: 2/0.00 [s]
Runtime for poller module ‘core’: 0.0390 seconds with 157,296 bytes
Unload poller module core
Load poller module os
Location:
Hardware: 2.35
OS Version: S6500_RGOS 12.5(1)B0503
OS Features:
Serial: G1B3AMB002959
SNMP: 0/0.00 [s] MySQL: 0/0.00 [s] the RRD: 1/0.00 [s]
Runtime for poller module ‘os’: 0.0028 seconds with 200,008 bytes
Unload poller module os
Load poller module availability
1 day : 100%
1 week : 100%
4 weeks : 100%
1 year : 100%
SNMP: 0/0.00 [s] MySQL: 13/0.05 [s] the RRD: 5/0.00 [s]
Runtime for poller module ‘availability’: 0.0103 seconds with 63920 bytes
Unload poller module availability
Load poller module ipmi
SNMP: 0/0.00 [s] MySQL: 1/0.01 [s] the RRD: 1/0.00 [s]
Runtime for poller module ‘ipmi’: 0.0035 seconds with 105,176 bytes
Unload poller module ipmi
Load poller module sensors
SNMP: 0/0.00 [s] MySQL: 1/0.00 [s] the RRD: 1/0.00 [s]
Runtime for poller module ‘sensors’: 0.0013 seconds with 2064 bytes
Unload poller module sensors
Load poller module processors
SNMP: 0/0.00 [s] MySQL: 1/0.01 [s] the RRD: 1/0.00 [s]
Runtime for poller module ‘processors’: 0.0022 seconds with 62,216 bytes
Unload poller module processors
Load poller module mempools
SNMP: 0/0.00 [s] MySQL: 1/0.00 [s] the RRD: 1/0.00 [s]
Runtime for poller module ‘mempools’: 0.0016 seconds with 27136 bytes
Unload poller module mempools
Load poller module storage
SNMP: 0/0.00 [s] MySQL: 1/0.00 [s] the RRD: 1/0.00 [s]
Runtime for poller module ‘storage’: 0.0017 seconds with 20192 bytes
Unload poller module storage
...
My current revision at Fix ruijie device by ShiyanXu · Pull Request #18198 · librenms/librenms · GitHub . If I need to provide additional information, I will also be glad to do so.
The following is the content of./validate.php:
root@ubuntu24:/opt/librenms# sudo -u librenms ./validate.php
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Component | Version
--------- | -------
LibreNMS 25.8.0 (2025-09-09T12:52:18+00:00)
DB Schema | 2025_07_29_025425_hr_device_table_add_type_default (354)
PHP: 8.3.6
Python: 3.12.3
Database: MariaDB 10.11.13-MariaDB 0 Ubuntu 0.24.04.1
RRDTool 1.7.2
SNMP: 5.9.4.pre2
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
[OK] Composer Version: 2.8.11
[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
[OK] rrd_dir is writable
[OK] rrdtool version ok
[WARN] Your install is over 24 hours out of date, last update: Tue, 09 Sep 2025 12:52:18 +0000
[FIX]:
Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.
[WARN] Your local git branch is not master, this will prevent automatic updates.
[FIX]:
You can switch back to master with git checkout master
[WARN] Your local git contains modified files, this could prevent automatic updates.
[FIX]:
You can fix this with ./scripts/github-remove
Modified Files:
…
When asking for help and support, please provide as much information as possible. This should include:
- Steps to reproduce an issue.
- The output of
./validate.php
If it’s an issue with the WebUI then please consider including a screenshot and the browser version you are using.
If you are having troubles with discovery/polling include the pastebin output of:
./discovery.php -h HOSTNAME -d | curl --data-binary @- https://paste.rs/
./poller.php -h HOSTNAME -r -f -d | curl --data-binary @- https://paste.rs/
If you need to post any text longer than a few lines, please use a “pastebin” service, we recommend using https://paste.rs/ or https://paste.sh/
