I have this in mrtg.cfg:

#
# CSServer stats: (csserv1)
#

Target[csserv1]: `perl /usr/apache/htdocs/mrtg/quake-mrtg.pl 209.221.142.126
27015 hls`
Title[csserv1]: Llarian.net CS Server
MaxBytes[csserv1]: 16
PageTop[csserv1]: <H1>Llarian.net CS Server</H1>
Options[csserv1]:
gauge,nopercent,noinfo,growright,integer,unknaszero,absolute
ShortLegend[csserv1]: Players
WithPeak[csserv1]: ymwd
YLegend[csserv1]: Players
LegendI[csserv1]: Players:
LegendO[csserv1]:
Legend1[csserv1]: Players
Legend2[csserv1]: -
Legend3[csserv1]: Maximum number of Players
Legend4[csserv1]: -


You can grab the script referenced above from here:
http://cs.llarian.net/quake-mrtg.txt  (renamed to .txt so it downloads
instead of trying to run it)

Obviously, you'll also need qstat from http://www.qstat.org

You can see the resulting graph here:
http://www.llarian.net/mrtg/data/csserv1.html

James


----- Original Message -----
From: "kama" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 10, 2002 3:08 PM
Subject: [hlds_linux] servers statistics.


>
> Is there anyone that have stats-script for a hl-server?
>
> I dont want player stats.. I want to be able to monitor like
> num of players printed to a rrdtool/mrtg graph.
>
> Is there any written or do I have to write on my self? I dont
> like to invent the wheel all over again.
>
> /kama
>
> I have no thoughts. None whatsoever. They don't pay me to think.
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to