Which repo will pkg install from on FreeBSD?
This may be one of the most important commands I have learned this month. It tells me where the packages will be fetched from.
Which repo will pkg install from on FreeBSD? Read More »
This may be one of the most important commands I have learned this month. It tells me where the packages will be fetched from.
Which repo will pkg install from on FreeBSD? Read More »
I have a custom patch for Nagios. I use poudriere for building my FreeBSD ports. EDIT: 2023-03-25 I have change the local for my patch files using a hook. See poudriere hooks – I am no longer using /usr/ports/distfiles/local-patches>; instead, I’m using /usr/local/etc/poudriere.d/local-patches. How can I combine the two? I asked that question on the FreeBSD Ports Mailing list. The answer came via IRC, from bsd-x. He introduced me to the concept of
FreeBSD custom port patches when using poudriere Read More »
Last night, and again this morning, I thought my inbox was rather light. When I checked Nagios, I found out why. I saw two mail servers: nyi-vpn check_postfix_queue CRITICAL 06-10-2014 12:12:38 0d 12h 51m 40s 4/4 96 mail(s) in queue supernews-vpn check_postfix_queue CRITICAL 06-10-2014 12:11:10 0d 10h 48m 8s 4/4 124 mail(s) in queue It seems we have a problem. Checking the mail logs for one of those servers, I see the reason:
poudriere: options, it’s all about options Read More »
Every day for weeks I’ve been seeing these entries in my logs: I could ignore them, but that’s not in my nature. I want to know why this is occurring and fix it. Attempting to find the source, I started a tcpdump on the host: That wasn’t much help. I think I should have logged it to a file. After seeing the log messages again today, and while a little bit of unexpected
named: error sending response: host unreachable Read More »
I’m using FreeBSD 9.2 and Nagios 3.5.1. A few weeks ago I wrote about freebsd-update reminding you to upgrade your affected systems. Since then, freebsd-update has continued to send me false positives about upgrading. Suggestions have been made that I track down Colin Percival at BSDCan 2014, which starts in few days. However, I know at least four people have already arrived, two days before any official event, the first of which is
Nagios plugin for pkg audit (replacing portaudit) on FreeBSD Read More »
It seems that when I decided to send a filesystem from one server to another, I neglected to establish sufficient space existed. This morning, before I headed to BSDCan, I found that my server was very sluggish and slow to respond. Nagios was flagging all kinds of errors, some of which I’d never seen before. Looking at the system in question, I found the system 95% full: $ zpool list NAME SIZE ALLOC
zfs receive stalled, filesystem 95% full Read More »
I have two ZFS servers which have several TB of space. One of the great ZFS features is the ability to send one filesystem to another filesystem, on the current or another server. I will do this over ssh. One of my servers has a lot of spare space, so I figure I will duplicate my backups there. The source This server contains a Bacula Storage Daemon with access to about 27TB, with
zfs send on FreeBSD over ssh using mbuffer Read More »
Here is a list of the jails on the two main hosts I use at home: knew I used to have a host called kraken. I created a server server, kraken-new, or knew. knew performs many tasks: runs Bacula regressions tests against various database versions hosts the backups for my Bacula server runs my home mail server on a daily basis, performs a restore of each database backup into a database to make
When I acknowledge a service problem on Nagios, I do not want to send a notification that it has been acknowledge. This patch, against Nagios 3.5.1 changes the default from CHECKED to not checked. With credit to Marc Powell for his suggestion. After that initial success, I went one step further and supplied a default comment of ‘OK’. Acknowledging a service problem is now three clicks. The full patch is here.
nagios – acknowledge a service problem – Send Notification default unchecked Read More »
I’m starting to play with RabbitMQ as part of a new project. The first goal: get it installed and running. I’m going to do this in a jail running FreeBSD 9.2, but this should be the same if you running a non-jail. I installed via: pkg install rabbitmq In /usr/local/etc/rabbitmq/rabbitmq-env.conf I have the following: NODENAME=bunny@sally NOTE: change sally to the hostname you are installing on. I an doing this in a jail. In
Getting RabbitMQ running: FreeBSD 9.2 Read More »