Created attachment 201140 [details] add option to force use of snmpget/snmpwalk binaries instead of php built-ins Due to bugs/incompatabilities with the PHP 7.x SNMP functions in PHP and cacti, some graphs do not update within cacti. The workaround is to uninstall phpXX-snmp but this is not desirable as other installed software may use it successfully. An alternative is to forcibly cause cacti to use the binaries and skip the autodetection of the PHP functions. This patch adds an option (default on) to override the automatic detection and force the use of the binary utils. Committer: please ignore gettext warnings, cacti has internal gettext handling. I've requested merge-quarterly as it affects the basic usage of cacti for users. Poudriere testport logs for 11.2/i386 and 11.2/amd64 located at: https://poudriere.dan.tm/poudriere/data/latest-per-pkg/cacti/1.2.0_2/ testport logs for 12.0/i386 and 12.0/amd64 located at: https://poudriere2.dan.tm/poudriere/data/latest-per-pkg/cacti/1.2.0_2/
A commit references this bug: Author: swills Date: Wed Jan 16 12:59:38 UTC 2019 New revision: 490477 URL: https://svnweb.freebsd.org/changeset/ports/490477 Log: net-mgmt/cacti: fix issues with graphs PR: 234952 Submitted by: Daniel Austin <freebsd-ports@dan.me.uk> (maintainer) Changes: head/net-mgmt/cacti/Makefile head/net-mgmt/cacti/files/extra-patch-lib_snmp.php
Committed, thanks!