Skip to content

nikooo777/srcds-watchdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

git clone https://github.com/nikooo777/srcds-watchdog.git
cd srcds-watchdog
go build

Download

You can download prebuilt releases here.

No guarantees that it will work on your system. Also it's always best to compile it yourself!

About

A source engine gameserver watchdog

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages