Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 wrong

Additionally for servers that are online, a summary is printed.

## Example:

```
$ ./srcds-watchdog 151.80.111.130:27015

INFO[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!