Wietse Venema via Postfix-users: > Laura Smith via Postfix-users: > > > > > > > > Data collecting programs should use supported interfaces such as > > > postqueue output. If the supported interfaces are not sufficient, > > > people can ask for or contribute what's missing. > > > > > > Wietse > > > > > > Thanks Wietse. > > > > The only reason I was planning to use it is because, e.g. > > postfix-exporter for Prometheus, which has been around forever, > > uses it to gather metrics. > > > > So I thought "well, if they use it..."
They read from the showq socket. https://github.com/kumina/postfix_exporter/blob/master/postfix_exporter.go#L696 They should instead read output from "postqueue -j" which provides information in JSON format. JSON support was added in Postfix 3.1 (i.e. in 2015). Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org