net-utilities / BigIPReport

Generates an indexed overview of your F5 configuration
https://loadbalancing.se/bigipreport-rest/
GNU General Public License v3.0
10 stars 5 forks source link

Slack cert alert alerting on deleted certificates #111

Open gqueri opened 2 years ago

gqueri commented 2 years ago

Describe the bug We are getting Slack alerts for expired certificates, even after they are deleted from our F5 devices. We are running BigIPReport data collector version 5.6.7

To Reproduce Delete expired cert Wait for expiration we will still get slack alerts regularly

Expected behavior I would expect to not get alerts for deleted certificates

Additional context The certificate remains in the "state.json" file "certificateAlerts": { "gg2-lb-01.example.com/Common/RapidSSL_CA_G3.crt": { "lastAlerted": 1653032845.0, "commonName": "RapidSSL SHA256 CA - G3", "expiresInDays": 4.0, "key": "gg2-lb-01.example.com/Common/RapidSSL_CA_G3.crt", "loadbalancer": "gg2-lb-01.example.com", "fileName": "/Common/RapidSSL_CA_G3.crt" } },

epacke commented 2 years ago

Hey Gael Thanks for the report! I'll try to have this done by the end of next week.

epacke commented 2 years ago

Im afraid the fix has been delayed. Got back to work sooner than expected and will be busy next week.