Hi,
The program exits with these error messages: when tested from snmpwalk
Permission denied to socket: /var/run/fail2ban/fail2ban.sock, (you must be root)
{“version”:“1”,“errorString”:“fail2ban-client exited with 255”,“error”:“255”,“data”:{“jails”:{},“total”:0}}
the same errors also comes up when run localally
sudo -u Debian-snmp /etc/snmp/fail2ban
Permission denied to socket: /var/run/fail2ban/fail2ban.sock, (you must be root)
{“errorString”:“fail2ban-client exited with 255”,“error”:“255”,“data”:{“total”:0,“jails”:{}},“version”:“1”}
running as root work
/etc/snmp/fail2ban
{“data”:{“total”:3,“jails”:{“sshd”:“3”}},“errorString”:“fail2ban-client exited with 0”,“version”:“1”,“error”:“0”}