galexrt / srcds_exporter

Prometheus exporter for SRCDS Gameserver using Source RCON.
Apache License 2.0
25 stars 6 forks source link

Team Fortress 2 #4

Closed BlueHairMinerBoy closed 2 years ago

BlueHairMinerBoy commented 3 years ago

Trying to run it against a TF2 server - getting the following: FATA[0000] rcon: could not parse timeout duration err="time: invalid duration \"\""

status from console is as follows:

] rcon status
hostname: fruit server
version : 6809746/24 6809746 secure
udp/ip  : 10.65.65.61:27015
account : not logged in  (No account specified)
map     : ctf_2fort at: 0 x, 0 y, 0 z
tags    : ctf
players : 0 humans, 0 bots (24 max)
edicts  : 1048 used of 2048 max
# userid name                uniqueid            connected ping loss state  adr
galexrt commented 3 years ago

Post your srcds_exporter config file (with removed passwords).

BlueHairMinerBoy commented 3 years ago

Just used the example one:

---
options:
  connectTimeout: 60s
  cacheExpiration: 15s
  cacheCleanupInterval: 11s
servers:
  test1:
    address: 10.65.65.61:27015
    rconPassword: 
galexrt commented 3 years ago

Which version are you running?

BlueHairMinerBoy commented 3 years ago

Latest version, pulled from this repo yesterday.

galexrt commented 3 years ago

I have pushed some updates to the code, please check with the latest changes.

BlueHairMinerBoy commented 2 years ago

Forgot about this issue, sorry. Still getting this issue on the latest version. "FATA[0000] rcon: could not parse timeout duration err="time: invalid duration \"\"""

galexrt commented 2 years ago

@BlueHairMinerBoy Could you please post the output of srcds_exporter --version and / or which version are you running?

The error message you posted is not in the code of the v1.3.2 release..

galexrt commented 2 years ago

Closing I wasn't able to reproduce the issue with the v1.3.2 release so far.