Public bug reported: 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 ** Affects: nagios-plugins-contrib (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1610878 Title: pmp-check-unix-memory stopped working because of new output from free To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nagios-plugins-contrib/+bug/1610878/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs