Just wondering if anyone could help if it is possible to remove offline agents programmatically using or Script Runner or additional custom developed add-on.
We can’t utilise AWS as this is on premises servers with thousands of HPC compute nodes 10 thousands core.
Each Agent is unique and will run one job only.
This is causing situation that after 1 month time we had around 40k offline agents which was causing problems in UI and also new agents long registration and job pick up.
Only way was to manually go to agents list, select all offline agents and remove them from system.
Now we are looking to automate that but we don’t know how it is possible to do that.