Skip navigation
Currently Being Moderated

Barracuda Spam Appliances

VERSION 5  Click to view document history
Created on: Sep 14, 2009 1:31 PM by pwinkeler - Last Modified:  Nov 9, 2009 1:33 PM by Matt Ray

Submitted byPaul Winkeler Paul Winkeler


This ZenPack consists of an rrd template called Barracuda which defined at /Devices/Network. You'll want to bind it to your Barracuda device which presumably sits somewhere below that point.

The template contains performance graphs for the inbound queue and the number of:
  • allowed
  • tagged
  • quarantined
  • virus
  • bad recipient
  • spam
messages received by the Barracuda. In addition, it has a threshold for the inbound queue size of 25 but that may need tweaking.


All this information is gathered from the Barracuda device by retrieving the contents of the stats.cgi page over an https connection with the "wget" utility. The output of this http GET command is an XML document which is then parsed by some Perl code called "check_cuda" which is provided as a datasource inside this ZenPack / template. The nice thing here is that by not using SNMP, this ZenPack will work for collecting data on even the 300 series (you need to purchase at least a Barracuda 400 for SNMP). It does its monitoring by watching the trailing 24 hour volume of messages and also the inbound message queue size in separate graphs. I only set a threshold on the inbound queue size and I haven't monitored enough of these units yet to know what is reasonable threshold but 45 gets me just a few warnings a day at a site that sees 100k+ messages a day.


If you have any questions, please feel free to contact me at







     Zenoss Version: 2.2

     ZenPack Dependencies:

     External Dependencies:


  • The datasource is a Perl script called check_cuda. It uses generic Perl code but does rely on XML::Simple which you may have to install
  • The PERL script in turn uses wget to retrieve the Barracuda's basic statistics page; you may need to install it
  • The rrd Template assumes your Zenoss installation is at /usr/local/zenoss, you may need to change that assumption
  • Finally note that the template associated with this ZenPack defines it self under /Devices/Network so your Barracuda device should be located somewhere at or below this point.




Tagged Releases:

Change History:


Trac tickets:

Known issues:

Note: binary attachments ending in .zip will need to be unzipped before use.
Comments (14)