[Bug 1000678] Re: [SRU] munin-memory plugin doesn't work on 64-bit 12.04 LTS
Micah Gersten
launchpad at micahscomputing.com
Tue May 22 08:16:29 UTC 2012
Uploaded already to precise-proposed, waiting in unapproved
** Changed in: munin (Ubuntu Precise)
Status: Triaged => Fix Committed
** Changed in: munin (Ubuntu Precise)
Assignee: Vibhav Pant (vibhavp) => (unassigned)
** Also affects: munin (Ubuntu Oneiric)
Importance: Undecided
Status: New
--
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/1000678
Title:
[SRU] munin-memory plugin doesn't work on 64-bit 12.04 LTS
Status in “munin” package in Ubuntu:
Fix Released
Status in “munin” source package in Oneiric:
New
Status in “munin” source package in Precise:
Fix Committed
Status in “munin” source package in Quantal:
Fix Released
Bug description:
[Impact]
munin-memory plugin doesn't work on 64-bit 12.04 LTS. This prevents munin from collecting memory usage data.
[Test Case]
sudo apt-get install munin apache2 munin-node
(cd /etc/munin/plugins && sudo ln -s /usr/share/munin/plugins/memory .)
sudo service munin-node restart
(cd /etc/apache2/conf.d && sudo ln -s /etc/munin/apache2.conf .)
Error in log file /var/log/munin/munin-node.log:
2012/05/21-16:25:31 [13645] Error output from memory:
2012/05/21-16:25:31 [13645] Use of qw(...) as parentheses is deprecated at /etc/munin/plugins/memory line 189.
No memory usage graphs in Munin web interface.
[Development Fix]
Cherry picked patch from upstream VCS - http://munin-monitoring.org/changeset/4358.
[Stable Fix]
Same as development fix
[Regression Potential]
None, the plugin is broken and changes are limited to this plugin only.
Fix accepted upstream.
[Original Bug Report]
The error is on line 189, it gives this message which stops munin from being able to collect data:
Use of qw(...) as parentheses is deprecated at ./memory line 189.
Line 189 is as follows:
or my $field qw(apps buffers swap cached free slab swap_cache
page_tables vmalloc_used committed mapped active active_anon
active_cache inactive inact_dirty inact_laundry inact_clean) {
And needs to be changed to:
or my $field (qw(apps buffers swap cached free slab swap_cache
page_tables vmalloc_used committed mapped active active_anon
active_cache inactive inact_dirty inact_laundry inact_clean)) {
After this change it functions fine.
---
Description: Ubuntu 12.04 LTS
Release: 12.04
---
munin-node:
Installed: 1.4.6-3ubuntu3
Candidate: 1.4.6-3ubuntu3
Version table:
*** 1.4.6-3ubuntu3 0
500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/munin/+bug/1000678/+subscriptions
More information about the Ubuntu-sponsors
mailing list