Skip to main content

Cisco Firepower Management Console Rest API

Monitoring Connector Assets​

Monitored Objects​

The Monitoring Connector includes health monitoring of devices managed by Firepower Management Console

Collected Metrics​

Metric nameDescriptionUnit of devices of green status devices of black status devices of blue status devices of red status devices
devices.status.yellow.countNumber of yellow status devices
device statusDevice status


To control your Cisco Firepower Management Center, the Rest API must be configured.



  1. Install the Centreon Plugin on every Poller:
yum install centreon-plugin-Network-Cisco-Firepower-Fmc-Restapi
  1. On the Centreon Web interface in Configuration > Monitoring Connector Manager, install the Cisco Firepower FMC Rest API Monitoring Connector

Host configuration​

  • Add a new Host and apply the Net-Cisco-Firepower-Fmc-Restapi-custom Host Template

Once the Template applied, some Macros have to be configured:

XFMCAPIPORTPort used (Default: 443)
XFMCAPIPROTOSpecify https if needed (Default: 'https')
XFMCAPIUSERNAMECisco Firepower management center password
XFMCAPIPASSWORDCisco Firepower management center username
FMCAPIEXTRAOPTIONSAny extra option you may want to add to the command (eg. a --verbose flag)


How to check in the CLI that the configuration is OK and what are the main options for ?​

Once the Plugin installed, log into your poller using the centreon-engine user account and test by running the following command (Parameters such as api-username or api-passwordhave to be adjusted):

/usr/lib/centreon/plugins/ \
--plugin=network::cisco::firepower::fmc::restapi::plugin \
--mode=devices \
--hostname='' \
--port='443' \
--proto='https' \
--api-username='myapiusername' \
--api-password='myapipassword' \
--filter-domain-name='Global' \
--critical-devices-status-red='0' \

Output example:

OK: Domain 'Global' devices are ok | ''=2;;;0; ''=0;;;0;2 ''=0;;;0;2 ''=0;;;0;2 ''=0;;0;0;2 'devices.status.yellow.count'=0;;;0;2
checking domain 'Global'
device 'APEXTIFWL01' status: green
device 'APEXTIFWL02' status: green

The command above monitors Cisco Firepower devices (--mode=devices) in domain Global (--filter-domain-name='Global').

It uses api-username (--api-username='myapiusername'), an api-password (--api-password='myapipassword') and it connects to the host (--hostname='') on the port 443 (--port='443') using https (--proto='https').

This command would trigger a CRITICAL alert if the number of red devices is over 0 (--critical-devices-status-red='0').

All the options that can be used with this plugin can be found over the --help command:

/usr/lib/centreon/plugins/ --plugin=network::cisco::firepower::fmc::restapi::plugin \
--mode=devices \

Why do I get the following error:​

UNKNOWN: 500 Can't connect to​

This error message means that the Centreon Plugin couldn't successfully connect to the Cisco Firepower Management Center Rest API. Check that no third party device (such as a firewall) is blocking the request. A proxy connection may also be necessary to connect to the API. This can be done by using the --proxyurl='http://proxy.mycompany:8080' option in the command.

UNKNOWN: 501 Protocol scheme 'connect' is not supported​

When using a proxy to connect to the Cisco Firepower Management Center Rest API, this error message means that the Centreon Plugin library does not support the proxy connection protocol.

In order to prevent this issue, use the curl HTTP backend by adding the following option to the command: --http-backend='curl'.