Ad Widget

Collapse

Triggers URL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Centurion
    Junior Member
    • Nov 2019
    • 3

    #1

    Triggers URL

    Hi,
    how comes I have no option URL when I click on the problem in Monitoring → Problems (URL option in the Trigger menu) ?
    It would be very useful, thank you in advance.



    RHEL 7
    Zabbix 4.2
  • Bausdo
    Junior Member
    • Jun 2023
    • 4

    #2
    Hello Centurion,

    From what I've seen, this macro will show when used in an MSTeams message, not within HTML emails. If you would like the email to provide a quick link to the problem dashboard, I would recommend adding something along the lines of this to your alert message:

    <strong><a href="https://<EnterZabbixURLHere>.net/zabbix.php?action=problem.view&triggerids%5B%5D={T RIGGER.ID}">Click Here to View Problem</a></strong><br />

    This will be a part of the custom message sent by Alerts > Actions > Trigger actions > *action name* > Operations tab > Operations > *Custom message checkbox* >

    Subject:
    Problem: {EVENT.NAME}

    Message
    <h2><font color="red">{TRIGGER.DESCRIPTION}</h2></font>
    <strong>Problem started</strong> at {EVENT.TIME} on {EVENT.DATE}<br />
    <strong>Problem name:</strong> {EVENT.NAME}<br />
    <strong>Host:</strong> {HOST.NAME}<br />
    <strong>Item name:</strong> {ITEM.NAME}<br />
    <strong>Severity:</strong> {EVENT.SEVERITY}<br />
    <strong>Operational data:</strong> {EVENT.OPDATA}<br />
    <strong>Original problem ID:</strong> {EVENT.ID}<br />
    <strong><a href="https://<EnterZabbixURLHere>.net/zabbix.php?action=problem.view&triggerids%5B%5D={T RIGGER.ID}">Click Here to View Problem</a></strong><br />

    <h2> - Heading 2
    <strong> - Bold font
    <a> - Hyperlink
    <br /> - Line break

    I hope this helps a bit.

    Regards

    Comment

    Working...