Ad Widget

Collapse

When clicking on a Host in Problems, can you have a script that opens "URL A"?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • brettr
    Junior Member
    • Jun 2024
    • 1

    #1

    When clicking on a Host in Problems, can you have a script that opens "URL A"?

    I'm trying to create a script that will open the URL of a host assigned to the URL A section to the scripts or other another way when in the problems tab.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2

    https://www.zabbix.com/documentation...iggers/trigger
    Menu entry URL If not empty, the URL entered here (up to 2048 characters) is available as a link in the event menu in several frontend locations, for example, when clicking on the problem name in Monitoring → Problems or Problems dashboard widget.
    The same set of macros is supported as in the trigger name, plus {EVENT.ID}, {HOST.ID} and {TRIGGER.ID}. Note: user macros with secret values will not be resolved in the URL.
    So you can easily add https://{HOST.NAME}/some/path there...

    Comment

    Working...