Ad Widget

Collapse

Link to trigger in email

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • onallion
    Senior Member
    • Mar 2016
    • 131

    #1

    Link to trigger in email

    Hey guys,

    Is there any way to attach a URL to a trigger email that will automatically navigate to the specific trigger?

    My purpose is so users could click the link and immediately acknowledge a problem.

    Thanks!
  • hpeti2
    Junior Member
    • Jul 2015
    • 29

    #2
    Originally posted by onallion
    Hey guys,

    Is there any way to attach a URL to a trigger email that will automatically navigate to the specific trigger?

    My purpose is so users could click the link and immediately acknowledge a problem.

    Thanks!
    Hi!

    Try to expand "Default message" with this:
    http://YOUR-ZABBIX-ADDRESS/events.php?triggerid={TRIGGER.ID}

    Comment

    • onallion
      Senior Member
      • Mar 2016
      • 131

      #3
      I'm getting "The requested URL /zabbix/events.php was not found on this server."

      Important to mention I'm on Zabbix 3.2, perhaps the URL has changed? I don't seem to have events.php

      Comment

      • hpeti2
        Junior Member
        • Jul 2015
        • 29

        #4
        Originally posted by onallion
        I'm getting "The requested URL /zabbix/events.php was not found on this server."

        Important to mention I'm on Zabbix 3.2, perhaps the URL has changed? I don't seem to have events.php
        Sorry. I'm on 3.0.

        Comment

        • onallion
          Senior Member
          • Mar 2016
          • 131

          #5
          Well, I changed it to the following:

          Link to event: http://ZABBIX-SERVER/tr_events.php?triggerid={TRIGGER.ID}&eventid={EVEN T.ID}

          Acknowledge: http://ZABBIX-SERVER/zabbix.php?acti....edit&eventids[]={EVENT.ID}

          Works like a charm. Your guidance helped, thanks
          Last edited by onallion; 23-01-2017, 16:04.

          Comment

          • Deniss.S
            Junior Member
            Zabbix Certified Specialist
            • May 2014
            • 10

            #6
            Originally posted by onallion
            Well, I changed it to the following:

            Link to event: http://ZABBIX-SERVER/tr_events.php?triggerid={TRIGGER.ID}&eventid={EVEN T.ID}

            Acknowledge: http://ZABBIX-SERVER/zabbix.php?acti....edit&eventids[]={EVENT.ID}

            Works like a charm. Your guidance helped, thanks
            Do you able to receive correct link to event in email?

            I had problem, that I do not receive {EVENT.ID} value in the link.
            So for now I`m using {$URL}{EVENT.ID}, where {$URL} is https://zabbix/tr_events.php?triggerid={TRIGGER.ID}&eventid=

            Comment

            • onallion
              Senior Member
              • Mar 2016
              • 131

              #7
              Yeah, it works for me.

              Comment

              • Deniss.S
                Junior Member
                Zabbix Certified Specialist
                • May 2014
                • 10

                #8
                Thanks! Now it work for me!

                Comment

                Working...