AWS tags as host labels

So the Check_MK documentation for both 1.6 and 2.0+ say this:

Blockquote
Checkmk can create such dynamic hosts automatically with the dynamic host configuration, and can also receive information on any labels/tags that are already present.
Blockquote

But I cannot figure out anyway to implement this. Can anyone point me to how I can get check_mk to import AWS tags?

So no one has a clue on this one?

Hi @tschmidty,

I was told about your unanswered question and I am trying find something out about that. I will come back to you as soon as I know more.

1 Like

Thanks. I poked around the code and data_source_cache and it looks like the tags get pulled as ec2_labels and the tags all get pulled and stored internally per the source (checkmk/agent_aws.py at master · tribe29/checkmk · GitHub) but they just don’t get associated with the dynamically created host.

This is really strange. It seems that we planned on having this feature available, and it was - perhaps mistakenly - removed a short time after being written.

I have opened an internal ticket with our developers now. I cannot promise that this will be fixed very quickly though.

For the time being I can only say, that it is currently not possible to get the tags from an AWS as host labels in Checkmk.

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.