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
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
Comment