Open towolf opened 6 years ago
I've started working on make more Icinga object parameters configurable. I'll see if I can do something about the display names. I'm thinking supporting a template like in https://github.com/Nexinto/rancher-icinga (see STACK_NAME_TEMPLATE). Do you have any suggestion or preference for how the names would look like?
Yes, a go-temptated string would probably the best.
At first I thought instead of k8s-aix02.kube-system.po-kube-apiserver-kvm335
it should just be kube-apiserver-kvm335
, but maybe that is not a good idea.
If, e.g., a deployment is just called application
, then to find out what it is, one would have to inspect the vars attached to the Host.
Looking at the resulting objects in Icinga, I think that the displayed names are maybe too noisy and setting
display_name
to the actual object name without prefixes would be less overwhelming.