allgood.systems: Monitoring the duration of your background jobs

Since the launch of allgood.systems you were able to monitor if your background jobs, scheduled tasks, cron jobs, etc. were running whenever you expected them to be running. This was accomplished by defining an interval on allgood and then sending a request to a check-in URL at the end of your script. If the request didn’t arrive at the end of the specified interval, you would get a notification that your job is down. ...

September 26, 2023 · David Hamann

Deciphering the FileMaker Server keystore

A description of how FileMaker Server stores secrets and how to approach deciphering an unknown keystore.

May 29, 2023 · David Hamann

Uploading files to FileMaker Server without a Pro client

Back in the dark ages the FileMaker Server admin console (then Java Web Start) allowed you to remotely upload new fmp12 files to the server. For some reason this feature did not survive the admin console rewrite a decade (?) ago. Rather, the upload feature was integrated into the Pro client. Later, as the Admin REST API was released, the upload feature was still missing. The only two options to upload fmp12 files to the server are thus: ...

March 16, 2023 · David Hamann

Beware of wilcards paths in sudo commands

Say you want to allow a non-root user on Linux to execute a couple of scripts as root or another user with more privileges. A common way of doing this is to make an entry in the sudoers file. If the scripts are written in Python, it could look something like this: johndoe ALL=(ALL) /usr/bin/python3 /opt/utils/*.py Essentially, this means that the user johndoe can execute /usr/bin/python3 /opt/utils/*.py on any machine (ALL) as any user ((ALL)). ...

February 24, 2023 · David Hamann

Reading Aranet4 sensor data from Python

I got myself an Aranet4 device to monitor CO2 levels in my office. The monitor gives pretty accurate readings and has very low energy demands (due to the e-ink display) (here’s the datasheet). While the intended way to read the measurements is to use the mobile app, it’s always good to be able to access the raw data yourself; you get to store as many readings as you like (otherwise limited to past 7 days) and can analyse them in any way you want. ...

February 5, 2023 · David Hamann