HowTo Collect Traffic Stats from Akamai using Perl

Posted by asanabria6910 on Oct 8, 2008 12:00 AM
By linuxdynasty.org
Mail this story
Web version

In order to graph the traffic from Akamai, I used to use MRTG calling a PERL/SOAP script which retrieved and combined the data from multiple cpcodes. This proved to be quite inefficient as each combination meant a separate SOAP call. I had thought about injecting the data into Zenoss, but the nature of that project dealt more with SNMP and simple commands and was not the ideal recipient of a multi-faceted SOAP retrieval mechanism. I finally got a chance to rewrite it this year as a perl script which connects to Akamai, acquires ALL the cpcodes for a particular login and, based on the cpcode name prefix, organizes the data by creating/updating RRD files and graphing them as PNG images (as well as creating MRTG-like HTML files).

Full Story

Printed at http://lxer.com/module/newswire/view/109935/index.html