snmpd

Configuration of net-mgmt/net-snmp on FreeBSD

I have several posts about net-mgmt/net-snmp – this is the latest. I wrote it back in June and it’s been sitting in drafts ever since. If you read the previous post, you’ll understand why I wrote a new one. In this post: FreeBSD 14.1 net-snmp-5.9.4_6,1 This is the configuration I start with. [dvl@r720-02-nginx01:~] $ cat /usr/local/etc/snmpd.conf agentAddress udp:127.163.0.80:161,tcp:127.163.0.80:161 sysLocation BSD Cabal HQ sysContact dan@langille.org extend nginx /usr/local/etc/snmp/nginx-python3.py extend phpfpmsp /usr/local/etc/snmp/phpfpm-sp When adding auth, […]

Configuration of net-mgmt/net-snmp on FreeBSD Read More »

Notes on running net-snmp as non-root

When feasible, I prefer to run things as non-root. A recent commit to net-snmp has made this possible. By its nature, being a new change, it took me some time and help to figure out what needed to be changed. Before doing this yourself, I recommend waiting until the two code reviews mentioned below are committed. In this post: FreeBSD 14.0-RELEASE-p6 net-snmp-5.9.4_2,1 librenms-24.5.0,1 I include commands from different host; please do not be

Notes on running net-snmp as non-root Read More »

Scroll to Top