Healthchecks.io is a platform that provides monitoring services for scheduled tasks, cron jobs, and other periodic processes. You can self-host Healthchecks on your own system to monitor your tasks and receive notifications if any of them fail to run. Here is a tutorial on how to install Healthchecks on NetBSD.
pkgin update
python37
, py37-virtualenv
, py37-pip
, py37-psycopg2
, py37-requests
, py37-gunicorn
, and py37-setproctitle
.pkgin install python37 py37-virtualenv py37-pip py37-psycopg2 py37-requests py37-gunicorn py37-setproctitle
healthchecks
:useradd -d /var/healthchecks -m -s /bin/sh healthchecks
su healthchecks
virtualenv venv
source venv/bin/activate
pip install healthchecks
deactivate
su postgres
createdb healthchecks
vi /var/healthchecks/hcenv/lib/python3.7/site-packages/healthchecks/conf.yml
DB_NAME: ''
DB_USER: ''
DB_PASSWORD: ''
DB_NAME: 'healthchecks'
DB_USER: 'postgres'
DB_PASSWORD: '<password>'
/var/healthchecks/hcenv/bin/gunicorn --bind 127.0.0.1:8000 --workers 4 hc.wsgi
http://localhost:8000
.Congratulations! You have successfully installed Healthchecks on your NetBSD machine. To make sure that Healthchecks starts automatically, you can add the Gunicorn command to your system's startup script.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!