Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


barracuda spam firewall [without SNMP]
Goto page 1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
cpt_ahab
Cacti User


Joined: 01 Feb 2005
Posts: 60

PostPosted: Mon Oct 09, 2006 5:13 am    Post subject: barracuda spam firewall [without SNMP] Reply with quote

Here are some new scripts and host-graph-data-templates for barracuda spamfirewall.
They dont need snmp. They just parse the output of the cgi stats scripts included in the barracuda and put them into nice cacti-graphs.

they are exported from a linux box and cacti 0.8.6h

Here are some screenshots

graphs



edit(21.12.06): added new version with opposit graph.
values are in mails/minute now

Greez ahab



barrcuda_new.zip
 Description:

Download
 Filename:  barrcuda_new.zip
 Filesize:  8.14 KB
 Downloaded:  1624 Time(s)



Last edited by cpt_ahab on Fri Dec 22, 2006 4:51 am; edited 11 times in total
Back to top
Cybex



Joined: 20 Sep 2005
Posts: 24

PostPosted: Tue Oct 10, 2006 7:42 am    Post subject: Reply with quote

Thanks, I just ordered a Barracuda Spam Firewall. I'll use this script!
Back to top
whoapower



Joined: 17 Jan 2005
Posts: 6

PostPosted: Thu Oct 12, 2006 12:42 pm    Post subject: Reply with quote

Thank you!

I've been looking at this, as we didn't get the SNMP version, only the Barracuda 300.
Back to top
cpt_ahab
Cacti User


Joined: 01 Feb 2005
Posts: 60

PostPosted: Fri Oct 13, 2006 2:43 am    Post subject: Reply with quote

Hmm i just saw that cacti again calculated some strange data.
I try figure out why and post a updated version of the templates.

greez ahab
Back to top
Cybex



Joined: 20 Sep 2005
Posts: 24

PostPosted: Fri Oct 13, 2006 10:20 am    Post subject: Reply with quote

Thanks, I'll wait for that before installing it then.
Back to top
cpt_ahab
Cacti User


Joined: 01 Feb 2005
Posts: 60

PostPosted: Mon Oct 16, 2006 2:54 am    Post subject: Reply with quote

Alright.
I removed the daily and hourly graphs. Now i just take the total counter out of the xml file, because these counters are not reset very often.
I also added Current: Average: Max: Text Fields for the Total-Graph
I know i should use the xml-functions of php, but i did not looked for them when i wrote the scripts and now i am too lazy to rewrite them.

I also added a graph and script for system temperature.


greez jan
Back to top
cpt_ahab
Cacti User


Joined: 01 Feb 2005
Posts: 60

PostPosted: Mon Oct 16, 2006 10:12 am    Post subject: Reply with quote

hmm getting strange values for the temperature counters.
the script is ok and the cacti graph too.
my barracuda tells me via xml that the system_temp is 2 degrees celsius.
cant be.
looks like firmwarebug. in the webinterface the values look ok(about 45 degrees).

hmm dont know. looked for new firmware version with no luck.
so dont use the temp script because its getting wrong data from the xml-file.


greez ahab
Back to top
cpt_ahab
Cacti User


Joined: 01 Feb 2005
Posts: 60

PostPosted: Thu Dec 07, 2006 11:02 am    Post subject: Reply with quote

Hmm i updated my script. With the new firmware you get cpu_temp in the stats.cgi script.
You just have to change sys_temp to cpu_temp two times in the barracuda_temp.php-skript. I am getting "normal" values right now..

edit: changed the php-script. so you dont need to change anything anymore. just download and put it in you scripts folder.

greez ahab


Last edited by cpt_ahab on Wed Dec 20, 2006 7:14 am; edited 1 time in total
Back to top
mcleveland



Joined: 15 Dec 2006
Posts: 7

PostPosted: Fri Dec 15, 2006 7:17 pm    Post subject: Reply with quote

Ok i am new to cacti and i was wondering if someone would help me get data from my Barracuda 300. It seems like it does not have snmp capability and i need to run this script. can someone please help. THANKS
Back to top
cpt_ahab
Cacti User


Joined: 01 Feb 2005
Posts: 60

PostPosted: Wed Dec 20, 2006 6:26 am    Post subject: Reply with quote

hmm you just have to import the templates, and copy the php-skript to you cacti/scripts folder.

Then add you barracuda as a device and use the barracuda host-template.

after that you can add graphs to this host.
Back to top
mcleveland



Joined: 15 Dec 2006
Posts: 7

PostPosted: Wed Dec 20, 2006 11:10 am    Post subject: Reply with quote

I tried that and on import i get xml parse error. Any ideas there?
Back to top
mcutting
Cacti Pro User


Joined: 16 Oct 2006
Posts: 977

PostPosted: Wed Dec 20, 2006 11:14 am    Post subject: Reply with quote

What version of Cacti are you running ? I imported these with no errors, and am running 0.8.6i
Back to top
mcleveland



Joined: 15 Dec 2006
Posts: 7

PostPosted: Wed Dec 20, 2006 11:17 am    Post subject: Reply with quote

i just installed it not more then 2 weeks ago, how do you get all of that info to show up?
Back to top
mcutting
Cacti Pro User


Joined: 16 Oct 2006
Posts: 977

PostPosted: Wed Dec 20, 2006 11:24 am    Post subject: Reply with quote

You can install the Host Info (hostinfo - v0.1) plugin - this will give you the information you are looking for in terms of what version you are running. My guess is that you are running and older version. Where did you download Cacti from ?
Back to top
mcleveland



Joined: 15 Dec 2006
Posts: 7

PostPosted: Wed Dec 20, 2006 11:27 am    Post subject: Reply with quote

thats something els i couldnt figure out. how do you install the plugins. i only have graph and consoule and i have seen many screenshots that people have a few differt tabs accross the top
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 



Powered by phpBB © 2001, 2005 phpBB Group