[mrtg] Monitoring Counterstrike

Kenneth Due kenneth at computercafeen.dk
Sat Jun 23 08:35:41 MEST 2001

A while ago somebody asked me a question on how to monitor Halflife or
Counterstrike servers

I forgot to reply to the mail, hope it's not to late

Well...here it is

Workdir: <some workdir>
MaxBytes[_]: 20
Unscaled[_]: dwmy
Withpeak[_]: wmy
YLegend[_]: Players
Legend1[_]: Users playing
Legend2[_]: &nbsp;
Legend3[_]: Peak users playing
Legend4[_]: &nbsp;
LegendI[_]: &nbsp;Users playing :
LegendO[_]: &nbsp;
ShortLegend[_]: &nbsp;
Options[_]: nopercent,noinfo,gauge,noo,nobanner,nolegend,integer

Target[players]: `/home/mrtg/kkrcon.pl -a <ip> <rcon_password> | grep
players | cut -c10-11`
Title[players]: Number of players
PageTop[players]: <H1>playerstats for gameserver</H1>
   <TR><TD>CPUType:</TD>     <TD><some type here></TD></TR>
   <TR><TD>Max Players:</TD>  <TD>16</TD></TR>
   <TR><TD>Ip:</TD>         <TD><some IP here></TD></TR>

the kkrcon.pl script (and KKrcon.pm) can be obtained from
I had to manually edit the path in kkrcon.pl to point to the KKrcon.pm module

This cfg-file can be seen in work at

Kenneth Due

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list