reworked the way that the iniparser works

This commit is contained in:
Nicholas St. Germain 2018-12-17 21:16:46 -06:00
parent fbc8488b07
commit 0656e2f06d
2 changed files with 70 additions and 185 deletions

View file

@ -120,7 +120,7 @@ if __name__ == "__main__":
schedule.every(server.get_missing_run_seconds).seconds.do(threaded, SICKCHILL.get_missing)
if CONFIG.ciscoasa_enabled:
for firewall in CONFIG.ciscoasa_firewalls:
for firewall in CONFIG.ciscoasa_servers:
ASA = CiscoAPI(firewall, DBMANAGER)
schedule.every(firewall.get_bandwidth_run_seconds).seconds.do(threaded, ASA.get_bandwidth)