Hi guys,
After a few trial and errors, I finally have something functional to extract the data from my TED 5000 unit and use Cacti to graph the data.
I'd like to share my scripts with you guys.
I'd appreciate to have some feedback for future improvements. Please note, I'm not a professional developer.
Everything is written in Perl language and all reference to files is for Linux/Unix.
Everything could also run under Windows, as long you modify the file references and off course, you'd need to install Perl and some libraries.
That being said, ted5000xml.pl gets the LiveData.xml file from the gateway, does some scale adjustments and prints the output.
On the other hand, ted5000xml-5min, downloads the last 5 min of data from the gateway for MTU#1 (I only have one MTU though), and averages the output.
For the Cacti templates, you can start with this post :
http://forums.cacti.net/viewtopic.php?f=12&t=50149Let me know what you thinks !
Both scripts will cache the data, and will only refresh the data if the file are properly downloaded from the gateway.
Enjoy !
Johan