I am managing about 15 Debian servers with different versions.
Most servers have the locale es_ES.UTF-8 configured
root@server:~# cat /etc/default/locale
# File generated by update-locale
LANG=es_ES.UTF-8
root@SERVER:~# locale
LANG=es_ES.utf8
LANGUAGE=
LC_CTYPE="es_ES.utf8"
LC_NUMERIC="es_ES.utf8"
LC_TIME="es_ES.utf8"
LC_COLLATE="es_ES.utf8"
LC_MONETARY="es_ES.utf8"
LC_MESSAGES="es_ES.utf8"
LC_PAPER="es_ES.utf8"
LC_NAME="es_ES.utf8"
LC_ADDRESS="es_ES.utf8"
LC_TELEPHONE="es_ES.utf8"
LC_MEASUREMENT="es_ES.utf8"
LC_IDENTIFICATION="es_ES.utf8"
LC_ALL=
When on "System and Server Status" I create the monitor "load average", and configure the field "Maximum load average", with a value of "20" (for example). Then the monitos shows ok (or up). However in the planned executions (every 5 minutes) the load average monitor stop working and I receive an email with the subject:
"Service monitor: Load Average uninstalled on SERVER.domain.com" and the message body "Monitor on SERVER.domain.com for 'Load Average' has detected that the service is uninstalled at 27 / Dec / 2019 13:16".
This problem has been happening for years, in the successive versions of Wembin with Debian configured in Spanish. The language chosen in Webmin does not matter, since it happens both when it is set in Spanish or English.
I think the problems may be ins outpot of uptime command or similar , because spanish locale uses commas instead dots
root@SERVER:~# cat /proc/loadavg
0.10 0.14 0.07 1/340 27632
root@iplearning17:~# uptime
12:07:10 up 3 days, 22:14, 2 users, load average: 0,16, 0,15, 0,07
Greetings,
Juan Carlos
Thanks for reporting this - we'll fix this in the next Webmin release.
I realized that on the servers where the Load Average monitor did not work, there was the file "/etc/default/locale" with the next content:
On servers where this file did not exist, or was empty, the Load Average Monitor from Webmin works correctly. Except in an old Debian 6, which works even if it exists and has that variable set to LANG=es_ES.UTF-8
However, it would be convenient that this works even if this file exists and is setting some value.
Regards,
Juan Carlos