Werk #14581: AWS: Allow configurable piggyback names
Component | Checks & agents | ||
Title | AWS: Allow configurable piggyback names | ||
Date | Feb 3, 2023 | ||
Level | Trivial Change | ||
Class | New Feature | ||
Compatibility | Compatible - no manual interaction needed | ||
Checkmk versions & editions |
|
When creating a piggyback host for an EC2 instance, agent_aws uses the format
{Private IPv4 address}-{region}-{Instance ID}
This format guarantees that the piggback name is always unique, even when instances are restarted and could potentially switch their IP address. However, in practice this problem can be neglected and only using the Private IP DNS name as a piggyback name is safe. With this werk, the option Piggyback names in the rule Amazon Web Services (AWS) allows you to configure how piggyback hosts are named.
Note, that if a host changes it's name, then all historical data is lost.