pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/47315: net-snmp from pkgsrc 2012Q3 on NetBSD 6.0 doesn't report load for all processors.
>Number: 47315
>Category: pkg
>Synopsis: net-snmp from pkgsrc 2012Q3 on NetBSD 6.0 doesn't report load
>for all processors.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 12 20:25:00 +0000 2012
>Originator: Bartek Krawczyk
>Release: NetBSD 6.0
>Organization:
>Environment:
NetBSD www.tveurosat.net 6.0 NetBSD 6.0 (XEN3_DOMU) amd64
>Description:
Hi
I've recently switched my DomU servers from Debian Linux to NetBSD 6.0. I
monitor my servers with cacti and snmp and have few problems with monitoring
cpu load. I've installed net-snmp using pkgin from binary packages on a fresh
NetBSD 6.0 DomU install.
Cacti monitors load on only one cpu because there is no instance of
hrProcessorLoad.769 as you can see from snmpwalk:
HOST-RESOURCES-MIB::hrProcessorFrwID.768 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.769 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorLoad.768 = INTEGER: 1
DomU correctly detects both CPUs:
vcpu0 at hypervisor0: Quad-Core AMD Opteron(tm) Processor 2352, id 0x100f23
vcpu1 at hypervisor0: Quad-Core AMD Opteron(tm) Processor 2352, id 0x100f23
www# cpuctl list
Num HwId Unbound LWPs Interrupts Last change #Intr
---- ---- ------------ ---------- ------------------------ -----
0 0 online intr Sun Dec 2 20:25:25 2012 0
1 1 online intr Sun Dec 2 20:25:25 2012 0
also "top" reports both CPUs present.
Any help? I'm not a coder myself but if you point me in the right direction
I'll try to debug and maybe fix it myself.
>How-To-Repeat:
Install NetBSD 6.0, net-snmp from binary packages from 2012Q3 using pkgin and
try to monitor cpu load on every CPU.
>Fix:
Home |
Main Index |
Thread Index |
Old Index