And what I've learned so far, PHP8.1 is not yet supperted. But it is really stable.
The System:
Code: Select all
Ubuntu LTS22.04
Cacti and Spine 1.2.24
10.6.12-MariaDB-0ubuntu0.22.04.1-log
8.1.2-1ubuntu2.11
NET-SNMP version: 5.9.1
We have 118 devices included and there is only one with this error message when I try to include it.
I know this problem doesn't appear with old Cacti 0.8.8b. So I compared the SNMP traffic and I see the new Cacti makes it a little bit different.
The old cacti asks for sysUpTime:
Code: Select all
IP cop.46418 > usv.snmp: C="xxx" GetRequest(28) system.sysDescr.0
IP usv.snmp > cop.46418: C="xxx" GetResponse(45) system.sysDescr.0="NetMan 100 plus"
IP cop.53446 > usv.snmp: C="xxx" GetRequest(28) system.sysUpTime.0
IP usv.snmp > cop.53446: C="xxx" GetResponse(34) system.sysUpTime.0=3832488772
Code: Select all
BAD UPS
snmpget DEVICE1 snmpFrameworkMIB.snmpFrameworkMIBObjects.snmpEngine.snmpEngineTime.0
SNMPv2-MIB::sysDescr.0 = STRING: NetMan 100 plus
WORKING UPS
snmpget DEVICE2 snmpFrameworkMIB.snmpFrameworkMIBObjects.snmpEngine.snmpEngineTime.0
SNMP-FRAMEWORK-MIB::snmpEngineTime.0 = INTEGER: 10625657 seconds
Of course a wrong value for this SNMP request.
Is there a chance for me to get around this problem? I mean other than deleting this device.