Page 1 of 1

Check RO filesystems

Posted: Tue Aug 02, 2022 6:50 am
by mfaheem5697
I got this error from syslog after upgrading to Debian 11.

nrpe[41450]: Error: (use_ssl == true): Request packet version was invalid!
nrpe[41450]: Could not read request from client 192.168.1.20, bailing out...
nrpe[41450]: INFO: SSL Socket Shutdown.

error on icinga RO_MOUNTS CRITICAL: Found ro mounts: /run/credentials

Can someone help to fix this.

Re: Check RO filesystems

Posted: Thu Jan 05, 2023 6:23 am
by lorenzo.giugno
On Debian 11 (bullseye) you need to exclude some path.

Try to edit the nrpe.cfg file on client accordingly.
In my case I've labeled the command "chech_ro"

command[check_ro]=/usr/lib/nagios/plugins/check_ro_mounts -x /sys/fs/cgroup -x /run/credentials

let me know if that fixes

Re: Check RO filesystems

Posted: Thu Jan 05, 2023 7:40 am
by lorenzo.giugno
In Debian 11 Bullseye you need do exclude some paths on the check_ro_mounts command configuration.
Try to edit nrpe.cfg on client adding /run/credentials path after -x option.

For example, in my nrpe.cfg , I've configured the command chech_ro excluding the paths /sys/fs/cgroup and /run/credentials

command[check_ro]=/usr/lib/nagios/plugins/check_ro_mounts -x /sys/fs/cgroup -x /run/credentials


Let me know if you will solve