user12320061
user12320061

Reputation: 9

Checking Datadog agent versions installed on AWS EC2 Instances

Recent Tenable scan highlighted an issue with certain versions of datadog versions. This is also brought to attention in Datadog monitor.

Critical bug in Windows Agent versions 6.14.0 and 6.14.1. See --> http://dtdg.co/win-614-fix <-- for steps to fix the issue.

As the bulk of our servers are hosted on AWS - just wondered if I could query this through AWS CLI to list which servers were using the affected versions.

Upvotes: 0

Views: 1901

Answers (1)

XYZ123
XYZ123

Reputation: 456

On the bottom of the infrastructure list, you should see a link called "JSON API permalink". If you query it, this should give you a JSON of all your hosts with their agent version. You can then query it with a quick Python script.

Upvotes: 1

Related Questions