Hi, community! I have a problem here, could you pl...
# eclecticiq-polylogyx-extension
Hi, community! I have a problem here, could you please advice? We have Control server with Polylogyx Community edition and a test workstation with Polylogyx agent installed through plgx_cpt. We tried to test agent removeal and re-registration and do the following: • remove agent from Hosts on Control server • remove agent on workstation using
plgx_cpt -u d
• install agent again as it should be - with a certificate and Control server IP, all works well • now agent is working nice, but it doesn't appear on the Control server We tried to reinstall agent, reboot both workstation and Control server and upgrade the agent using
plgx_cpt -g d
. Could be this problem solved somehow?
Hi @Michael, There is an option in the Control Server UI, to re-enable the host agent and problem can be solved. Please re-enable it from Management --> Removed Hosts page and check the agent status in Hosts page. If the issue still exists, then please reinstall the agent after enabling the host in Management --> Removed Hosts page. (PolyLogyx-ESP may restrict the agent enrollment for the removed host until it gets enabled)
Hi, @Kishore Arava, thank you for the reply! We remove agent from Removed hosts before reinstalling it
Currently, the deleted can be enrolled after the purge duration is over(default is 7 days) Can you run this query to make the host active
update node set state=0 where id=<removed_host_id>;
Sure. And what is `<removed_host_id>' ?
Is it agent name?
removed host is the unique
of the host.You can list the nodes and see which node was deleted
select * from node;
and grab the
column for the deleted host
👍 1
It works, thanks a lot!
I have another question if you don't mind: is there a way to change already registered agent hostname not using SQL?
No There is no feature for this System name is taken from the osquery table
Hm, okay, thanks!