[Bug 1000678] Re: [SRU] munin-memory plugin doesn't work on 64-bit 12.04 LTS
James Page
james.page at ubuntu.com
Mon May 21 16:29:09 UTC 2012
** Description changed:
[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.
+
[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
+ 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
** Description changed:
[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
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to munin in Ubuntu.
https://bugs.launchpad.net/bugs/1000678
Title:
[SRU] munin-memory plugin doesn't work on 64-bit 12.04 LTS
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/munin/+bug/1000678/+subscriptions
More information about the Ubuntu-server-bugs
mailing list