Open tigre-bleu opened 4 years ago
Just for information or if anyone looks for the same functionality as me: I created a small python wrapper to export the data from zimbra_pflogsumm-prtg.pl
to prometheus: https://git.tigre-bleu.net/antoine.vacher/zimbra_exporter/
Hello,
I try to implement a prometheus exporter using your perl script to generate a prom file with all the metrics. The idea is to run all the commands like snmp does, parse the output and build the metrics texte file.
However, the output is polluted by messages like
Redundant argument in printf at ./zimbra_pflogsumm-prtg.pl line 1009, <> line 10561.
Full Command:
My host is an up to date Ubuntu 16.04.6 LTS.
Note: It would be great if there was the option in zimbra_pflogsumm-prtg.pl to export all metrics in the prom format. I understand it is not the goal of the project but I don't think it would be too hard to implement. Unfortunately I don't know perl so I can't propose a PR.