We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda Reference / FAQ

How can I get a list of all API variables on the Email Security Gateway, Web Filter, and Load Balancer?

  • Type: Knowledgebase
  • Date changed: 5 months ago
Solution #00000951

AS OF 2013 THIS SOLUTION IS INVALID. ALL Products now use XMLRPC .

Please reference this guide in the meantime (yes its for spam but would apply to all except for variable name differences)

https://techlib.barracuda.com/BSFAPIGuide

Scope:

This solution applies to the Email Security Gateway (below v5), Web Filter, and Load Balancer, models 4x0 and above, that are using the API.

and below firmware 5.x on spam

Answer:
Please follow the steps below to retrieve a list of variables that can be modified using the Barracuda's API.
  1. Navigate to the Barracuda's login page
  2. Remove index.cgi from the end of the URL in your browser's address bar.
  3. Replace index.cgi with config_get.cgi?list=1&password=<password> where <password> is the API password that has been configured on the Basic > Administration page of the Barracuda's web interface.
This will only work from workstations that have been explicitly allowed under the Allowed SNMP and API IP/Range section of the Basic > Administration page. For the Email Security Gateway, the output will look something like:

global
Outbound Queue Max Mesage Lifetime (hours)
mta_outbound_max_queue_lifetime


global
Allow The SSL Protocol v2 To Be Used In HTTPS
https_allow_ssl2


global
Default LDAP unique attribute for alias linking
mta_ldap_unique_attr


Refer to the Email Security Gateway API Guide for more details:

http://www.barracudanetworks.com/ns/support/documentation.php

Link to This Page:
https://campus.barracuda.com/solution/50160000000GEt7AAG