snmp

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 »

net-mgmt/net-snmp wants /snmp/snmpd.conf

NOTE: If you are looking to configure net-mgmt/net-snmp for the first time, the latest article is Configuration of net-mgmt/net-snmp on FreeBSD. snmpd can be royal pain to configure. I got my hints from Ryan Steinmetz, the maintainer for the FreeBSD port. Lately, net-snmpd has changed how net-snmp-config works. In this post: FreeBSD 12.2 net-snmp-5.9_3,1 Compare my hints with the following, run today with net-snmp-5.9_3,1: [dan@nginx01:~] $ sudo net-snmp-config –create-snmpv3-user -ro -x AES -a

net-mgmt/net-snmp wants /snmp/snmpd.conf Read More »

Configuring LibreNMS Nginx statistics

This post might help me in configuring net-snmp to deliver Nginx statistics to LibreNMS. As such, this post may not be as helpful to you as the official documentation. Key is this URL: http://127.0.0.1/nginx-status The nginx.conf file needs something like this: NOTE: the fastcgi_pass line might also be fastcgi_pass 10.80.0.92:9000 depending on what you find in /usr/local/etc/php-fpm.conf. You should see something like this in the script, which you might have copied from https://github.com/librenms/librenms-agent/blob/master/snmp/nginx

Configuring LibreNMS Nginx statistics Read More »

Installing net-mgmt/net-snmpd and getting it running

NOTE: If you are looking to configure net-mgmt/net-snmp for the first time, the latest article is Configuration of net-mgmt/net-snmp on FreeBSD. NOTE: IF YOU WANT TO GET IT WORKING, skip down to The Recipe. See also net-mgmt/net-snmpd wants /snmp/snmpd.conf for later versions of net-snmpd. I want to measure more stuff. I have catci running on some machines, but I have long neglected those stats. In response to my recent post on the FreeBSD

Installing net-mgmt/net-snmpd and getting it running Read More »

Smart quotes are not so smart: net-snmp-config –create-snmpv3-user for LibreNMS

NOTE: If you are looking to configure net-mgmt/net-snmp for the first time, the latest article is Configuration of net-mgmt/net-snmp on FreeBSD. I wasted a few hours today trying to figure out why special characters in passwords were causing problems. I was chasing the wrong problem. Conclusion: smart quotes are dumb. Full disclosure: I should have seen the problem. The problem is not with LibreNMS. Here is my procedure for creating an snmp read-only

Smart quotes are not so smart: net-snmp-config –create-snmpv3-user for LibreNMS Read More »

Scroll to Top