GameServerManagers / GameServerManagers/LinuxGSM
[Bug]: After Valheim Update LGSM 'monitor' command no longer able to detect if Valheim is up
- Dominant language
- Shell
- Stars
- 4.9k
- Forks
- 864
- PR merge metrics
- No merged PRs in 30d
Description
### 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
```bash
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
```shell
```
### Steps to reproduce
1. Run ./vhserver monitor
Contributor guide
Research direction
Start by reproducing the issue with ./vhserver monitor on the stated Valheim and Debian 12 setup, then inspect the monitor output around gsquery and port 2457. Done means the monitor command correctly detects whether Valheim is running and restarts it when it is down.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, shell
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100