[SRU] munin-memory plugin doesn't work on 64-bit 12.04 LTS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
munin (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Oneiric |
Invalid
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
James Page | ||
Quantal |
Fix Released
|
Medium
|
Unassigned |
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
Error in log file /var/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/
No memory usage graphs in Munin web interface (http://
[Development Fix]
Cherry picked patch from upstream VCS - http://
[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://
100 /var/lib/
summary: |
- munin-memory plugin doesn't work on 64-bit 12.04 LTS + [SRU] munin-memory plugin doesn't work on 64-bit 12.04 LTS |
description: | updated |
Changed in munin (Ubuntu Precise): | |
assignee: | nobody → Vibhav Pant (vibhavp) |
description: | updated |
description: | updated |
description: | updated |
Changed in munin (Ubuntu Precise): | |
milestone: | none → ubuntu-12.04.1 |
Changed in munin (Ubuntu Oneiric): | |
status: | New → Invalid |
Changed in munin (Ubuntu Precise): | |
assignee: | nobody → James Page (james-page) |
description: | updated |
Appears to have been fixed upstream:
http:// munin-monitorin g.org/browser/ trunk/plugins/ node.d. linux/memory. in
Marking 'Confirmed' and 'Medium' as this does impact functionality.