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 showed: [dan@webserver:/usr/local/libexec/nagios] $ ./check_ntp_time -4 -H varm -t 1 CRITICAL – Socket timeout after 1 seconds I checked […]

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 disable). I now return you to the original article. Today I was setting up my new server, varm,

Configuring unbound on FreeBSD 10.x Read More »

New server build – the parts list

NOTES: All prices exclude taxes and shipping, unless otherwise specified. When a price indicates delivered, it includes delivery and taxes. All prices are in USD. Yes, it’s time to build a new server because my current backup server is running out of space. This server will be used for more than just backups. What else, I’m not sure, but the servers it will replace also does these tasks (sorted by my estimate order

New server build – the parts list Read More »

New external HDD

While in Ottawa for BSDCan 2015 and PGCon 2015, I obtained a 4TB external USB HDD. It now contains copies of the videos back to 2012 for BSDCan and PGCon. This is for backup. All these videos exist elsewhere (e.g. Youtube) and I have these just for backup. NOTE: the videos for BSDCan 2015 and PGCon 2015 will be online as soon as they are available. There is no ETA. Here’s what it

New external HDD Read More »

My HDD are full. Time for a new server.

My disks are full. [dan@knew:~] $ zpool list NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT system 27T 21.4T 5.57T 79% 1.00x ONLINE – [dan@knew:~] $ zpool status pool: system state: ONLINE scan: scrub in progress since Tue Jun 9 03:26:26 2015 12.9T scanned out of 21.5T at 98.1M/s, 25h32m to go 0 repaired, 59.92% done config: NAME STATE READ WRITE CKSUM system ONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 gpt/disk0

My HDD are full. Time for a new server. Read More »

Putting FreeBSD 11 onto a Raspberry Pi 2

I have 5 Raspberry Pi 2 here. I’m going to install FreeBSD 11.x on them. I’ve already done one. The second is started, and now I’m going to write it down so I know what to do the next time. The wiki entry will contain the latest status. The binaries Rasperberry Pi 2 only runs FreeBSD 11.x (10.x will run on the B but not the 2). If you have Rasperberry Pi B,

Putting FreeBSD 11 onto a Raspberry Pi 2 Read More »

More Bacula Excludes with Jails and FreeBSD

Following on from my post about excluding the base OS with a Bacula FileSet, I decided to exclude some more. The starting point Here are the baselines: What else will I exclude? I decided to exclude the following as well: Adding iocage support Along the way, I extended the Exclude to work on server using the iocage jail management tool. I also split the Exclude out into its own file. Here is the

More Bacula Excludes with Jails and FreeBSD Read More »

WordPress and Fail2ban

I recently implemented Fail2ban on a FreeBSD jail host. It monitors log files within the jails, from the host. Offensive IP addresses which act up in one jail will be blocked at the host, thus blocking the rascal IP from all jails. This has been running for about two weeks. Today I added another tool, the WP fail2ban plugin. The plugin comes with a wordpress.local file, but to make it work with FreeBSD,

WordPress and Fail2ban Read More »

Excluding the base-OS when backing up FreeBSD jails with Bacula

I felt I was backing up way too much on my jail server. I was backing up files which would be installed as part of the OS. Let’s look at the esimate: *estimate level=full job=”slocum jail snapshots” Using Catalog “MyCatalog” Connecting to Client slocum-fd at slocum.int.unixathome.org:9102 2000 OK estimate files=2,824,716 bytes=239,568,332,325 * I decided to add these to the FileSet: Options { Exclude = yes WildDir = “/usr/jails/*/.zfs/snapshot/basejail” WildDir = “/usr/jails/*/.zfs/snapshot/bin” WildDir =

Excluding the base-OS when backing up FreeBSD jails with Bacula Read More »

Scroll to Top