barracuda spam firewall [without SNMP]

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

sdetroch
Posts: 26
Joined: Thu Mar 31, 2005 7:39 pm

Post by sdetroch »

Same problem here as Merana, can someone assist?
Sven
kkriegel
Posts: 12
Joined: Fri Aug 17, 2007 11:20 am

Everything but Temp

Post by kkriegel »

I have all of the non-snmp graphs working with one exception....

Temp.

When I run the barracuda_temp.php from the command line, I receive the following...

temp:" encoding="UTF-8"?>

in the first line of the output.

Any ideas for me?
fmagoufis
Posts: 5
Joined: Fri Jan 04, 2008 2:10 pm

Re: Errors When Running PHP

Post by fmagoufis »

fmagoufis wrote:I'm having a hard time getting the php to execute via command line. These errors are displayed.

Code: Select all

[root@wamgmt01 scripts]# php barracuda_total.php  XX.XX.XX
allowed:sion="1.0" encoding="UTF-8"?>

<Error>
    <Code>900</Code>
    <String>You do not have permission to run this script.</String> blocked:sion="1.0" encoding="UTF-8"?>

<Error>
    <Code>900</Code>
    <String>You do not have permission to run this script.</String> quarantined:="1.0" encoding="UTF-8"?>

<Error>
    <Code>900</Code>
    <String>You do not have permission to run this script.</Str tagged:rsion="1.0" encoding="UTF-8"?>

<Error>
    <Code>900</Code>
    <String>You do not have permission to run this script.</String>
 viruses:sion="1.0" encoding="UTF-8"?>

<Error>
    <Code>900</Code>
    <String>You do not have permission to run this script.</String>
[root@wamgmt01 scripts]# 
I figured out our problem. We have our barracuda setup to only allow https connections. The php scripts needed to be modified as follows:

Code: Select all

$url = 'https://'.$argv[1].'/cgi-bin/stats.cgi';
balanm
Posts: 1
Joined: Wed Dec 03, 2008 3:37 pm

Post by balanm »

Hi,

I have the same problem as Merana & sdetroch: the <Opposite> graph does't work - does not displays the 'negative' values.

Cacti Version 0.8.7b

Anyone found what causes it or a solution?

thanks in advance,
Attachments
Barracuda_opposite.jpg
Barracuda_opposite.jpg (40.49 KiB) Viewed 6759 times
aceg3905
Posts: 12
Joined: Wed Nov 24, 2004 9:11 am
Location: Manchester, UK

Post by aceg3905 »

same here everything works fine but no opositte
locutus233
Posts: 14
Joined: Tue Mar 17, 2009 2:49 pm

Post by locutus233 »

Could anyone post an updated version of this template that can be imported into 0.8.7d ?
hverdal
Posts: 1
Joined: Sat May 16, 2009 10:39 pm

Suggested graph in future which are nice

Post by hverdal »

Average delay and in/out queue length is also interesting to graph in some environments.
stormonts
Cacti User
Posts: 349
Joined: Tue Mar 31, 2009 10:05 am

Re: barracuda spam firewall [without SNMP]

Post by stormonts »

Any idea why my opposite graph looks nothing like it is supposed to? I am running .8.7d

I think that part of the problem is that I can't select anything for the "today_allowed" graph item in the Opposite graph. The box says none, but whenever I choose either of the "Total - Allowed" data sources and hit OK, the selection doesn't stick.
Attachments
d.jpg
d.jpg (64.95 KiB) Viewed 6154 times
Petr Karpenko
Posts: 1
Joined: Tue Jun 09, 2009 2:44 am

Post by Petr Karpenko »

It's really easy to fix "Opposite" graph: in a graph template you should set Auto Scale Options to Use --alt-autoscale (ignoring given limits).
There is a fixed version of template in attachement. Celsius degree bug is fixed too :)
Attachments
barrcuda_new.zip
Fixed templates
(7.38 KiB) Downloaded 594 times
User avatar
caiospessoa
Posts: 9
Joined: Fri Jul 27, 2012 2:00 pm
Location: São Paulo, Brazil

Re: barracuda spam firewall [without SNMP]

Post by caiospessoa »

I have Barracuda 300 and I'm facing the following error when I get to https://path/cgi-mod/stats.cgi, or http://path:8000/cgi-mod/stats.cgi:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>900</Code>
<String>You do not have permission to run this script.</String>
</Error>

Does anyone has that error too?
bofhso
Posts: 1
Joined: Fri Aug 10, 2012 7:40 am

Re: barracuda spam firewall [without SNMP]

Post by bofhso »

If you log a support case with Barracuda they'll ask you to start a support connection for their techs to go in and enable the API security section. Anything lower than a 400 doesn't have that option enabled normally as they don't have SNMP support.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests