This is an IBM Automation portal for Cloud Platform products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).
We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:
Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,
Post an idea.
Get feedback from the IBM team and other customers to refine your idea.
Follow the idea through the IBM Ideas process.
Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.
IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.
ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.
See this idea on ideas.ibm.com
Hi team,
https://localhost:8443/#resources/agents
On Agent page under resources there is an option to filter agents by relay they are currently connected to.
Under the relay name dropdown there should be an option to filter agents not connected to any relay (those directly connected to server and No Relay).
For e.g., we have more than 6000+ agents and some old agents are still directly connected to the server directly (with relay option as None/Blank) and to search such agents for an admin we have to check every agent page as those connected directly appear in random orders (not together) as the up/down option as present for for e.g., for Date Created is also not present in the Relay to order them.
Please check the attachments for the relay filter on agent page. As you can see those agents not connected to any relay appear in the random order and not grouped together.
Thanks.
Idea priority | Low |
By clicking the "Post Comment" or "Submit Idea" button, you are agreeing to the IBM Ideas Portal Terms of Use.
Do not place IBM confidential, company confidential, or personal information into any field.
Please check the REST APIs which can help you to get the list of not connected agents. And based on the output it could do f.e. linking the agents automatically to an relay...
I have added here an example from my demo server for searching for agents which do not have a connection to a relay:
If an agent is connected to an Relay it has relayId set. If not it is not available. The next step could be to filter this json to show only the agents which do not have this key "relayId".
Here my example call, i am using on a linux shell cURL and jq (a "json formatter" for the command line )
curl -k -u PasswordIsAuthToken:fxxxxx-axxx-xxxx-xxxx-xxxx https://ucd.nbg-demo.cloud:8443/cli/agentCLI | jq
[
{
"id": "17ea12ad-274a-414b-1f9b-02cdffaeae42",
"securityResourceId": "17ea12ad-2710-b364-fd62-a44d342aed15",
"name": "cqdb.oz.demo.cloud",
"active": true,
"relayId": "agentRelay-fuMUPOgnwwK8MDjR",
"endpointId": "i455jGqlmthYWVRNS5yU",
"licensed": false,
"licenseType": "NONE",
"status": "ONLINE",
"version": "7.2.1.0.1122954",
"communicationVersion": "Web",
"lastContact": 1643381510809,
"dateCreated": 1643381445219,
"workingDirectory": "/opt/ibm-ucd/agent/var/work/",
"features": [
"comm-2017"
],
"impersonationPassword": "****",
"impersonationUseSudo": false,
"impersonationForce": false,
"tags": []
},
{
"id": "179ccc9d-db00-bfc1-8aea-d43337dbe7e7",
"securityResourceId": "179ccc9d-dad2-468e-cba8-d4b7f7ba83ef",
"name": "ucd.local",
"active": true,
"endpointId": "fDU4QihGnyzMWHpWrugN",
"licensed": false,
"licenseType": "FLOATING",
"status": "ONLINE",
"version": "7.1.2.1.1104185",
"communicationVersion": "Web",
"lastContact": 1643381510809,
"dateCreated": 1622638452129,
"workingDirectory": "/opt/ucd/agent/var/work/",
"features": [
"comm-2017"
],
"impersonationPassword": "****",
"impersonationUseSudo": false,
"impersonationForce": false,
"tags": []
},
{
"id": "17e90def-672f-d9f0-5e0a-65667252a71f",
"securityResourceId": "17e90def-66f8-759e-1bc5-f7c7f1f7dff3",
"name": "win10cqdemo",
"active": true,
"endpointId": "bRErUkA2epdIj3pyV5nZ",
"licensed": false,
"licenseType": "FLOATING",
"status": "OFFLINE",
"version": "7.2.1.0.1122954",
"communicationVersion": "Web",
"lastContact": 1643276412081,
"dateCreated": 1643108038242,
"workingDirectory": "C:\\Program Files\\agent\\var\\work\\",
"features": [
"comm-2017"
],
"impersonationPassword": "****",
"impersonationUseSudo": false,
"impersonationForce": false,
"tags": []
}
]
My next call is filtering out all agents which have relayId set and show only ones without this key:
curl -k -u PasswordIsAuthToken:f7xxxx-xxxx-xxxx-xxxx-xxxxxx https://ucd.nbg-demo.cloud:8443/cli/agentCLI | jq '[ .[] | select (has("relayId") == false )]'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1627 100 1627 0 0 12363 0 --:--:-- --:--:-- --:--:-- 13016
[
{
"id": "179ccc9d-db00-bfc1-8aea-d43337dbe7e7",
"securityResourceId": "179ccc9d-dad2-468e-cba8-d4b7f7ba83ef",
"name": "ucd.local",
"active": true,
"endpointId": "fDU4QihGnyzMWHpWrugN",
"licensed": false,
"licenseType": "FLOATING",
"status": "ONLINE",
"version": "7.1.2.1.1104185",
"communicationVersion": "Web",
"lastContact": 1643382105793,
"dateCreated": 1622638452129,
"workingDirectory": "/opt/ucd/agent/var/work/",
"features": [
"comm-2017"
],
"impersonationPassword": "****",
"impersonationUseSudo": false,
"impersonationForce": false,
"tags": []
},
{
"id": "17e90def-672f-d9f0-5e0a-65667252a71f",
"securityResourceId": "17e90def-66f8-759e-1bc5-f7c7f1f7dff3",
"name": "win10cqdemo",
"active": true,
"endpointId": "bRErUkA2epdIj3pyV5nZ",
"licensed": false,
"licenseType": "FLOATING",
"status": "OFFLINE",
"version": "7.2.1.0.1122954",
"communicationVersion": "Web",
"lastContact": 1643276412081,
"dateCreated": 1643108038242,
"workingDirectory": "C:\\Program Files\\agent\\var\\work\\",
"features": [
"comm-2017"
],
"impersonationPassword": "****",
"impersonationUseSudo": false,
"impersonationForce": false,
"tags": []
}
]