| Server IP : 167.99.254.82 / Your IP : 216.73.216.188 Web Server : Apache System : Linux host.techisquad.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 User : pawluxera ( 1011) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/usr/lib/python3/dist-packages/awscli/examples/discovery/ |
Upload File : |
**Describe agents with specified collectionStatus states**
This example command describes collection agents with collection status of "STARTED" or "STOPPED".
Command::
aws discovery describe-agents --filters name="collectionStatus",values="STARTED","STOPPED",condition="EQUALS" --max-results 3
Output::
{
"Snapshots": [
{
"version": "1.0.40.0",
"agentType": "EC2",
"hostName": "ip-172-31-40-234",
"collectionStatus": "STOPPED",
"agentNetworkInfoList": [
{
"macAddress": "06:b5:97:14:fc:0d",
"ipAddress": "172.31.40.234"
}
],
"health": "UNKNOWN",
"agentId": "i-003305c02a776e883",
"registeredTime": "2016-12-09T19:05:06Z",
"lastHealthPingTime": "2016-12-09T19:05:10Z"
},
{
"version": "1.0.40.0",
"agentType": "EC2",
"hostName": "ip-172-31-39-64",
"collectionStatus": "STARTED",
"agentNetworkInfoList": [
{
"macAddress": "06:a1:0e:c7:b2:73",
"ipAddress": "172.31.39.64"
}
],
"health": "SHUTDOWN",
"agentId": "i-003a5e5e2b36cf8bd",
"registeredTime": "2016-11-16T16:36:25Z",
"lastHealthPingTime": "2016-11-16T16:47:37Z"
}
]
}