Valheim/udp service monitoring #521

Closed
opened 2026-02-28 01:49:23 -05:00 by deekerman · 0 comments
Owner

Originally created by @Setsua on GitHub (Nov 3, 2021).

I was looking for a way to monitor valheim with uptime kuma which is not (yet?) possible with Uptime Kuma.
But I found a workaround which could help a few people.

I've installed nginx on my valheim server.
I've added a cronjob which checks every minute if the process is running and post a 1 into a html file, if not echo a 0 into it.

* * * * * if [ $(pidof ./valheim_server.x86_64) ]; then echo 1 > /var/www/html/index.html; else echo 0 > /var/www/html/index.html;fi

Then I used the HTTP(s) Keyword request to look for a 1 at given address.

keyword

Note: If this "Issue" isnt valid just delete it.

#551
#9

Originally created by @Setsua on GitHub (Nov 3, 2021). I was looking for a way to monitor valheim with uptime kuma which is not (yet?) possible with Uptime Kuma. But I found a workaround which could help a few people. I've installed nginx on my valheim server. I've added a cronjob which checks every minute if the process is running and post a 1 into a html file, if not echo a 0 into it. `* * * * * if [ $(pidof ./valheim_server.x86_64) ]; then echo 1 > /var/www/html/index.html; else echo 0 > /var/www/html/index.html;fi` Then I used the HTTP(s) Keyword request to look for a 1 at given address. ![keyword](https://user-images.githubusercontent.com/37017004/140230910-ea3993c9-502b-4a64-afed-72fc4a5d9715.png) Note: If this "Issue" isnt valid just delete it. #551 #9
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uptime-kuma#521
No description provided.