SSM Instance Details

When you have configured the SSM Role as described here

the Insight AWS Integration are able to execute the following commands on the EC2-Instance and receive data.

This requires that the SSM-Agent is installed on the EC2-Instance and the SSM-Role is assigned.

For some Linux Systems the the dmidecode is not installed.

Related to that the attribute values will be not available.

Instance AttributeWindows CommandUnix Command
PlatformName


PlatformType


Hostname
hostnamehostname
Ram
Get-WmiObject Win32_PhysicalMemory | select Capacity"egrep '^MemTotal' /proc/meminfo
Model
Get-WmiObject Win32_ComputerSystem | select Modeldmidecode | grep 'Product'
Serialnumber
Get-WmiObject Win32_BIOS | select SerialNumber
dmidecode | grep 'Serial Number'
UUID
Get-WmiObject Win32_ComputerSystemProduct | select UUID
dmidecode | grep 'UUID'
Vendor
Get-WmiObject Win32_ComputerSystemProduct | select Vendor
dmidecode | grep 'Manufacturer'
SystemUpTime
(Date)-([Management.ManagementDateTimeConverter]::ToDateTime((gwmi Win32_OperatingSystem).LastBootUpTime))
uptime -p
OS
Get-WmiObject Win32_OperatingSystem | select Caption, Manufacturer, OSArchitecture, 
Version, BuildNumber, ServicePackMajorVersion, ServicePackMinorVersion | Format-List
uname -o -r -i -m && cat /etc/*release
Cpus
Get-WmiObject Win32_Processor | select Caption, Name, DeviceID, NumberOfCores, MaxClockSpeed  | Format-List
egrep '^(model name|cpu MHz|[pP]rocessor|physical id|cpu cores)' /proc/cpuinfo