Replies: 1 comment
-
I had the same problem, but I bypass it with a small docker feature
I force the diun container hostname with the swarm cluster name and then I use .Meta.Hostname in the templatebody Working perfectly. But i still miss the name of the services for each analyzed container. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to reference the name of the host within the templateBody for notifications. Basically, in the example below, I want to reference the name of the host in the notification message. I tried
.Host
andenv
, but they don't work when I invokediun notif test
. Is this possible? Thanks!Beta Was this translation helpful? Give feedback.
All reactions