SRCDS Steam group


Monitoring plugin not fully works (FPS stats pbs)
#1
Hi,

we've got a problem, we've just installed the plugin to stat FPS for srcds on linux (in this case, counter strike source) and the plugin runs verry well, it manages to get all the information, except the FPS of the serv

no need to say, that we've installed this plugin to stat fps Big Grin

we've linked the plugin to the right ip, as you can see here, there a no trace of FPS, but the plugin shows the number of player....

http://77.72.90.38/munin/localdomain/localhost.localdomain.html#Sourceds

Any help would be appreciated. Thanks.
Reply
#2
Try to run

Code:
munin-run srcds_fps_1.2.3.4_27015
(replace 1.2.3.4_27015 with your server IP)

The result should be:
Code:
fps.value 448

If you get values over 500 (ie. you've got 1000 FPS server), then either change from the script itself (srcds_fps_) on line 33 the maximum value:

Code:
my $MAX     = $ENV{srcdsfpsmax}  || 500;
to
Code:
my $MAX     = $ENV{srcdsfpsmax}  || 1000;

or then you can add it to your config file (/etc/munin/plugin-conf.d/munin-node):
Code:
[srcds_fps_1.2.3.4_27015]
env.srcdsfpsmax 1000

It also seems that even though player and uptime stats are OK, the FPS stats don't even get the connection to the server. Make sure you've added rcon password for all the scripts to your munin config. Like this:

Code:
[srcds_fps_1.2.3.4_27035]
env.srcdspass abc123
env.srcdsfpsmax 1000
[srcds_cpu_1.2.3.4_27035]
env.srcdspass abc123
[srcds_players_1.2.3.4_27035]
env.srcdspass abc123
[srcds_inout_1.2.3.4_27035]
env.srcdspass abc123
[srcds_uptime_1.2.3.4_27035]
env.srcdspass abc123

[srcds_fps_5.6.7.8_27035]
env.srcdspass qwerty
env.srcdsfpsmax 1000
[srcds_cpu_5.6.7.8_27035]
env.srcdspass qwerty
[srcds_players_5.6.7.8_27035]
env.srcdspass qwerty
[srcds_inout_5.6.7.8_27035]
env.srcdspass qwerty
[srcds_uptime_5.6.7.8_27035]
env.srcdspass qwerty

After you've confirmed that you get FPS statistics with the "munin-run" command, then you know you should have right setup. If the cause is the "500 limit", then you also need to delete the already created rrdtool database files, so Munin will create them again with 1000 FPS limit.

Code:
rm -f /var/lib/munin/localdomain/localhost.localdomain-srcds_fps*

I'd be happy to hear how you liked the install instructions. Was this the first time you setup munin? Were there problems that you think could've been solved with better instructions? I will probably change the default 500 FPS limit to 1000 in the files, so at least one thing will change Smile.
Reply
#3
thanks you for quick response and all this information, i'll try ASAP.
i guess incrasing 500FPS limit is a good idea Big Grin

and yes, it was the first time we setup munin. i did not installed it by myself, i'm just passing informations, so i could not tell you if this pb could've been sovled with better instruction.

thanks Wink
Reply
#4
it works thanks, seems to be the fps limit.
Reply
#5
Nice, thanks.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)