I’m also facing this issue for new devices only. Existing devices are OK and still have their graphs updated. I’m also using RRDCached, but since existing devices still work I’m not leaning towards this being the issue.
Output of lnms device:poll -vvv <FQDN-OF-DEVICE>
for a newly added device:
librenms@<redacted>:~$ lnms device:poll -vvv <FQDN-OF-DEVICE>
Override poller modules: core, unix-agent, os, availability, ipmi, sensors, processors, mempools, storage, netstats, hr-mib, ucd-mib, ipSystemStats, ports, xdsl, customoid, bgp-peers, junose-atm-vp, printer-supplies, ucd-diskio, vminfo, wifi, wireless, ospf, isis, cisco-ipsec-flow-monitor, cisco-remote-access-monitor, cisco-cef, slas, cisco-mac-accounting, cipsec-tunnels, cisco-ace-loadbalancer, cisco-ace-serverfarms, cisco-asa-firewall, cisco-voice, cisco-cbqos, cisco-otv, cisco-qfp, cisco-vpdn, nac, netscaler-vsvr, aruba-controller, entity-physical, entity-state, applications, stp, ntp, loadbalancers, mef, mpls
SQL[select `migration` from `migrations` order by `id` desc limit 1 [] 0.49ms]
SQL[select count(*) as aggregate from `migrations` [] 0.29ms]
SQL[select version() [] 0.19ms]
===========================================
Component | Version
--------- | -------
LibreNMS | 23.9.1-70-ga6239a733 (2023-10-09T02:00:05+02:00)
DB Schema | 2023_10_07_170735_increase_processes_cputime_length (261)
PHP | 8.1.24
Python | 3.8.10
Database | MariaDB 10.3.38-MariaDB-0ubuntu0.20.04.1
RRDTool | 1.7.2
SNMP | 5.8
===========================================
Updating os_def.cache
Starting polling run:
SQL[select `device_id` from `devices` where `hostname` = ? ["<FQDN-OF-DEVICE>"] 0.65ms]
SQL[select * from `devices` where `device_id` = ? limit 1 [252] 0.44ms]
Hostname: <FQDN-OF-DEVICE>
ID: 252
OS: ibm-i
IP: <IP-OF-DEVICE>
Attempting to initialize OS: ibm-i
OS initialized as Generic (ibm-i)
SQL[select * from `devices_attribs` where `devices_attribs`.`device_id` = ? and `devices_attribs`.`device_id` is not null [252] 0.29ms]
[FPING] '/usr/bin/fping' '-e' '-q' '-c' '3' '-p' '500' '-t' '500' '-O' '0' '<FQDN-OF-DEVICE>'
response: xmt/rcv/%loss = 3/3/0%, min/avg/max = 4.53/4.65/4.84
SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v1' '-c' 'PRLGGRABRO' '-OQXUte' '-t' '5' 'udp:<FQDN-OF-DEVICE>:161' 'SNMPv2-MIB::sysObjectID.0']
SNMPv2-MIB::sysObjectID.0 = SNMPv2-SMI::enterprises.2.6.11
SQL[insert into `device_perf` (`min`, `max`, `avg`, `xmt`, `rcv`, `loss`, `debug`, `device_id`, `timestamp`) values (?, ?, ?, ?, ?, ?, ?, ?, ?) [4.53,4.84,4.65,3,3,0,"{\"poller_name\":\"prlg-mon-01\"}",252,"2023-10-10 09:27:59"] 3.09ms]
SQL[update `devices` set `last_ping_timetaken` = ? where `device_id` = ? [4.65,252] 2.7ms]
RRD[last <FQDN-OF-DEVICE>/ping-perf.rrd --daemon unix:/var/run/rrdcached.sock]
RRDtool Output: -1
ERROR: realpath(<FQDN-OF-DEVICE>/ping-perf.rrd): No such file or directory
RRD[update <FQDN-OF-DEVICE>/ping-perf.rrd N:4.65 --daemon unix:/var/run/rrdcached.sock]
RRDtool Output: SQL[select * from `device_outages` where `device_outages`.`device_id` = ? and `device_outages`.`device_id` is not null and `up_again` is null order by `going_down` desc limit 1 [252] 0.23ms]
#### Load poller module core ####
Module enabled: Global + | OS | Device | Manual
SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v1' '-c' 'PRLGGRABRO' '-OQXUte' '-On' '-t' '5' 'udp:<FQDN-OF-DEVICE>:161' 'SNMPv2-MIB::sysUpTime.0']
.1.3.6.1.2.1.1.3.0 = 6972603
SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v1' '-c' 'PRLGGRABRO' '-OQXUte' '-t' '5' 'udp:<FQDN-OF-DEVICE>:161' 'SNMP-FRAMEWORK-MIB::snmpEngineTime.0' 'HOST-RESOURCES-MIB::hrSystemUptime.0']
Exitcode: 2 ["Error in packet\nReason: (noSuchName) There is no such variable name in this MIB.\nFailed object: SNMP-FRAMEWORK-MIB::snmpEngineTime.0\n\n"]
HOST-RESOURCES-MIB::hrSystemUptime.0 = 550744598
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMP-FRAMEWORK-MIB::snmpEngineTime.0
Uptime seconds: 5507446
RRD[last <FQDN-OF-DEVICE>/uptime.rrd --daemon unix:/var/run/rrdcached.sock]
RRDtool Output: -1
ERROR: realpath(<FQDN-OF-DEVICE>/uptime.rrd): No such file or directory
RRD[update <FQDN-OF-DEVICE>/uptime.rrd N:5507446 --daemon unix:/var/run/rrdcached.sock]
RRDtool Output: ERROR: realpath(<FQDN-OF-DEVICE>/ping-perf.rrd): No such file or directory
Uptime: 2 months 1 week 17 hours 50 minutes 46 seconds
SQL[update `devices` set `uptime` = ? where `device_id` = ? [5507446,252] 2.85ms]
>> SNMP: [3/0.06s] MySQL: [5/0.09s] RRD: [4/0.00s]
>> Runtime for poller module 'core': 0.0459 seconds with 52648 bytes
RRD[last <FQDN-OF-DEVICE>/poller-perf-core.rrd --daemon unix:/var/run/rrdcached.sock]
RRDtool Output: -1
ERROR: realpath(<FQDN-OF-DEVICE>/poller-perf-core.rrd): No such file or directory
RRD[update <FQDN-OF-DEVICE>/poller-perf-core.rrd N:0.045899152755737 --daemon unix:/var/run/rrdcached.sock]
RRDtool Output: ERROR: realpath(<FQDN-OF-DEVICE>/uptime.rrd): No such file or directory
#### Unload poller module core ####
./validate.php and Web-UI validate are showing no errors:
librenms@<redacted>:~$ ./validate.php
===========================================
Component | Version
--------- | -------
LibreNMS | 23.9.1-70-ga6239a733 (2023-10-09T02:00:05+02:00)
DB Schema | 2023_10_07_170735_increase_processes_cputime_length (261)
PHP | 8.1.24
Python | 3.8.10
Database | MariaDB 10.3.38-MariaDB-0ubuntu0.20.04.1
RRDTool | 1.7.2
SNMP | 5.8
===========================================
[OK] Composer Version: 2.6.5
[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] 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] rrdtool version ok
[OK] Connected to rrdcached