[Pkg-nagios-devel] Bug#857366: monitoring-plugins-basic: check_ping cannot parse output under certain locale settings
Olivier Berger
olivier.berger at telecom-sudparis.eu
Fri Mar 10 15:13:32 UTC 2017
Package: monitoring-plugins-basic
Version: 2.1.1-1
Severity: normal
Hi.
Having installed icinga2 on a jessie system, I get a critical error on
the localhost with check_ping :
*** End of the template - remove these template lines ***
Host Status: DOWN
(for 0d 0h 52m 19s)
Status Information: /bin/ping -n -U -w 30 -c 5 127.0.0.1
CRITIQUE - Impossible d'interpr�ter le r�ponse de la commande ping
My host has a strange locale probably, which causes the error.
# locale
LANG=fr_FR at euro
LANGUAGE=
LC_CTYPE="fr_FR at euro"
LC_NUMERIC="fr_FR at euro"
LC_TIME="fr_FR at euro"
LC_COLLATE="fr_FR at euro"
LC_MONETARY="fr_FR at euro"
LC_MESSAGES="fr_FR at euro"
LC_PAPER="fr_FR at euro"
LC_NAME="fr_FR at euro"
LC_ADDRESS="fr_FR at euro"
LC_TELEPHONE="fr_FR at euro"
LC_MEASUREMENT="fr_FR at euro"
LC_IDENTIFICATION="fr_FR at euro"
LC_ALL=
This seems like the same bug as old #327212.
Thanks in advance.
Best regards,
-- System Information:
Debian Release: 9.0
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'stable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
More information about the Pkg-nagios-devel
mailing list