barracuda spam firewall [without SNMP]
Moderators: Developers, Moderators
Everything but Temp
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?
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?
Re: Errors When Running PHP
I figured out our problem. We have our barracuda setup to only allow https connections. The php scripts needed to be modified as follows: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]#
Code: Select all
$url = 'https://'.$argv[1].'/cgi-bin/stats.cgi';
-
- Posts: 14
- Joined: Tue Mar 17, 2009 2:49 pm
Suggested graph in future which are nice
Average delay and in/out queue length is also interesting to graph in some environments.
Re: barracuda spam firewall [without SNMP]
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.
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 (64.95 KiB) Viewed 6038 times
-
- Posts: 1
- Joined: Tue Jun 09, 2009 2:44 am
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
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 568 times
- caiospessoa
- Posts: 9
- Joined: Fri Jul 27, 2012 2:00 pm
- Location: São Paulo, Brazil
Re: barracuda spam firewall [without SNMP]
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?
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?
Re: barracuda spam firewall [without SNMP]
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.
Who is online
Users browsing this forum: No registered users and 2 guests