Ad Widget

Collapse

How to add script to open host in client browser?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • khansari
    Member
    • Mar 2019
    • 33

    #1

    How to add script to open host in client browser?

    Hello,

    I need to add a script to my zabbix server that can open browser with specific URL on Zabbix admin OS Client.
    For example if a host has a problem, I want to click on hostname in problem list and then click on my script "Browser".
    So Zabbix must open a new tab on my browser and goto the page with url => http://{HOST.NAME}

    How can i do this ?

    Regrads,
  • splitek
    Senior Member
    • Dec 2018
    • 101

    #2
    I think by map and URL.


    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #3
      At the problems section in the popup menu for HOST - no way. Only pretty deep coding. You can add a URL to the trigger, and then a link to it will be available through the popupmenu (label - URL) at the" trigger name" of problems view.

      Comment

      • khansari
        Member
        • Mar 2019
        • 33

        #4
        Hello

        I added a custom link on popup menu into the file "menupopup.js"
        But i can't use Macro names like Hostname , So i can only add custom static url on popup menu.
        Is there any solution for add hostname macro in menupopup.js codes??

        Also when i added url into "inventory" section on host configuration, Is not show on problem popup or map popup. what is problem ?

        Thanks

        Comment

        Working...