Monitor Proxmox on Librenms

Hi,

Been trying to setup monitoring for my proxmox on librenms.

Keep getting this error;

Could not connect to X.X.X.X, please check the snmp details and snmp reachability

SNMP v2c: No reply with community random8886

my snmp.conf file on proxmox is as below;

[email protected]:~# cat /etc/snmp/snmpd.conf
# Change RANDOMSTRINGGOESHERE to your preferred SNMP community string
com2sec readonly default random8886

group MyROGroup v2c readonly
view all included .1 80
access MyROGroup “” any noauth exact all none none

syslocation Rack, Room, Building, City, Country [GPSX,Y]
syscontact Your Name [email protected]

#Distro Detection
extend distro /usr/bin/distro
#Hardware Detection (uncomment to enable)
extend hardware '/bin/cat /sys/devices/virtual/dmi/id/product_name’
extend manufacturer '/bin/cat /sys/devices/virtual/dmi/id/sys_vendor’
#extend serial '/bin/cat /sys/devices/virtual/dmi/id/product_serial’

Thanks

KM

Is snmpd service running on the proxmox server?

snmpd is running on the proxmox server.

[email protected]:~# service snmpd status
● snmpd.service - Simple Network Management Protocol (SNMP) Daemon.
Loaded: loaded (/lib/systemd/system/snmpd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-12-06 13:12:35 EAT; 1 day 20h ago
Process: 16687 ExecStartPre=/bin/mkdir -p /var/run/agentx (code=exited, status=0/SUCCESS)
Main PID: 16688 (snmpd)
Tasks: 1 (limit: 4915)
Memory: 9.8M
CGroup: /system.slice/snmpd.service
└─16688 /usr/sbin/snmpd -Lsd -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux mteTrigger mteTriggerConf -f -p /run/snmpd.pid

It’s not listening for a connection, add this:

agentAddress udp:161,udp6:[::1]:161

This may not be the only issue, I haven’t used v2c in years. Might I ask why you are?