Monitor emails received and sent from Proxmox by Zabbix

Hugo Almeida

Member
Jul 15, 2019
35
0
6
34
good afternoon,

I would like to monitor with Zabbix the emails received and sent by Proxmox Mail Gateway.

Has anyone implemented this type of monitoring?

Which command on the Proxmox Mail Gateway can I check the quantity in numbers of emails received and sent?

Thanks in advance for your attention.

Sincerely,

Hugo Almeida
 
No direct experience with Zabbix - so maybe there is something better for this - but the following come to my mind:
* PMG uses Postfix as its MTA - maybe zabbix has some support to parse postfix logs?
* PMG has the REST API (it's very similiar to the one from PVE - so check out [0] for how to access it) - you can use that (probably the statistics path - see [1]) to get some information.

I hope this helps!


[0] https://pve.proxmox.com/wiki/Proxmox_VE_API
[1] https://pmg.proxmox.com/pmg-docs/api-viewer/index.html#/statistics