Ad Widget

Collapse

Host description in problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iNg4Phah
    Junior Member
    • May 2017
    • 13

    #1

    Host description in problems

    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?
    Attached Files
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    At the moment, this is not possible without reworking the source codes of the frontend.
    It's a good idea!

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #3
      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:
      Code:
      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;
      >               }
      For version 4.4.1

      Comment

      Working...