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.
Check RO filesystems
-
- Posts: 2
- Joined: Thu Jun 25, 2020 7:05 am
Re: Check RO filesystems
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
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
-
- Posts: 2
- Joined: Thu Jun 25, 2020 7:05 am
Re: Check RO filesystems
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
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