#HealthCheck

Ipstenu (Mika Epstein)Ipstenu@halfelf.org
2025-04-30

Automate Your Site Checks with Cron (and WPCron)

Want to monitor all your cron jobs on your WordPress site? You can do this, but it’s messy. Really messy.

#cron #healthCheck #wordpress

Daniele Verducci 🧉penguin86@social.ichibi.eu
2025-04-27
I forgot to reconnect the #ups monitoring usb cable, so I received some alarms from my #healthcheck script (https://git.ichibi.eu/penguin86/selfhost-utils/src/branch/master/healthcheck), but the #server #booted happily. I didn't #reboot since some months and the last time it was completely turned off was in september, so I was a little worried, but it worked perfectly!
Michael Jackmjack@hachyderm.io
2025-04-27

The Nextcloud pod as seen under the Podman containers menu in Cockpit.

In a termninal, I can run:

$ sudo podman healthcheck run nextcloud-app

to run the healthcheck on a single container, or run:

$ sudo podman ps

to see the health state for all running containers.

#podman #nextcloud #quadlets #healthcheck

Screenshot of Podman containers in Cockpit.

A Nextcloud pod is showing "State: healthy" for nextcloud-app, nextcloud-db  nextcloud-redis and nextcloud-web containiers
Michael Jackmjack@hachyderm.io
2025-04-26

4) caddy:latest

The caddy image doesn't have any built-in healthcheck, and even `curl` is missing.

Luckily `wget` is available, and I use it to call Nextcloud's status page. This does check for more than the health of the caddy service itself.

Add the following in the [Container] section of the nextcloud-web.container:
...
HealthCmd=wget --quiet --spider --tries=1 cloud.example.com/status.php || exit 1
HealthStartPeriod=10s
HealthInterval=30s
HealthTimeout=5s
HealthRetries=5
Notify=healthy
...

#podman #nextcloud #quadlets #healthcheck #caddy

github.com/caddyserver/caddy-d

Michael Jackmjack@hachyderm.io
2025-04-26

3) nextcloud:fpm-alpine

This one wasn't obvious, but I was able to put something together, inspired by a closed github issue. The HealthCmd uses the built-in `occ status` command.

Add the following in the [Container] section of the nextcloud-app.container:
...
HealthCmd=php occ status 2>/dev/null | grep -e "installed: true" -e "maintenance: false" -e "needsDbUpgrade: false" | wc -l | [ "`cat`" = "3" ] || exit 1
HealthStartPeriod=20s
HealthInterval=60s
HealthTimeout=10s
HealthRetries=5
Notify=healthy
...

#podman #nextcloud #quadlets #healthcheck

github.com/nextcloud/docker/is

Michael Jackmjack@hachyderm.io
2025-04-26

2) valkey/valkey:alpine

I've recently switched from redis to valkey, but they are compatible. I'll use the redis-cli tool to ping the service.

Add the following in the [Container] section of the nextcloud-redis.container:
...
HealthCmd=redis-cli ping || exit 1
HealthStartPeriod=10s
HealthInterval=30s
HealthTimeout=30s
HealthRetries=3
Notify=healthy
...

#podman #nextcloud #quadlets #healthcheck #redis #valkey

redis.io/learn/operate/redis-a

Michael Jackmjack@hachyderm.io
2025-04-26

1) mariadb:10.11

This one was easy, since healthcheck is documented.

Add the following in the [Container] section of the nextcloud-db.container:
...
HealthCmd=healthcheck.sh --connect --innodb_initialized || exit 1
HealthStartPeriod=10s
HealthInterval=10s
HealthTimeout=5s
HealthRetries=3
Notify=healthy
...

#podman #nextcloud #quadlets #healthcheck #mariadb

mariadb.com/kb/en/using-health

Michael Jackmjack@hachyderm.io
2025-04-26

I'm running a Nextcloud pod, based on quadlets. Now I want to add healthchecks to each container. At least it will look pretty in Cockpit...

In systemd unit files, the healthcheck is called a HealthCmd. Sometimes you're lucky and the corresponding Dockerfile has a healthcheck defined you can use, other times you have to make your own healthcheck.

I'm using 4 container images:

1) mariadb:10.11
2) valkey/valkey:alpine
3) nextcloud:fpm-alpine
4) caddy:latest

