About
Screenshots
Gallery
Laptop Status
Billing Check
CPU Load
Virus Stats
Weather
Dialup Usage
MrHouse
Portmaster
Webserver
Net History
Gameservers
Weather Stats
Space Shuttle
Tomcat
IRC
Link Status
HPCx
RT2 monitoring
Rainbow
Routing
iButton
eMail
IMAP
mpot-waix
Nameserver
Data Management
FluxScope
DNS Query Rate
Shaping Graph
Squid+Net
WX200
License
Download
Compiling
Mailinglists
Tutorial
RRDtool MIB
RRDtool Manual
RRDcgi Manual
Perl Bindings
RRD World
Developers
Contributors


Website and
RRD TOOL
created by
Tobi Oetiker

For more information
about CAIDA write to
info@caida.org




Swiss Original.  Mirrors: AU, TW, IE, SE, US,

Terminal Server Activity

by Jason Warnes

I work for health care region in central Canada. We run a fairly large MS Terminal Server and Citrix envrionment. A collegue and I were curious about what the connection count on our server farm was like. I had just downloaded RRDTool and just started messing with Perl, so I was looking for something to try it out on.

So what we did was query our server farm every 10 minutes using a utility called TSQuery from Clusteresis, and logged the output to a file. Then using a Perl script we processes the output file and store the connection information in individual RRD's for each server. The Perl script then created individual graphs for each server like this:

Then, the Perl script creates a rainbow graph of all the connection information for all the servers to give an overall picture of how busy the environment is like this:

That rainbow graph was a REAL pain in the butt to get working. It was one of my first Perl scripts I ever wrote but it turned out nicely. It even takes into account servers that enter or leave the environment and will automatically shift colours accordingly so the entire RGB colour spectrum is used.

I love RRDTool and Perl!  I've only been using them for under a year and it's already becoming a valuable systems managment tool.


This page was updated on, Fri Apr 15 18:03:39 2005