Snmpd not starting

from this config file:

sysLocation    Sitting on the Dock of the Bay
sysContact     Me <me@example.org>

# agentAddress udp:0.0.0.0:161
rocommunity public default -V all

view    all     included        .1      80

snmpd -f -c /etc/snmp/snmpd.conf

works…

but adding

agentAddress udp:0.0.0.0:161

causes it to crash and not start…

Seems to be cachyos only for some reason…

Open to suggestions…

snmpwalk -v2c -c public 192.168.88.200 | less

iso.3.6.1.2.1.1.1.0 = STRING: "Linux cachyos-x8664 6.10.10-2-cachyos #1 SMP PREEMPT_DYNAMIC Fri, 13 Sep 2024 18:44:28 +0000 x86_64"
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.8072.3.2.10
iso.3.6.1.2.1.1.3.0 = Timeticks: (9843) 0:01:38.43
iso.3.6.1.2.1.1.4.0 = STRING: "Me <me@example.org>"
iso.3.6.1.2.1.1.5.0 = STRING: "cachyos-x8664"
iso.3.6.1.2.1.1.6.0 = STRING: "Sitting on the Dock of the Bay"
iso.3.6.1.2.1.1.8.0 = Timeticks: (0) 0:00:00.00

Try allowing the 161 port

sudo ufw allow 161

It won’t start :slight_smile:

ufw rule already in…

Did you restart your system or reload ufw? Also check sudo ufw status to make sure its also allowed in UDP and not only TCP.