User story
As a Server Admin, I want LinuxGSM 'monitor' command to detect that Valheim is down and restart Valheim so that I can maintain a high SLA
Game
Valheim
Linux distro
Debian 12
Command
command: monitor
Further information
vhserver@valheim:~$ ./vhserver monitor
[ OK ] Monitoring vhserver: Checking session ... OK
[ FAIL ] Monitoring vhserver: Querying port: gsquery: 127.0.0.1:2457 : 60/5 ... FAIL
[ OK ] Monitoring vhserver: Sending Discord alert
[ OK ] Stopping vhserver: Graceful: CTRL+c: 4 ... OK
[ OK ] Starting vhserver: The Royal Refuge
Relevant log output
Steps to reproduce
- Run ./vhserver monitor