Ad Widget

Collapse

Modifying "Go To" popup menu appearing when clicking on Hostname of last 20 issues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sandeep.parekh
    Junior Member
    • Jun 2013
    • 4

    #1

    Modifying "Go To" popup menu appearing when clicking on Hostname of last 20 issues

    Hi All,

    I just made my zabbix 2.2.2 server and start playing with it.

    I was trying to add new Menu options in "Go To" section of popup menu appearing when clicking on Hostname of last 20 issues.

    but stucked at this point. Does any one have any idea how can i add more items in that menu?


    Regards
    Sandeep
    Attached Files
  • sandeep.parekh
    Junior Member
    • Jun 2013
    • 4

    #2
    Answer

    After much investigating i finally found the answer:

    Need to modify

    Function: getMenuPopupHost
    File: menupopup.js

    Can easily add new items or sections there.

    Regards
    Sandeep

    Comment

    • pantera
      Member
      • Dec 2014
      • 39

      #3
      Originally posted by sandeep.parekh
      After much investigating i finally found the answer:

      Need to modify

      Function: getMenuPopupHost
      File: menupopup.js

      Can easily add new items or sections there.

      Regards
      Sandeep
      Ho to add host ip address there?

      Comment

      • pantera
        Member
        • Dec 2014
        • 39

        #4
        help meto add rdp please

        Comment

        • lazylion.ca
          Junior Member
          • Apr 2018
          • 7

          #5
          I can give you a half-assed version here.

          Click Administration/Scripts and Create Script

          Call it something like "Host Links".
          Type: Script
          Execute on: Zabbix Server


          In the Commands box:

          # http://{HOST.CONN}

          # https://{HOST.CONN}

          # rdp://{HOST.CONN}


          Click Add or Update to save.

          Now go to your problems list and test.

          it at least gives you something you can copy and paste. Not exactly ideal of course.

          It would be nice if we could display clickable links there and have access to more macros like host.id

          Guess I'll make a feature request.


          Comment

          Working...