Ad Widget

Collapse

Triger Action condition by Host Tag

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • igorvin2@gmail.com
    Junior Member
    • Nov 2020
    • 6

    #1

    Triger Action condition by Host Tag

    Hello,
    I'm trying to send an alert by Trigger Action with condition Value of Tag:
    I created a new Tag on Host Level and set my trigger condition but the ​​​alert not arriving
    What I'm doing wrong?

    Click image for larger version

Name:	pic1.png
Views:	372
Size:	14.6 KB
ID:	413471
    Click image for larger version

Name:	pic2.png
Views:	361
Size:	18.2 KB
ID:	413472

    Thanks for your help


    Attached Files
  • marcribe
    Junior Member
    • Aug 2025
    • 1

    #2
    Hello,

    I'm replying to this old ticket. So yes, I'm trying currently to achieve the same thing.

    After a few tests, currently the condition on the tag value refers to the trigger or item tag value, not the host tag. (To be confirmed.)

    It would be interesting to have a further condition type: "Host Tag Value" which does exactly this.
    Is a host has a tag with a specific tag:value, then the action will be fired. (Only then).

    Example:
    If a host has tag "notify:sms" then the SMS notifications will be enabled for this host.

    This could provide further flexibility, besides the already existing conditions based on Host Group.

    Perhaps there is already a way of doing this?

    Thanks,

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #3
      Every event inherits tags from whole chain, host, item, trigger etc... https://www.zabbix.com/documentation...config/tagging
      Actions do not care at which level this is added. From event it is impossible to tell from where tag was added. You can only backtrack it through configuration...

      Comment

      Working...