(The fifth container, a proxy server, mentioned in the repository below, is running on another host)

#podman #nextcloud #quadlets #healthcheck

codeberg.org/mjack/nextcloud-q

atareao 🦀🐍🐋🐧atareao
2025-04-17

688 - Tu contenedor Docker podría estar muerto y tu sin enterarte

el es una característica de para conocer la salud de un servicio, porque tu contenedor puede estar corriendo y el servicio muerto

Este es un tema que tendría que haber abordado hace mucho tiempo, pero que, como en otras cosas de la vida, vas dejando. Y al igual que sucede en la

youtube.com/watch?v=_QKajcoT4zg

atareao 🦀🐍🐋🐧atareao
2025-04-17

Tu contenedor Docker podría estar muerto y tu sin enterarte n
el es una característica de para conocer la salud de un servicio, porque tu contenedor puede estar corriendo y el servicio muerto

Escucha: atareao.es/podcast/tu-contened
Feed: atareao.es/mp3-feed/

Ipstenu (Mika Epstein)Ipstenu@halfelf.org
2025-04-16

Cute Bears, Uptime Kuma, and Docker

Chilling on my couch with an iPad and I built out my own replacement for UptimeMonitor.

#coding #docker #healthCheck

The Fifth Doctor, from Doctor Who, looking surprised with a caption of "Whaaaaa!?"Screenshot showing I'm checking the LWTV api for last death and confirming the died date.
2025-03-13

Как сделать livenessProbe для Kafka-консьюмеров и перестать перезапускать их вручную

Kafka-консьюмеры не всегда работают так стабильно, как хотелось бы. Иногда они просто зависают — без ошибок, без падений, но и без обработки сообщений. LivenessProbe в Kubernetes помогает автоматически перезапускать зависшие сервисы, но с Kafka-консьюмерами всё не так просто: стандартного решения для них нет. В этой статье разберём, как правильно реализовать livenessProbe для консьюмеров с помощью паттерна Heartbeat , чтобы не перезапускать их вручную.

habr.com/ru/companies/samolet/

#kafka #python #healthcheck #liveness #kubernetes

2025-03-07

Medical Thermometer Market is Driven by Rising Incidences of Fever

The Global Medical Thermometer Market is estimated to be valued at USD 2.39 Bn in 2025 and is expected to exhibit a CAGR of 8.6% over the forecast period 2025-2032.

Medical Thermometer Market- timessquarereporter.com/health

MrMed : Online Pharmacymrmedonlinepharmacy
2025-02-24

Don't delay your health! Learn when to schedule essential cancer screenings based on age, risk factors, and the latest guidelines. Early detection saves lives. Find out what's right for you.
mrmed.in/health-library/cancer

2024-11-03

Health checks in ASP.NET Core are used to check the health of the application. It is used to check the status of the application and its dependencies at regular intervals.

The app is considered alive and healthy if it can respond at the health endpoints.

Check out ilovedotnet.org/blogs/implemen for exact steps..

Click to join our WhatsApp Channel for free to get notified of dotnet content once every week - whatsapp.com/channel/0029VaAGM.

Health Checks in ASP.NET Core - https://ilovedotnet.org
Ed W8EMV :city_ann_arbor:w8emv@a2mi.social
2024-09-23

@jmhorner

Yes, I think this is possible.

For a completely DIY approach, use @termux which gives you a full Linux shell.

For a more polished setup I would look into @owntracks and I would cc @jpmens who might elaborate on same to see if it is flexible enough to do the needful.

Termux would need `cron` to work, I have not tried that myself, or maybe you do a while true sleep 600 style loop.

#gps #xmpp #dns #healthcheck #PortableOps #OwnTracks #selfhosting

David WakehamwakehamAMR
2024-09-18

I was trying to get Badger let me check suspicious lumpy bumps (quite probably mats).

However, after recent events.

Failed miserably - well not so much fur the cats - they got extra

Please don't look at my laundry… it is clean just not put away.

Some Bits: Nelson's Linkblogsomebitslinks@tech.lgbt
2024-07-30

Healthchecks business: Report of a small one person tech operation. It's a great service!
blog.healthchecks.io/2024/07/r
#lifestylebusiness #via:hackernews #healthcheck #uptime #devops #ping #sass #+

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst