When php-snmp is installed, Cacti uses it for SNMP operations instead of the net-snmp CLI tools. This causes problems in several scenarios:
The README recommends removing php-snmp, but this isn't always practical — FreeBSD ports pull it in as a Cacti dependency, and other applications on the same host may require it.
Proposed changes:
- Add a Settings > Poller toggle to force net-snmp CLI mode even when php-snmp is present
- Add a notice on the System Utilities page when php-snmp is detected
- Log a NOTICE-level message at poller startup when php-snmp is loaded
Ref #6644, #3818
/cc @TheWitness @xmacan
When php-snmp is installed, Cacti uses it for SNMP operations instead of the net-snmp CLI tools. This causes problems in several scenarios:
<output_format>tag in data query XML templates behaves differently under php-snmp vs net-snmp CLIThe README recommends removing php-snmp, but this isn't always practical — FreeBSD ports pull it in as a Cacti dependency, and other applications on the same host may require it.
Proposed changes:
Ref #6644, #3818
/cc @TheWitness @xmacan