Is it possible for two OneAgents to coexist on one host?
We have a customer that has Tenant A and a Tenant B was created for them.
The customer requires that the servers that are viewed on Tenant A, be viewed on Tenant B.
Is it possible to install a second agent on those servers, or is there an alternative to migrate all that data to the other tenant?
Thanks in advance
Two OneAgents on one host is not possible.
Hi @soportetr,
it's not possible to install two OneAgents on the same host, however, you can use oneagentctl
and in your case, you will be using OneAgent communication settings
the following is an example:
Linux or AIX:
./oneagentctl --set-server=https://my-server.com:443 --set-tenant=abc123456 --set-tenant-token=abcdefg123456790 --set-network-zone=<network-zone> --set-host-group=<host-group> --restart-service
Windows:
.\oneagentctl.exe --set-server=https://my-server.com:443 --set-tenant=abc123456 --set-tenant-token=abcdefg123456790 --set-network-zone=<network-zone> --set-host-group=<host-group> --restart-service
note: you need to restart the monitored processes and based on a case that I have faced, I think it will be recommended to restart the server.
Hi,
I agree with @Mohamed_Hamdy last comment of restart of server. I too faced this; and recommend restarting the server.
note: you need to restart the monitored processes and based on a case that I have faced, I think it will be recommended to restart the server.