AutoKuma icon indicating copy to clipboard operation
AutoKuma copied to clipboard

Multiple checks for single pod?

Open johntdyer opened this issue 1 year ago • 3 comments

Is it possible to define two different checks on a container ?

johntdyer avatar May 05 '24 20:05 johntdyer

Yes, you just need to use different ids for the monitors

kuma.monitor_1.http.name: "First Http Monitor"
kuma.monitor_1.http.url: "https://example1.com"
kuma.monitor_2.http.name: "Second Http Monitor"
kuma.monitor_2.http.url: "https://example2.com"

BigBoot avatar May 06 '24 05:05 BigBoot

I assume we can have multiple template references in a containers label?

labels:
      kuma.__web: '{ "host": "promtail", "port" :9080, "parent_group" : "group-monitoring" "max_retries":3}'
      kuma.__mqtt: '{ "host": "promtail", "port" :1884, "parent_group" : "group-monitoring" "max_retries":3}'

johntdyer avatar May 06 '24 12:05 johntdyer

Yes that should work

BigBoot avatar May 06 '24 12:05 BigBoot