There is a nice feature: in the Monitoring>Latest data it is possible to display item description (zabbix_item.descr.png in the attachment). Is it possible to display a description of a host in Monitoring>Problems in the Host column similar to the item description?
Ad Widget
Collapse
Host description in problems
Collapse
X
-
At the moment, this is not possible without reworking the source codes of the frontend.
It's a good idea! -
After a little work with the frontend, I made the display of the host description in the list of problems.
Changes one file - include/triggers.inc.php.
Below the line in diff format:
For version 4.4.1Code:2284c2284 < 'output' => ['hostid', 'name', 'maintenanceid', 'maintenance_status', 'maintenance_type'], --- > 'output' => ['hostid', 'name', 'maintenanceid', 'maintenance_status', 'maintenance_type','description'], 2371,2372c2371,2372 < } < --- > $trigger_hosts[] = ($host['description'] !== '') ? makeDescriptionIcon($host['description']) : null; > }
Comment
Comment