Package: munin-plugins-core
Version: 2.0.25-2
Severity: normal
The nfsd4 plugin only checks for the existence of the /proc/net/rpc/nfsd
file, as does the nfsd (without "4") plugin. This leads to both being
configured but with the nfsd4 plugin returning no data for almost all
values.
Please add this check:
--- /usr/share/munin/plugins/nfsd4 2015-08-30 10:09:21.000000000 +0200
+++ /etc/munin/plugins/nfsd4 2016-08-08 13:16:48.012407997 +0200
@@ -37,7 +37,7 @@
savefh secinfo setattr setcltid setcltidconf verify write rellockowner"
if [ "$1" = "autoconf" ]; then
- if [ -f "$NFSD" ]; then
+ if [ -f "$NFSD" ] && grep -sq proc4ops $NFSD; then
echo yes
exit 0
else
Thanks,
Paul
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.5.3-wurtel (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
Versions of packages munin-plugins-core depends on:
ii munin-common 2.0.25-2
ii perl 5.22.2-1
Versions of packages munin-plugins-core recommends:
pn libnet-snmp-perl <none>
Versions of packages munin-plugins-core suggests:
ii conntrack 1:1.4.2-2
pn libcache-cache-perl <none>
ii libdbd-mysql-perl 4.033-1+b1
ii libnet-dns-perl 0.81-2+b1
pn libnet-netmask-perl <none>
pn libnet-telnet-perl <none>
ii libxml-parser-perl 2.44-1+b1
ii python 2.7.9-1
ii ruby 1:2.1.5
ii ruby2.1 [ruby-interpreter] 2.1.5-1
-- no debconf information