rackerlabs/ohai-plugins — pull request #107 by gumochlon (2014-08-21 16:20:09+00:00)
Title: postfix plugin update

Hey there !

I came up with a "clever" way of calculating mail queue sizes, without having to run mailq command (it can take ages to complete on servers that have very large queues, plus it doesn't do a breakdown per queue).

I added that functionality and tested it ona server which had a few thousands mails in the queue. Didn't even break a sweat ;)