Ad Widget

Collapse

URL in alert email for acknowledgement

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • doub
    Junior Member
    • Jan 2014
    • 12

    #1

    URL in alert email for acknowledgement

    Hi,

    I would like to have an URL in my Alert Email for accessing the acknowledgement page without opening the frontend first.

    Code:
    /acknow.php?eventid={ITEM.ID}&triggerid={TRIGGER.ID}
    This URL does not work as I get the attached error.

    Thanks for any suggestions.
    Attached Files
  • danrog
    Senior Member
    • Sep 2009
    • 164

    #2
    Change your URL to be...
    PHP Code:
    acknow.php?triggers[]={TRIGGER.ID}&backurl=tr_status.php 
    If you don't have eventid set (like it does on the dashboard), it expects a different parameter (highlight the link on the trigger status page and you will see this syntax)

    Comment

    • doub
      Junior Member
      • Jan 2014
      • 12

      #3
      Works like a charm - Thanks.

      Comment

      • asdfg
        Junior Member
        • Sep 2014
        • 5

        #4
        Hello, this works very well until update to 6.0 from 5.0 . In 6.0 i have following error:
        Code:
        Fatal error, please report to the Zabbix team[LIST][*]Controller: popup[*]action: popup[*]eventids: array[*]popup_action: acknowledge.edit[/LIST]
        edit:
        I found this bug: https://support.zabbix.com/browse/ZBX-20637
        Last edited by asdfg; 25-03-2022, 14:38. Reason: found bug report

        Comment

        Working...