I can confirm that check_memory works again in 18.04.
If I copy the plugin to a 16.04, it works also in 16.04.
On only one of my 18.04 systems I get an error, but this is really weird
root@cmsrvrb3:~# /usr/lib/nagios/plugins/check_memory
Can't call method "new" on an undefined value at /usr/lib/nagios/plugins/check_memory line 55.
The line causing this error is just a declaration:
my $np = $plugin_module->new(
usage => "Usage: %s [ -w <warning_threshold> ] [ -c <critical_threshold> ]\n"
. ' [ -u <unit> ]',
version => $VERSION,
plugin => $PROGNAME,
blurb => 'Check free(1) data against given tresholds',
timeout => 30,
);
Does anyone have the same issue? Than I'd fill in a bug report. Maybe I'm just missing something...
I can confirm that check_memory works again in 18.04.
If I copy the plugin to a 16.04, it works also in 16.04.
On only one of my 18.04 systems I get an error, but this is really weird nagios/ plugins/ check_memory nagios/ plugins/ check_memory line 55.
root@cmsrvrb3:~# /usr/lib/
Can't call method "new" on an undefined value at /usr/lib/
The line causing this error is just a declaration: module- >new( threshold> ]\n"
my $np = $plugin_
usage => "Usage: %s [ -w <warning_threshold> ] [ -c <critical_
. ' [ -u <unit> ]',
version => $VERSION,
plugin => $PROGNAME,
blurb => 'Check free(1) data against given tresholds',
timeout => 30,
);
Does anyone have the same issue? Than I'd fill in a bug report. Maybe I'm just missing something...