sni / Thruk

Thruk is a multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken using the Livestatus API.
http://www.thruk.org
Other
408 stars 148 forks source link

In panoramas, in the Hosts widget, the host display_name is not taken into account : the hostname is displayed instead #1044

Open eduault opened 4 years ago

eduault commented 4 years ago

Describe the bug In panoramas, in the Hosts widget, the host "display_name" is not taken into account : the hosts "hostname" is displayed instead.

Thruk Version 2.26-2

To Reproduce Steps to reproduce the behavior:

  1. In Shinken, register a host with a display_name
  2. In Thruk, create a panorama
  3. In the panorama, add a Hosts widget, which criteria are matched by the host in Shinken
  4. In the first column, the hostname is displayed instead of the display_name. And this column is called "Hostname" instead of "Host"

Expected behavior

  1. The first column should be called "Host", and the display_name of the host should be displayed when it is defined, as it is the case in the "Services" widget, and in the "Host Status Details" page.

Screenshots

Desktop (please complete the following information): Firefox 81.0 (64 bits)

Additional context

eduault commented 3 years ago

Can you fix this bug ? 🙏