Bug 292733 - net-mgmt/php83-snmp: 8.3.30 breaks Cacti's poller, causing it to lose contact with all SNMP devices
Summary: net-mgmt/php83-snmp: 8.3.30 breaks Cacti's poller, causing it to lose contact...
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-26 15:23 UTC by karl
Modified: 2026-04-11 12:25 UTC (History)
3 users (show)

See Also:
vvd: maintainer-feedback? (bofh)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description karl 2026-01-26 15:23:44 UTC
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.
Comment 1 Juraj Lutter freebsd_committer freebsd_triage 2026-04-08 11:03:01 UTC
According to my friend's investigation, this is related to net-snmp, not to php.