Debian-snmp error after 6.2-11 update

tl5k5

Well-Known Member
Jul 28, 2017
60
1
48
51
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!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!