Ad Widget

Collapse

Add Latest Data link on maps

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bluelinq
    Member
    • Feb 2008
    • 44

    #1

    Add Latest Data link on maps

    I think it will be a good idea to add the Latest Data link to the popup for each hostid while looking at a map. There is a screenshoot of what I am refering to.

    Here is the code for Zabbix 1.6.2

    In /includes/maps.inc.php above line 756:

    $menus.= "['".S_STATUS_OF_TRIGGERS."',\"javascript: redirect('tr_status.php?hostid=".$db_element['elementid']."&noactions=true&onlytrue=true&compact=true')\ ", null,{'outer': ['pum_o_item'],'inner' : ['pum_i_item']}],";

    Add the following:

    $menus.= "['".S_LATEST_DATA."',\"javascript: redirect('latest.php?open=1&hostid=".$db_element['elementid']."&select=0')\", null,{'outer' : ['pum_o_item'],'inner' : ['pum_i_item']}],";

    Canit be added to the latest code and future releases?

    Regards,

    Paul
    Attached Files
  • Sir_Yaro
    Member
    • Nov 2008
    • 37

    #2
    Great hack. My technicians already use it and love it.

    Comment

    • bobrivers
      Senior Member
      • Feb 2007
      • 115

      #3
      Nice one

      This is nice. Well done.

      I included it in the feature request database (ZBXNEXT-84)

      Comment

      Working...