Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikooo777/srcds-watchdog
A source engine gameserver watchdog
https://github.com/nikooo777/srcds-watchdog
Last synced: about 2 months ago
JSON representation
A source engine gameserver watchdog
- Host: GitHub
- URL: https://github.com/nikooo777/srcds-watchdog
- Owner: nikooo777
- Created: 2020-04-11T01:00:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-14T13:12:52.000Z (almost 2 years ago)
- Last Synced: 2024-06-20T14:28:13.357Z (7 months ago)
- Language: Go
- Size: 4.88 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# srcds-watchdog
## Usage
This tool queries a given srcds gameserver and returns:* status 0 if the server is online
* status 1 if the server is offline
* status 2 if the program malfunctions
* status 3 if the parameters passed are wrongAdditionally for servers that are online, a summary is printed.
## Example:
```
$ ./srcds-watchdog 151.80.111.130:27015INFO[0000] 151.80.111.130:27015 is online
INFO[0000] Hostname: Covid-19 Mod (V1) by ElitE HunterZ |Voice, Rank, 2020 event|
INFO[0000] Players: 53/64
INFO[0000] Game: ████► Zombie Hunting
INFO[0000] Version: 5394425
```## Building
You will need to have Golang 1.14+ installed. refer to online documentation for how to install it.```bash
git clone https://github.com/nikooo777/srcds-watchdog.git
cd srcds-watchdog
go build
```## Download
You can download prebuilt releases [here](https://github.com/nikooo777/srcds-watchdog/releases).No guarantees that it will work on your system. Also it's always best to compile it yourself!