Comment 9 for bug 1578296

Revision history for this message
Dominique Ramaekers (dominique-ramaekers) wrote :

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