LibreNMS

PF states limit reached – on three different host at nearly the same time

What are the chances that three different hosts, in thee different datacenters all display these messages within seconds of each other? The uptimes: [dvl@r720-02:~] $ uptime 1:42PM up 62 days, 15:01, 2 users, load averages: 0.04, 0.12, 0.18 [13:42 tallboy dvl ~] % uptime 1:42PM up 62 days, 15:37, 2 users, load averages: 0.17, 0.37, 0.34 [13:42 zuul dan ~] % uptime 1:42PM up 62 days, 14:56, 2 users, load averages: 0.24, 0.25, […]

PF states limit reached – on three different host at nearly the same time 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 »

Debugging snmp output when using LibreNMS

Librenms is my tool-of-choice for grabbing metrics from switches, servers, wireless access points, and anything else with an snmp interface. In this post: FreeBSD 14.0 LibrenMS 23.11.0,1 – updated to 23.11.0_1,1 within this post net-snmp-5.9.1_4,1 After updating some hosts to FreeBSD 14, the zfs application/extension broke. It was quickly amended after a report was lodged. However, after the fix, I still wasn’t getting graphs. It was nan all across the board for ZFS:

Debugging snmp output when using LibreNMS Read More »

Eaton ePDU Auth Algorithm & Crypto Algorithm for SNMPv3 Configuration

I recently acquired an Eaton EMA114-10 PDU. When adding it to LibreNMS, I did not know what Authorization Algorithm or Crypto Algorithm to use when configuring it for SNMPv3. Searching did not find anything. IRC did. dagb on the LibreNMS IRC channel knew what was used for older EATON devices. Turns out, that hasn’t changed. These are the answers: Auth Algorithm – MD5 Crypto Algorithm – AES I hope this saves you time.

Eaton ePDU Auth Algorithm & Crypto Algorithm for SNMPv3 Configuration Read More »

Recalibrating an APC UPS

This work was done in August. Since then, I have replaced the APC with an Eaton 5PX, and I am much happier. This might make for interesting reading, but that depends on how bored you are.. Following on from my failed calibration attempts, I thought I would try it again this morning before work. In this post: APC UPS SUA2200RM2U with a AP9619 Network Management card LibreNMS 1.66 FreeBSD 12.1 Before It’s 1132

Recalibrating an APC UPS Read More »

upgrading to LibreNMS 1.53.1

When upgrading to LibreNMS 1.53.1, your website will not load. You’ll see a message saying check the logs. There will be nothing useful in the logs. I checked. Nothing. This is how I fixed the loading issue. In this post: FreeBSD 12.0 LibreNMS 1.51 running in a jail Upgrading to 1.53.1 First attempts Running as www OK, let’s run that as www. Eh? What? References Searching around, I found nothing useful. I found

upgrading to LibreNMS 1.53.1 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 »

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