Zenus - The Zen ADSL Usage Monitor

Zenus is a Perl interface to the Zen ADSL usage web service.

It features:

  1. A Perl module (zenUsage.pm) to handle the actual communication to the web service that can also be used to build your own custom interfaces
  2. Two example front ends to the module - the main zenus.pl script and a debugging client

Zenus is ideal if you want to integrate 3rd party monitoring systems like Cacti (which used Zenus to produce the attached graph) or if you run Linux and don't or can't make use of the cross-platform Firefox plug-in.

Note that Zen treat every run of the client as a login to the portal, so the last login time you see there will include 'real' logins as well as when the client runs.


AttachmentSize
graph_image.php_.png29.45 KB
cacti_graph_template_zen_broadband_usage_v1.xml_.txt13.73 KB
zenus_2.1.5.tar.bzip212.98 KB

Error using zenus.pl

Just installed zenus and all required modules, but I get this error message when I run zenus.pl with my portal username and password:

500 Can't connect to webservices.zen.co.uk:443 (Illegal seek) at zenus.pm line 141

How to fix this?

Thanks

Odd error that

Odd error that.
Please let me have the output of using 'debug.pl', your Linux distribution name and version and your Perl version.

(edit the following Monday)Fixed by making sure Crypt::SSLeay is installed. README updated.

Tom

Cacti

I'm actually slowly getting it to work with Cacti and I now have it logging everything into Cacti and drawing a pretty graph. I'd quite like to get it packaged into a template for Cacti though - have you thought about doing that? I might package mine and release it... might go nicely with Zenus...

I'd certainly take a look

I'd certainly take a look and maybe add it to the Zenus distribution / web page.

I've been meaning to do it myself (to show you how to go from the Perl to the graph on this page), but I've not got round to putting all the zenus.pl output's into the data source yet.

Send me what you have ;-)

Tom

I'll send over later

Yep, sure thing, I'll send it over later. Where do you want me to send it to?

I've got mine logging usage, available, estimated current month and total cap at the moment. It's simple to add in the structure for the other variables which come from Zenus.

My email address is in the

My email address is in the README file in the distribution, or use my username (or name from the footer of comments) @ the domain of this web page (minus the www., if present).

Tom

Good work! Cacti?

Hey!

Amazing work here - EXACTLY what I was looking for since switching to the Zen 8000 Active package yesterday!

I've also just started using Cacti on my router. Is there any chance you could guide me as to how you attached it to using Zenus?

Great work!

Matt

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
topical-homopterousif you are reading this, don't click it as it will mark you as a spammer
if you are reading this, don't click it as it will mark you as a spammer