fmc-health-stats

Use Case: Automate Your Firepower Deployment Health Stats Collection

Hunting down the IPS and Firewall devices status and health statistics for an security operation engineering team is always been very challenging but virtual and cloud environment deployments makes it even more harder to keep track of your devices statuses. This use case is only can be best handled via automation.
Cisco firepower management center FMC REST APIs enable this use case to be automated.

Here you will find a python script which can collect health stats from FMC, irrespective of your deployment (on premise, pure cloud VPCs or hybrid deployment).
As long as network route available to your FMC, script will be able to collect device health stats.

Usage:

Set the environment for the script

$export username=apiuser make sure you provide the valid FMC username

$export password=password#12342% make sure your provide the FMC user password

Execute the script to collect health stats

$python FMC_Health.py --host myfmc-hostname:port

View code on GitHub

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.