Am 15.07.2017 um 20:26 schrieb Aki Tuomi:
Hi!
Just thought I'd remind about few things,
since v2.2.22 you can use doveadm -fjson, to print data in json format, which
might be easier to parse.
As for Debian stable (dovecot 2.2.27) -f json is missing from the manpage.
since v2.2.22 you can use doveadm HTTP API to get the statistics over HTTP.
since v2.2.27 you can export stats to remote server every now and then using
carbon format.
Aki
Hi Aki
I've been changing the data types from GAUGE to COUNTER for all input
data but not for the num_connected_sessions - keeping GAUGE here. The
result can be found here:
https://image.ibb.co/krSHkF/dovecot1.png
https://image.ibb.co/cdTZXv/dovecot2.png
https://image.ibb.co/csHHkF/dovecot3.png
I'll let the observium guys review the scripts unless somebody else has
any suggestions or comments.
Thomas