*** /usr/share/zabbix/search.php.orig 2013-08-21 15:59:26.000000000 +0200 --- /usr/share/zabbix/search.php 2013-10-01 14:05:39.000000000 +0200 *************** *** 128,131 **** --- 128,132 ---- ZBX_DISTRIBUTED ? new CCol(_('Node')) : null, new CCol(_('Hosts')), + new CCol(_('Type')), new CCol(_('IP')), new CCol(_('DNS')), *************** *** 143,150 **** $hostid = $host['hostid']; ! $interface = reset($host['interfaces']); ! $host['ip'] = $interface['ip']; ! $host['dns'] = $interface['dns']; ! $host['port'] = $interface['port']; $style = $host['status'] == HOST_STATUS_NOT_MONITORED ? 'on' : null; --- 144,156 ---- $hostid = $host['hostid']; ! foreach ($host['interfaces'] as $interface) { ! foreach (array('ip', 'dns', 'port') as $key) { ! $host[$key][] = make_decoration($interface[$key], $search); ! $host[$key][] = BR(); ! } ! ! $host['type'][] = interfaceType2str($interface['type']); ! $host['type'][] = BR(); ! } $style = $host['status'] == HOST_STATUS_NOT_MONITORED ? 'on' : null; *************** *** 194,205 **** } - $hostip = make_decoration($host['ip'], $search); - $hostdns = make_decoration($host['dns'], $search); - $table->addRow(array( get_node_name_by_elid($hostid, true), $host_link, ! $hostip, ! $hostdns, new CLink(_('Latest data'), 'latest.php?'.$link), new CLink(_('Triggers'), 'tr_status.php?'.$link), --- 200,209 ---- } $table->addRow(array( get_node_name_by_elid($hostid, true), $host_link, ! $host['type'], ! $host['ip'], ! $host['dns'], new CLink(_('Latest data'), 'latest.php?'.$link), new CLink(_('Triggers'), 'tr_status.php?'.$link),