Package: nagios-nrpe-server
Version: 4.1.3-1
Severity: normal
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
Upgrading from Debian 12 to Debian 13
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
I got a different result after upgrading: it was working before, I get
an error after. It's very similar to #1128004 .
Tests realized:
A local check_disk works fine:
root@ct:~# su - nagios -s /bin/bash -c "/usr/lib/nagios/plugins/check_disk -u
GB -w 20% -c 10% -W 20% -K 10% -l -X devtmpfs -X debugfs -X tracefs -X configfs
-X securityfs -X sysfs -X nsfs -X overlay -X fuse -X tmpfs"
DISK OK - free space: / 4GB (55,0% inode=85%);|
/=3000000000B;6400000000;7200000000;0;8000000000
(please note that tmpfs /is/ on -X ...)
root@ct-nagios:~# /usr/lib/nagios/plugins/check_nrpe -D -n -t 30 -t 30 -H
10.A.B.C -c check_disk
DISK CRITICAL - /run/credentials/[email protected] is not accessible:
Permission denied
Adding the -A -i /run/credentials does something, but I have different results
locally and via nrpe:
root@ct:~# su - nagios -s /bin/bash -c '/usr/lib/nagios/plugins/check_disk -u
GB -w 20% -c 10% -W 20% -K 10% -A -i /run/credentials -l -X devtmpfs -X debugfs
-X tracefs -X configfs -X securityfs -X sysfs -X nsfs -X overlay -X fuse -X
tmpfs'
DISK OK - free space: / 4GB (55,4% inode=85%);|
/=3000000000B;6400000000;7200000000;0;8000000000
root@ct-nagios:~# /usr/lib/nagios/plugins/check_nrpe -D -n -t 30 -t 30 -H
10.A.B.C -c check_disk
DISK OK - free space: / 4GB (55.4% inode=85%); /var/tmp 4GB (55.4% inode=85%);|
/=3000000000B;6400000000;7200000000;0;8000000000
/var/tmp=3000000000B;6400000000;7200000000;0;8000000000
For whatever reason, the -X tmpfs seems a bit ignored via nrpe... And /var/tmp
is not
even mounted:
root@ct:~# mount |grep var
root@ct:~#
/etc/nagios/nrpe_local.cfg tried:
# Original, working on deb12, not on deb13
#command[check_disk]=/usr/lib/nagios/plugins/check_disk -u GB -w 20% -c 10% -W
20% -K 10% -l -X devtmpfs -X debugfs -X tracefs -X configfs -X securityfs -X
sysfs -X nsfs -X overlay -X fuse -X tmpfs
# Those works:
#command[check_disk]=/usr/lib/nagios/plugins/check_disk -u GB -w 20% -c 10% -W
20% -K 10% -A -i /run/credentials -l -X devtmpfs -X debugfs -X tracefs -X
configfs -X securityfs -X sysfs -X nsfs -X overlay -X fuse -X tmpfs
# Tried without the -l, tried moving the args around, nothing change.
#command[check_disk]=/usr/lib/nagios/plugins/check_disk -u GB -w 20% -c 10% -W
20% -K 10% -A -i /run/credentials -X devtmpfs -X debugfs -X tracefs -X configfs
-X securityfs -X sysfs -X nsfs -X overlay -X fuse -X tmpfs
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: 13.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.17.13-2-pve (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages nagios-nrpe-server depends on:
ii adduser 3.152
ii init-system-helpers 1.69~deb13u1
ii libc6 2.41-12+deb13u2
ii libssl3t64 3.5.5-1~deb13u1
ii libwrap0 7.6.q-36
ii sysvinit-utils 3.14-4
Versions of packages nagios-nrpe-server recommends:
ii monitoring-plugins 2.4.0-3+deb13u1
ii monitoring-plugins-basic 2.4.0-3+deb13u1
Versions of packages nagios-nrpe-server suggests:
pn xinetd | inetd <none>
-- no debconf information