b4tman/docker-squid

Enabling SNMP in Squid for Monitoring with Cacti

huangchao-shanghai opened this issue · 1 comments

I intend to use Cacti to monitor the status of Squid via SNMP. However, it seems that SNMP is not enabled by default in Squid. Can you provide instructions on how to enable SNMP?

b4tman commented

Hi, @huangchao-shanghai!

Here squid docs: https://wiki.squid-cache.org/Features/Snmp.
To enable SNMP support you need to set snmp_port configuration directive. But it requires --enable-snmp build option (here).

I'll try to add this to the latest image.