How to debug SNMP?

Is there a way to get traces for SNMP sensors?

For some reason, the SNMP sensors stopped to work, but I can’t get any debug log about this feature.

I set up:

logger:
default: debug
logs:
zeroconf: fatal

in configuration.yaml, but the only SNMP-related info I can read is
INFO Setting up sensor.snmp
which does not help much.

How can I get details about the SNMP requests made on remote devices?

Thanks.

Hi,

I had the same issue and got useful log output by setting logging (configuration.yaml) as follows:

logger:
    default: warning
    logs:
        homeassistant.components.snmp: debug

Greetings!