Ad Widget

Collapse

Many Trigger One Mail

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vikty
    Senior Member
    • Jul 2007
    • 104

    #1

    Many Trigger One Mail

    Hi,

    Anyone know: how can I send a single e-mail that have inside different trigger?
    for exemple:

    Subject:Macchine's Trigger
    Body: HOSTNAME
    Trigger1:ON
    Trigger2:ON
    Trigger3:ON
    and so....


    I have seen that zabbix send one e-mail to any trigger that have changed the status:

    Subject:Macchine's Trigger
    Body: HOSTNAME
    Trigger1:ON

    Subject:Macchine's Trigger
    Body: HOSTNAME
    Trigger2:ON

    Subject:Macchine's Trigger
    Body: HOSTNAME
    Trigger3:ON

    Action Configuration:
    Name Machine's Trigger
    Event source Trigger
    Type of calculation (A or B or C or D)
    Conditions
    (A) Trigger = "Trigger01"
    (B) Trigger = "Trigger02"
    (C) Trigger = "Trigger03"
    (D) Trigger = "Trigger04"

    Operations
    Send message to User "admin"

    Is there this function in Zabbix?
    Last edited by vikty; 19-09-2007, 13:13.
  • vikty
    Senior Member
    • Jul 2007
    • 104

    #2
    Is there anyone???

    Comment

    • cstackpole
      Senior Member
      Zabbix Certified Specialist
      • Oct 2006
      • 225

      #3
      Do you mean you want the status every time regardless? or do you just want the triggers that are ON?
      If you just want the status of all then you could just do something like:
      {host1:key1.expr1}
      {host2:key2.expr2}
      {host3:key3.expr3}
      {host4:key4.expr4}

      If only 1 and 4 were ON and you didn't want to send 2 and 3, then I don't know. The only thing I have would be to configure an email alert for each condition so that only one email goes out for when both 1 and 4 are active, another for 1 and 3, another for 1 and 2, another....ect ect ect

      I know that is probably not the answer you were looking for but I am sorry to report that is all I got right now. Hopefully someone else with a better answer will respond.

      Comment

      • vikty
        Senior Member
        • Jul 2007
        • 104

        #4
        Thank you, anyway

        I hope that in the next release, this feature would be add....

        Comment

        • fatiha
          Member
          • Nov 2007
          • 78

          #5
          Hi vikty,

          I want to do the same thing. Now, are you able to configure many trigger in one mail?

          Bye,
          Fatiha

          Comment

          • Alexei
            Founder, CEO
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Sep 2004
            • 5654

            #6
            I am not sure what you mean here. If you want to receive a message when ALL the triggers are ON, just change the Type of calculation to "A and B and C and D".
            Alexei Vladishev
            Creator of Zabbix, Product manager
            New York | Tokyo | Riga
            My Twitter

            Comment

            • vikty
              Senior Member
              • Jul 2007
              • 104

              #7
              Hi,
              sorry honestly....
              I don't remember......... O_O

              Comment

              • fatiha
                Member
                • Nov 2007
                • 78

                #8
                Hi Alexei,

                In fact, I want to receive a mail that contains a report of all triggers contained in a project (host group).

                This mail would have this format :
                - trigger 1 : ON
                - trigger 2 : OFF
                - trigger 3 : OFF

                Is it possible with this release or not?

                Thanks,
                Fatiha

                Comment

                • vikty
                  Senior Member
                  • Jul 2007
                  • 104

                  #9
                  Identify the trigger in an action with multiple trigger

                  hi,

                  if you are configure an action to send an email when:
                  trigger1 or trigger2 or ....

                  and you want know what is the trigger that has changed its status
                  you can insert in the mail

                  {TRIGGER.NAME}:{TRIGGER.VALUE}
                  In this way you can know what's the trigger in ON state or OFF state

                  to see a list:
                  -trigger 1 : ON
                  - trigger 2 : OFF
                  - trigger 3 : OFF

                  I don't know because I don't know how to identify the differents trigger.status
                  Last edited by vikty; 10-03-2008, 16:04.

                  Comment

                  • fatiha
                    Member
                    • Nov 2007
                    • 78

                    #10
                    Thanks Vikty,

                    In fact, I want to receive a mail with a list of triggers "OFF" by project.

                    Bye,
                    Fatiha

                    Comment

                    Working...