Monitor emails received and sent from Proxmox by Zabbix

Hugo Almeida

Member
Jul 15, 2019
35
0
6
33
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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!