snmp

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

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 SHA -A ‘secret123’ …

net-mgmt/net-snmpd 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 …

Configuring LibreNMS Nginx statistics Read More »

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

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 Forums, I was …

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

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 user, as provided …

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