Hello,
Suppose this situation: I have one mail server which runs IMAP, SMTP and POP. I would like to execute proxy checks for IMAP, SMTP and POP. I would like those checks to be a part of one proxy entity, such as mailserver.tld
To do this, I should:
- Make my entity’s
proxy_typeentity attribute a list (e.g.:imap,pop,smtp) - Change proxy check’s
entity.labels.proxy_typeto check if the value is inproxy_typeinstead of ifproxy_typematches its value ("entity.labels.proxy_type == '{{ item.name }}'")
However, according to https://docs.sensu.io/sensu-go/latest/reference/filters/#syntax-quick-reference, I cannot check if the value is in the list, which would make it impossible to do this.
Is this correct?