Package: munin-node
Version: 1.2.5-2
Severity: normal
Tags: patch

Plugin "cpu" reports a upper limit of 1000 for more than 10 CPU. For example, a 
machine with 32 CPU (actually 8 Quad-core processors) must have an upper limit 
of 3200.

PATCH:

--- cpu.orig    2008-06-11 20:41:38.000000000 +0200
+++ cpu 2008-06-11 20:42:00.000000000 +0200
@@ -69,7 +69,7 @@

 if [ "$1" = "config" ]; then

-       NCPU=`expr \`grep '^cpu. ' /proc/stat | wc -l\` - 1`
+       NCPU=`expr \`grep '^cpu.\{1,2\} ' /proc/stat | wc -l\` - 1`
        PERCENT=`expr $NCPU '*' 100`
        if [ "$scaleto100" = "yes" ]; then
                graphlimit=100


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages munin-node depends on:
ii  adduser                       3.107      add and remove users and groups
ii  libnet-server-perl            0.97-1     An extensible, general perl server
ii  lsb-base                      3.2-11     Linux Standard Base 3.2 init scrip
ii  perl                          5.10.0-10  Larry Wall's Practical Extraction 
ii  procps                        1:3.2.7-8  /proc file system utilities

Versions of packages munin-node recommends:
ii  libnet-snmp-perl              5.2.0-1    Script SNMP connections

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to