← Back to team overview

group.of.nepali.translators team mailing list archive

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

 

** Also affects: nagios-plugins-contrib (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: nagios-plugins-contrib (Ubuntu Zesty)
   Importance: Medium
       Status: Confirmed

** Also affects: nagios-plugins-contrib (Ubuntu Yakkety)
   Importance: Undecided
       Status: New

** Changed in: nagios-plugins-contrib (Ubuntu Xenial)
       Status: New => Confirmed

** Changed in: nagios-plugins-contrib (Ubuntu Yakkety)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
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 Committed
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 Committed

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