Adding Agent With Same Hostnames

Is there any chance we can add two similar node name into pmm2 ? Like we can adding custom node name on second node.

I’ve to server with identical hostname but only different in domain
node1: common-postgres13-01.qa1.cld
node2: common-postgres13-01.qa2.cld

Checking local pmm-agent status...
pmm-agent is running.
Registering pmm-agent on PMM Server...
Failed to register pmm-agent on PMM Server: Node with name "common-postgres13-01" already exists. If you want override node, use --force option.

Hi Hendra,

Please specify a custom node name at the end of the command.

pmm-admin config --server-insecure-tls --server-url=https://admin:admin@ generic mynode

Thank you @adivinho , it worked.

1 Like

need some advice which url is better for a region or I have seen various sites using the same url with many regions like amazon, google, and many more.

1 Like

I think one domain and subdirectories ( is better than different domains ( or subdomains (
For SEO it will be one domain and it will have more weight.
Probably in all other cases, it does not matter whether it is one domain or several. Managing multiple domains will probably be more difficult.