FreeBSD

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 […]

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

Deleting files from /usr/, breaking your system, then recovering

Yes, this was not fun. I took some notes, but not everything. Please read the notes if you plan on doing these foolish things. I was cleaning up /usr/src on a host which does not hold src. I looked and found: It was there that I knew I’d done the wrong thing. Trying snapshots Let’s

Deleting files from /usr/, breaking your system, then recovering 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

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

CAM status: ATA Status Error READ_DMA48 Error 5, Retries exhausted

This turned up this morning: Aug 5 05:10:04 knew kernel: (ada0:ata0:0:0:0): READ_DMA48. ACB: 25 00 d0 c4 6e 40 57 00 00 00 60 00 Aug 5 05:10:04 knew kernel: (ada0:ata0:0:0:0): CAM status: ATA Status Error Aug 5 05:10:04 knew kernel: (ada0:ata0:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 40 (UNC ) Aug 5 05:10:04

CAM status: ATA Status Error READ_DMA48 Error 5, Retries exhausted Read More »

Nagios check_ntp_time failed with ntpd on FreeBSD 10.2

As I was setting up the new varm server, one of the Nagios checks I included was check_ntp_time. It comes standard with nagios-plugins. The check was reporting NTP CRITICAL: Offset unknown. Running the check from the command line showed: [dan@webserver:/usr/local/libexec/nagios] $ ./check_ntp_time -4 -H varm NTP CRITICAL: Offset unknown| Running the check with a timeout

Nagios check_ntp_time failed with ntpd on FreeBSD 10.2 Read More »

Configuring unbound on FreeBSD 10.x

NOTE: I found out these settings do not persist after a reboot. Annoying. I’ll get back to that soon for a fix. EDIT 2021-05-05: On more recent FreeBSD, say 12.2, to disable resolvconf.conf, do this, as provided by [dvl@r720-02:~] $ cat /etc/resolvconf.conf resolvconf=NO [dvl@r720-02:~] $ The above is documented in man 8 resolvconf.conf (search for

Configuring unbound on FreeBSD 10.x Read More »

Scroll to Top