Public bug reported:

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

** Affects: munin (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: munin munin-node plugin

-- 
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:
  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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to