Ad Widget

Collapse

Link to the Host web interface

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Crypty
    Member
    • Jul 2012
    • 80

    #1

    Link to the Host web interface

    Hi everybody,

    I was trying to find a way how to click on the monitored unit displayed in the Dashboard due to some issues so I could easily and quickly go to the host web interface.

    I found that after clicking on the unit in the Dashboard "latest issues" I can go to Inventory and then to "details" and if I have the URL defined, I can click on this URL to go to the host web interface.

    Is there any other way how to do it?

    (I don't need a link from the Maps, I found that URL can be configured here too)

    Thanks a lot!
    Last edited by Crypty; 26-08-2014, 14:58.
  • Smersh
    Member
    • Jul 2013
    • 49

    #2
    You can add URL to respective field of trigger configuration. After that, text in a row of the "Problem" column becomes that url. For example, I use http://my.zabbix-server.lan/events.php?triggerid={TRIGGER.ID}. In addition I use the following string in notification action that open corresponding "Events" page:
    Code:
    <a href="http://my.zabbix-server.lan/tr_events.php?triggerid={TRIGGER.ID}&eventid={EVENT.ID}">Event details</a>

    Comment

    • Crypty
      Member
      • Jul 2012
      • 80

      #3
      Thank you! This helped... Now, I can configure particular URL and it shows in the Dashboard.

      Can I somehow define a template with MACRO instead of individual host configuration? I already have a template and its triggers, but without URL. What should I write there so the correct URL appears? I tried http://{HOST.IP1}, but it did not work... Should I configure some special MACRO in the host definition?

      Comment

      • Smersh
        Member
        • Jul 2013
        • 49

        #4
        Unfortunately, One macro may be used in the trigger URL field - {TRIGGER.ID}. Thus, as in the example I've given above, you have to type explicity your zabbix host url in each trigger url field.
        Last edited by Smersh; 26-08-2014, 15:05.

        Comment

        Working...