MQTT

Running net/mosquitto on FreeBSD as non-root and with a different pidfile

net/mosquitto is an open source (BSD licensed) message broker that implements the MQ Telemetry Transport (MQTT) protocol. I use it for event notification. Related posts: mosquitto: upgrade from 1.x to 2.x requires configuration changes to keep working Using mtqq to create a notification network: mosquitto, mqttwarn, hare, and hared Installing Owntracks recorder on FreeBSD In […]

Running net/mosquitto on FreeBSD as non-root and with a different pidfile Read More »

mosquitto: upgrade from 1.x to 2.x requires configuration changes to keep working

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

mosquitto: upgrade from 1.x to 2.x requires configuration changes to keep working Read More »

Installing Owntracks recorder on FreeBSD

I went and did a thing. I ported OwnTrack Recorder to FreeBSD. In this post: FreeBSD 12 owntracks/recoder 0.8.4 I refer to owntracks/recorder as ot-recorder. The FreeBSD service is known as otrecorder On FreeBSD, ot-recorder runs as the ot-recorder user, created by the package. I did not want it running as root. ot-recorder installs mosquitto

Installing Owntracks recorder on FreeBSD Read More »

Using mtqq to create a notification network: mosquitto, mqttwarn, hare, and hared

As you read this post, keep in mind that my particular use case of notification on ssh login is not for everyone. It may not appeal to you. In fact, you might find this to be an absolutely ridiculous thing to do. I respect that. I suggest that somewhere within your network there is at

Using mtqq to create a notification network: mosquitto, mqttwarn, hare, and hared Read More »

Scroll to Top