Check RO filesystems

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Post Reply
mfaheem5697
Posts: 1
Joined: Mon Aug 01, 2022 7:17 am

Check RO filesystems

Post 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.
lorenzo.giugno
Posts: 2
Joined: Thu Jun 25, 2020 7:05 am

Re: Check RO filesystems

Post 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
lorenzo.giugno
Posts: 2
Joined: Thu Jun 25, 2020 7:05 am

Re: Check RO filesystems

Post 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
Post Reply