Hi CheckMK’ers
Hope you are well. We use a few mrpe checks on some of our VM’s. But they have stopped working.
This is on Centos 7, latest.
We get the following error:
(check_cassandra_nodes.pl) cassandra_nodes 3 sh: warning: setlocale: LC_ALL: cannot change locale (C.utf8): No such file or directoryUNKNOWN: unrecognized output '/bin/sh: warning: setlocale: LC_ALL: cannot change locale (C.utf8): No such file or directory', nodetool output format may have changed, aborting, Please try latest version from https://github.com/harisekhon/nagios-plugins, re-run on command line with -vvv and if problem persists paste full output from -vvv mode in to a ticket requesting a fix/update at https://github.com/harisekhon/nagios-plugins/issues/new
So the issue seem to be this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1590680
/usr/bin/check_mk_agent unset the locales and try to set C.utf8, but that does not exsist anymore.
[root@somehost ~]# localectl list-locales | grep -i c.utf
es_EC.utf8
Any workaround for this?
Regards
Narra