This is broken since an 8.3.29 "no version change" update; both 8.3.29 (see below) and 8.3.30 break Cacti's poller (version cacti-php83-1.2.30) causing it to lose contact with all SNMP devices. It appears that the breakage involves the module returning an empty or null string where it should otherwise not, but the precise cause of the breakage I have not identified. Rolling back the module to the previous version from a ZFS snapshot restores functionality. Note that the 8.3.29 update that broke this was STATED by pkg to be a reinstall (presumably due to options change although it didn't say "options changed") and did NOT bump the version number of the module. Specifically: [root@NewFS /usr/local/lib/php/20230831]# strings snmp.so*|grep '8.3.' 8.3.29 8.3.29 8.3.30 And the checksums: 3043124431 62064 snmp.so 2608607369 62064 snmp.so.broken 3053024661 62064 snmp.so.broken.8.3.30 So while the first "broken" version is allegedly of the same revision it does not work, where the previous one does.
According to my friend's investigation, this is related to net-snmp, not to php.