HomePhabricator

mx: export metrics from exim4 mainlog
052e3a87c143Unpublished

Unpublished Commit · Learn More

Publishing Disabled: All publishing is disabled for this repository.

Description

mx: export metrics from exim4 mainlog

Once running, mtail will parse mainlog according to exim.mtail program and export the resulting
metrics, e.g.

$ curl -s localhost:3903/metrics | grep -v '^#'
exim_dkim_failure_total{prog="exim.mtail"} 0
exim_no_hostname{prog="exim.mtail"} 449
exim_smtp_protocol_error{prog="exim.mtail"} 214
exim_too_many_connections{prog="exim.mtail"} 0
exim_dkim_success_total{prog="exim.mtail"} 0
exim_no_ip_address{prog="exim.mtail"} 396
exim_rejected_rcpt{prog="exim.mtail"} 529
exim_tls_error{prog="exim.mtail"} 0
exim_sender_verify_fail{prog="exim.mtail"} 48
exim_sender_verify_defer{prog="exim.mtail"} 19
exim_rejected_helo{prog="exim.mtail"} 4

A followup change will instruct Prometheus server to scrape these metrics too, and thus make them
available for graphing/alerting.

Bug: T179565
Change-Id: I969a6389b38224bbbfed3ffa27134d5470e78650

Details

Provenance
fgiunchediAuthored on Nov 2 2017, 9:32 AM
Parents
rOPUP85a5bda8fc71: profile::druid::monitoring::coordinator: fix source for jmx exporter
Branches
Unknown
Tags
Unknown
ChangeId
I969a6389b38224bbbfed3ffa27134d5470e78650