#1127038 /usr/lib/nagios/plugins/check_nfsmounts broken

Package:
monitoring-plugins-contrib
Source:
monitoring-plugins-contrib
Description:
Plugins for nagios compatible monitoring systems
Submitter:
William David Edwards
Date:
2026-03-10 16:15:02 UTC
Severity:
normal
#1127038#5
Date:
2026-02-05 15:19:22 UTC
From:
To:
```
root@http-pso01:~# /usr/lib/nagios/plugins/check_nfsmounts
Global symbol "%ERRORS" requires explicit package name (did you forget
to declare "my %ERRORS"?) at /usr/lib/nagios/plugins/check_nfsmounts
line 62.
Global symbol "%ERRORS" requires explicit package name (did you forget
to declare "my %ERRORS"?) at /usr/lib/nagios/plugins/check_nfsmounts
line 85.
Global symbol "%ERRORS" requires explicit package name (did you forget
to declare "my %ERRORS"?) at /usr/lib/nagios/plugins/check_nfsmounts
line 92.
Global symbol "%ERRORS" requires explicit package name (did you forget
to declare "my %ERRORS"?) at /usr/lib/nagios/plugins/check_nfsmounts
line 98.
Global symbol "%ERRORS" requires explicit package name (did you forget
to declare "my %ERRORS"?) at /usr/lib/nagios/plugins/check_nfsmounts
line 120.
Global symbol "%ERRORS" requires explicit package name (did you forget
to declare "my %ERRORS"?) at /usr/lib/nagios/plugins/check_nfsmounts
line 170.
Global symbol "%ERRORS" requires explicit package name (did you forget
to declare "my %ERRORS"?) at /usr/lib/nagios/plugins/check_nfsmounts
line 174.
Execution of /usr/lib/nagios/plugins/check_nfsmounts aborted due to
compilation errors.
```

Can reproduce on Debian 12 (42.20230308+deb12u1+b1) and 13
(48.20250420).

Might be caused by this patch:
https://salsa.debian.org/nagios-team/nagios-plugins-contrib/-/blob/master/debian/patches/check_nfsmounts/perl_module

Met vriendelijke groeten,

William David Edwards

#1127038#10
Date:
2026-03-10 16:08:13 UTC
From:
To:
Dear maintainer,

I confirm that the script is broken by default. Basically, it needs the
libmonitoring-plugin-perl package to work whereas it is only recommended
(and not declared as a dependency).

Best regards,

Stéphane Railhet