Use mysql database for "relay domains" and "transport" fields

tcogne

New Member
May 28, 2024
1
0
1
Hi

I've been using PMG for few months to deploy new front-end servers and I wanted to know if it was possible to set up an SQL database to store the information currently in /etc/pmg/domains and /etc/pmg/transport ?
I need to have this data in a database to then be able to extract it and view it on a cmdb software
I couldn't find any documentation about this.

Thanks !
Tim
 
I've been using PMG for few months to deploy new front-end servers and I wanted to know if it was possible to set up an SQL database to store the information currently in /etc/pmg/domains and /etc/pmg/transport ?
Those files are the authoritative source of this data - this is where PMG expects them, and where the API/GUI write them.

You can store the data in your CMDB software - and generate those files from that, or let your CMDB software read the files.

I hope this helps!
 

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!