Cisco IronPorts monitoring plugin¶
Article last updated: 2026-12-02.
What it does¶
The Cisco IronPorts monitoring plugin reads the XML statistics of a Cisco Email Security Appliance (ESA) and publishes every gauge, feature, counter and rate as a Pandora FMS module. Each run authenticates against the appliance statistics URL, parses the XML document and creates one agent with the values it finds.
The plugin is a standalone agent generator. It can print the module XML for a Pandora FMS agent, write an agent document into a local data folder, or deliver the agent through Tentacle.
Prepare¶
Compatibility¶
| Scope | State | Evidence |
|---|---|---|
| Cisco ESA with the XML statistics endpoint enabled | Required |
The plugin requests the URL passed in --url and expects an XML document |
| A user with permission to read the statistics | Required |
The plugin uses HTTP Basic authentication |
Python 3 and the requests library |
Required when running from source |
The script imports requests |
| Pandora FMS NG 784 and later | Not validated |
No release-specific validation record exists |
Requirements¶
- A Cisco ESA with the statistics endpoint reachable from the plugin host.
- The full statistics URL that returns the XML document, for example the appliance URL that exposes the
gauge,feature,counterandrateelements. - A user and password with read access to the statistics.
- A destination for the result: standard output (agent plugin), a local data folder or a Tentacle server.
Install the plugin¶
Copy pandora_ironports.py (or the packaged executable) to the host that will run it. The source version needs Python 3 and requests.
Configure¶
Run the plugin with the statistics URL and the credentials:
./pandora_ironports.py --url <STATS_URL> -u <USER> -p <PASSWORD>
| Option | Required | Default | Description |
|---|---|---|---|
--url |
Yes | — | Full URL of the XML statistics endpoint. |
-u, --user |
Yes | — | Appliance user. |
-p, --password |
Yes | — | Appliance password. |
--agent_name |
No | Cisco_ironport |
Agent name. |
-g, --group |
No | Cisco |
Agent group. |
--data_dir |
No | /var/spool/pandora/data_in/ |
Folder for the agent document. |
--as_agent_plugin |
No | 0 |
1 prints module XML instead of writing or sending an agent. |
--tentacle_address |
No | — | Tentacle server address. |
--tentacle_port |
No | 41121 |
Tentacle port. |
The credentials are sent with HTTP Basic authentication. The connection verifies no TLS certificate, so it accepts the appliance self-signed certificate.
Delivery modes¶
- Agent document in a local folder (default): the plugin writes the agent
.datafile into--data_dirand prints1. - Tentacle: when
--tentacle_addressis set, the plugin sends the agent document withtentacle_client. - Agent plugin: with
--as_agent_plugin 1, the plugin prints the module XML on standard output.
Verify¶
Print the modules without writing a file:
./pandora_ironports.py --url <STATS_URL> -u <USER> -p '<PASSWORD>' --agent_name IronPort_Test --as_agent_plugin 1
A successful run prints the module blocks. If the request fails, the plugin prints 0 and Error requesting <url>, please check conectivity.
Check that the URL returns XML:
curl -k -u <USER>:<PASSWORD> <STATS_URL> | head
Understand the results¶
The plugin turns each XML element into a module named after the element tag and the name attribute:
| XML element | Module name | Value |
|---|---|---|
gauge |
gauge_<name> |
current |
feature |
feature_<name> |
time_remaining |
counter |
counter_<name>_reset |
reset |
counter |
counter_<name>_uptime |
uptime |
counter |
counter_<name>_lifetime |
lifetime |
rate |
rate_<name>_last_1_min |
last_1_min |
rate |
rate_<name>_last_5_min |
last_5_min |
rate |
rate_<name>_last_15_min |
last_15_min |
All modules are generic_data. The exact module list depends on the appliance model, the AsyncOS version and the statistics endpoint you query. The plugin does not add descriptions, units or thresholds.
Operate and troubleshoot¶
Error requesting ...— the URL, the user or the password is wrong, or the appliance is not reachable.- HTTP 401 or 403 — the user cannot read the statistics endpoint. Use an account with reporting or operator permissions.
- The XML is not parsed — the URL returns HTML (a login page) or a different document. Confirm with
curlthat the response starts with an XML declaration or an XML root element. - Only a few modules appear — the endpoint you query exposes a subset of the statistics. Use the full statistics URL of the appliance.
- The agent is not created — check the
--data_dirpermission and the Tentacle address and port. - TLS errors — the script disables certificate verification. If the connection fails, check the URL scheme, the port and the network path.
Reference¶
Command-line options¶
| Option | Description |
|---|---|
--url |
XML statistics URL. |
-u, --user |
Appliance user. |
-p, --password |
Appliance password. |
--agent_name |
Agent name. |
-g, --group |
Agent group. |
--data_dir |
Data folder. |
--as_agent_plugin |
Print module XML (1). |
--tentacle_address |
Tentacle address. |
--tentacle_port |
Tentacle port. |
Addon identity¶
| Field | Value |
|---|---|
| Marketplace identifier | pandorafms.ironport |
| Marketplace name | Cisco IronPorts monitoring |
| Package | pandora_ironports.zip |
| Type | Standalone plugin, agent generator |
| Executable | pandora_ironports |
| License | Free download |