Debian-snmp error after 6.2-11 update

tl5k5

Well-Known Member
Jul 28, 2017
62
1
48
52
After updating from 6.2-9 to 6.2-11 I get the following snmp error from all the nodes in my cluster:
Code:
pve01.xxx.xxx : Aug 25 11:45:13 : Debian-snmp : user NOT in sudoers ; TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/local/bin/proxmox

Looks like i'll be getting these notifications every 5 mins.

I've disabled snmpd for the moment. Any ideas on how to fix this issue?

Thank you!!
 
The issue is most likely not really Proxmox related:
* PVE does not use snmpd
It seems something changed on your system w.r.t. the snmpd installation and thus your custom config is not working anymore:
* I guess that '/usr/local/bin/proxmox' (or whatever the complete commandname in the log says) is a custom script to monitor PVE via SNMP
* This seems to need root privileges, which it gets via sudo
* the sudo configuration changed in some way not allowing the Debian-snmp user to run the command as root

->
* Check your snmpd config for how the script gets invoked
* Check if the user snmpd runs as has changed along with the upgrade

I hope this helps!