Werk #10091: Agent AWS: Let EC2 services become stale if the instance was terminated

Component Checks & agents
Title Agent AWS: Let EC2 services become stale if the instance was terminated
Date Sep 16, 2019
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.0.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0p23 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The EC2 piggybacked hostname contains the value of the field 'PrivateIpAddress'. If an EC2 instance terminates then this field is missing. In this case we skip this instance and the services of the EC2 instance become stale. Moreover the Check_MK service reports 'Got not information from host'.

To the list of all Werks