Ad Widget

Collapse

How to setup Action for one particular triger but for all hosts in particula template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kanour
    Senior Member
    • May 2006
    • 105

    #1

    How to setup Action for one particular triger but for all hosts in particula template

    Hi.
    I am trying to setup an Action to send emails for particular trigger but for all hosts in one template.
    More specificaly trigger for ping for all host in standalone template.
    I can not make it work.

    If I setup triger for specific trigger and specific host, then it works.

    Any advice?
  • krusty
    Senior Member
    • Oct 2005
    • 222

    #2
    Which version of zabbix do you use?

    Comment

    • kanour
      Senior Member
      • May 2006
      • 105

      #3
      Sorry, I use 1.1beta11 with all patches included from today.

      Comment

      • epifanova
        Junior Member
        • May 2006
        • 26

        #4
        i think you can use:
        trigger= "trigger name"
        +
        host="template host"

        Comment

        • kanour
          Senior Member
          • May 2006
          • 105

          #5
          This does not work:
          Host = "Host.Basic.Visinet" (template)
          Trigger = "Host.Basic.Visinet Failed Ping Response Check" (trigger in template)
          Trigger value = "ON"

          Comment

          • epifanova
            Junior Member
            • May 2006
            • 26

            #6
            hmm..
            and what about joining all needed hosts in one group and then changing host="template host" to Host group="Your group"?

            Comment

            • kanour
              Senior Member
              • May 2006
              • 105

              #7
              Still not working.

              Host group = "jirik_hosts"
              Host = "Host.Basic.Visinet"
              Trigger = "Ping Response Check Failed at Host.Basic.Visinet"
              Trigger value = "ON"

              Comment

              • krusty
                Senior Member
                • Oct 2005
                • 222

                #8
                Try to set only one, for example Host = "hostname"

                I use this and it works.

                Comment

                • kanour
                  Senior Member
                  • May 2006
                  • 105

                  #9
                  krusty I know that it works for one hostname only. The problem is that I have around 30 hosts.

                  Comment

                  • krusty
                    Senior Member
                    • Oct 2005
                    • 222

                    #10
                    Are the 30 hosts into one hostgroup? If this is true use only Host group = "Your group"

                    Comment

                    • kanour
                      Senior Member
                      • May 2006
                      • 105

                      #11
                      krusty, it does not work whatever I do. They are in one host group.

                      Does it work for you?

                      Comment

                      Working...