Package: munin-node Version: 1.4.5-3 Severity: normal Tags: upstream Lines 247 and 248 set the variables USERCPU and SYSCPU to multi-line values when more than 9 CPU cores exist on the system. This causes a syntax error on line 249 and causes munin to reject the plugin's output, resulting in blank graphs and "-nan" where numbers should be.
My proposed fix: change these two lines (247 and 248): USERCPU=`cat /proc/virtual/$i/sched |grep "cpu $j"| cut -d' ' -f3` SYSCPU=`cat /proc/virtual/$i/sched |grep "cpu $j"| cut -d' ' -f4` to this: USERCPU=`cat /proc/virtual/$i/sched |grep "cpu $j:"| cut -d' ' -f3` SYSCPU=`cat /proc/virtual/$i/sched |grep "cpu $j:"| cut -d' ' -f4` -- System Information: Debian Release: 6.0.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-vserver-amd64 (SMP w/16 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages munin-node depends on: ii adduser 3.112+nmu2 add and remove users and groups ii gawk 1:3.1.7.dfsg-5 GNU awk, a pattern scanning and pr ii libnet-server-perl 0.97-1 An extensible, general perl server ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip ii munin-common 1.4.5-3 network-wide graphing framework (c ii perl 5.10.1-17squeeze3 Larry Wall's Practical Extraction ii procps 1:3.2.8-9squeeze1 /proc file system utilities Versions of packages munin-node recommends: ii libnet-snmp-perl 5.2.0-4 Script SNMP connections Versions of packages munin-node suggests: ii acpi 1.5-2 displays information on ACPI devic pn ethtool <none> (no description available) pn hdparm <none> (no description available) pn libcache-cache-perl <none> (no description available) pn libcrypt-ssleay-perl <none> (no description available) pn libdbd-mysql-perl <none> (no description available) pn libdbd-pg-perl <none> (no description available) pn liblwp-useragent-determ <none> (no description available) pn libnet-irc-perl <none> (no description available) pn libnet-ssleay-perl <none> (no description available) pn libtext-csv-xs-perl <none> (no description available) pn libwww-perl <none> (no description available) pn libxml-simple-perl <none> (no description available) ii lm-sensors 1:3.1.2-6 utilities to read temperature/volt pn logtail <none> (no description available) pn munin <none> (no description available) pn munin-java-plugins <none> (no description available) ii munin-plugins-extra 1.4.5-3 network-wide graphing framework (u pn mysql-client <none> (no description available) ii net-tools 1.60-23 The NET-3 networking toolkit ii python 2.6.6-3+squeeze7 interactive high-level object-orie pn ruby <none> (no description available) pn smartmontools <none> (no description available) -- Configuration Files: /etc/munin/munin-node.conf changed [not included] /etc/munin/plugin-conf.d/munin-node [Errno 13] Permission denied: u'/etc/munin/plugin-conf.d/munin-node' -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org