[Bug 1610878] Re: pmp-check-unix-memory stopped working because of new output from free

Mathew Hodson mathew.hodson at gmail.com
Sat Dec 17 16:39:31 UTC 2016


** Changed in: nagios-plugins-contrib (Ubuntu Xenial)
   Importance: High => Medium

** Changed in: nagios-plugins-contrib (Ubuntu Yakkety)
   Importance: High => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1610878

Title:
  pmp-check-unix-memory stopped working because of new output from free

Status in nagios-plugins-contrib package in Ubuntu:
  Fix Released
Status in nagios-plugins-contrib source package in Xenial:
  Confirmed
Status in nagios-plugins-contrib source package in Yakkety:
  Confirmed
Status in nagios-plugins-contrib source package in Zesty:
  Fix Released

Bug description:
  Hello,

  Current pmp-check-unix-memory in package nagios-plugins-contrib does
  not work anymore, from Ubuntu Xenial. It can't fetch free memory and
  therefor presents it incorrectly.

  E.g:

  $ ./pmp-check-unix-memory 
  OK Memory % used | memory_used=0;90;95;0;100

  As of version 3.3.10 of package procps, the command "free" uses a
  different output.

  See: http://upstream.rosalinux.ru/changelogs/procps-
  ng/3.3.10/changelog.html

  How free memory is calculated was changed in kernel here:
  https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0ae398fc54ea69ff85ec700722c9da773

  This problem has been fixed in the percona-monitoring-plugins repo on
  GitHub:

  https://github.com/percona/percona-monitoring-
  plugins/commit/b4636c49f0188d2af1235293d01396abeddacf7f

  I have ported and tested the fix and it is working, both on a computer
  with older procps and on a computer running Ubuntu Xenial.

  Will submit a debdiff with proposed patch shortly.

  Best regards,
  Christian Biamont

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



More information about the Ubuntu-sponsors mailing list