Thruk icon indicating copy to clipboard operation
Thruk copied to clipboard

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

Open eduault opened this issue 4 years ago • 1 comments

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 avatar Oct 05 '20 16:10 eduault

Can you fix this bug ? 🙏

eduault avatar Apr 22 '21 07:04 eduault