Docker-Nagios icon indicating copy to clipboard operation
Docker-Nagios copied to clipboard

No map shown when using Umlaut in alias

Open BertramVielsack opened this issue 1 year ago • 2 comments

Hi, after upgrade to jasonrivers/nagios:4.4.14 the ui no longer shows the "Map" while "Legacy" still worked.

This seems to be caused by using German umlauts within aliases.

The issue can be reproduced with the following files:

docker-compose.yml

services:
  nagios:
    image: jasonrivers/nagios:4.4.14
    ports: 
      - 80:80
    volumes:
      - ./localhost.cfg:/opt/nagios/etc/objects/localhost.cfg

localhost.cfg:

define host {
        use                     linux-server
        host_name               localhost
        alias                   localhost Büro
        address                 127.0.0.1
        }

define service {
        use                             local-service,graphed-service
        host_name                       localhost
        service_description             PING
	check_command			check_ping!100.0,20%!500.0,60%
        }

When I remove "Büro" from alias or use version 4.4.8 the issue does not occur.

Regards Bertram

BertramVielsack avatar Oct 05 '23 09:10 BertramVielsack

Sounds like you've nailed it down.

But it appears to be an issue with actual Nagios rather than this Docker-packaging project, have you tried searching for it/raising it in the main Nagios repo?

Kolossi avatar Oct 05 '23 09:10 Kolossi

I have tried to search but was not able to find a similar issue. I agree with you that its likely to be an issue in the nagios repo but I am not sure. My hope is that you better know where and how to address the issue and finally provide a fixed docker image.

BertramVielsack avatar Oct 05 '23 10:10 BertramVielsack