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...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1578296

Title:
  check_memory broken with new /usr/bin/free output

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios-plugins-contrib/+bug/1578296/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to