Apr 032021
 

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

Mar 242021
 

I recently discovered that you can delete all snapshot from a ZFS filesystem with a single command. It came to me via fortune: You can delete a range of ZFS snapshots (a-z) in multiple ways. The following will delete d and all earlier snapshots: zfs destroy mypool/data@%d To delete d and all later snapshots: zfs […]

Mar 222021
 

I updated net/mosquitto from 1.6.7_1 to 2.0.8 on March 14, 2021. It did not get restarted at that time. It wasn’t until sysutils/anvil brought in a new certificate and attempted to restart mosquitto did the monitoring start detecting the problem: mosquitto wasn’t running. It’s the pid file Looking into it, nothing was logged when starting […]

Mar 132021
 
Eaton EMA114-10 ePDU - initial configuration

On Friday, the latest addition to the #homelab turned up. An Eaton EMA114-10 PDU. A PDU is a Power Distribution Unit. Think of it as a step up from a power strip. This is a 24 outlet, single phase, managed PDU. With it, individual outlets can be monitored for power usage and they can be […]

Mar 082021
 

This is not a significant post. It is for the record. I received 20 new LTO4 tapes recently. I attached the external labels to them after using https://kelvin.nu/barcode *label barcodes pool=Scratch storage=bacula-sd-02 drive=0 slot=1-7,11-15,17-23,39,47 Connecting to Storage daemon bacula-sd-02 at bacula-sd-02.int.unixathome.org:9103 … 3306 Issuing autochanger “slots” command. Device “bacula-sd-02” has 47 slots. Connecting to Storage […]

Mar 062021
 

I use irssi and a script keepnick for grabbing my nick when it becomes available. From time to time, I get this message: Irssi: Unknown command: keepnick How do I fix this? It has happened before. I did not blog it. Ouch. I could have this solved by now if I had. My solution, this […]