r3kzi / clamav-prometheus-exporter

Prometheus-Exporter for ClamAV
Apache License 2.0
26 stars 21 forks source link

Metric Request - Infected Files #12

Open lumaday opened 2 years ago

lumaday commented 2 years ago

Hi there! First off thanks so much for this exporter. I am hoping to put in a request to add a metric for Infected Files so that I may create an alert around it. I am currently sending an email from a shell script if an infected file is found on an instance, however I believe a more robust solution would be to implement the monitor and alert within Prometheus/Grafana. I have looked at the collector.go file and wonder if my idea and request is a possibility?