I did a quick search of my emails, I think the post below (by Neph) is what
you're looking for..

~Neonicacid


> Hey,
>
> To collect data from servers for graphing in cacti I wrote a simple
> python rcon script:
>
> http://nemu.nephyrin.net/cacti/scripts/rcon.py
>
> I then wrote some other shell scripts to parse the requested data from
> it, IE for my players graph:
>
> http://nemu.nephyrin.net/cacti/scripts/players.sh (just greps the last
> number on the second line from the rcon stats command)
>
> So then I add a data input of type Script/Command to cacti:
> "<path_cacti>/scripts/players.sh <server> <port> <rcon_pass>"
> Then I add a data source template for it, a graph template for my
> players graph, then create a data source with my server/port/pass, and
> a graph to graph it. If those steps are confusing you'll have to read
> the cacti documentation - learning to use it fully was much harder
> than writing the scripts to scrape the data for me :-P
>
> - Neph
>


On Thu, Aug 14, 2008 at 6:54 PM, MStiehm <[EMAIL PROTECTED]> wrote:

> Ohh that would be great please do. Thanks Neph
>
>
> -=-
> There was a thread about this earlier, if you look back on hlds_linux.
> There were also links to using cacti to track things like TF2 players
> in a server and such, let me know if you need them forwarded.
>
> - Neph
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds
>



-- 
[I Less Than Three Aimee]
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

Reply via email to