From owner-freebsd-questions@FreeBSD.ORG Wed Aug 9 15:16:27 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 740D116A4DA for ; Wed, 9 Aug 2006 15:16:27 +0000 (UTC) (envelope-from steve@linuxsuite.org) Received: from qmail-wm-norm-0.netfirms.com (234-mail.netfirms.com [66.244.250.234]) by mx1.FreeBSD.org (Postfix) with SMTP id 0F0A843D7B for ; Wed, 9 Aug 2006 15:16:18 +0000 (GMT) (envelope-from steve@linuxsuite.org) Received: (qmail 24997 invoked from network); 9 Aug 2006 15:16:17 -0000 Received: from unknown (10.8.7.1) by 0 with QMQP; 9 Aug 2006 15:16:17 -0000 Received: from 66.46.53.2 (SquirrelMail authenticated user steve@linuxsuite.org) by wm1 with HTTP; Wed, 9 Aug 2006 11:16:16 -0400 (EDT) Message-ID: <63779.66.46.53.2.1155136576.squirrel@wm1> Date: Wed, 9 Aug 2006 11:16:16 -0400 (EDT) From: steve@linuxsuite.org To: questions@freebsd.org User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Subject: SNMP mib elements are zero on 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2006 15:16:27 -0000 Howdy! I am upgrading a server farm from FreeBSD 4.10 to FreeBSD 6.1. I am running net-snmp and if I query a fbsd 6.1 machine I get zero values for many MIB entries. eg for a 6.1 machine I get many bogus entries. (but some good like laLoad.1 is ok) snmpwalk -v 2c -c public 6.1server enterprises [snip] UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 0 UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 0 UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 1877672 UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 0 UCD-SNMP-MIB::memTotalSwapTXT.0 = INTEGER: -1 UCD-SNMP-MIB::memAvailSwapTXT.0 = INTEGER: -1 UCD-SNMP-MIB::memTotalRealTXT.0 = INTEGER: -1 UCD-SNMP-MIB::memAvailRealTXT.0 = INTEGER: -1 UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 0 [snip] UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 0 UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 0 UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 0 UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 0 [snip] but for for a 4.10 machine I get good values snmpwalk -v 2c -c public 4.10server enterprises [snip] UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 0 UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 0 UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 854392 UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 1664 UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 47936 [snip] UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 25 UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 27 UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 46 UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 241897859 UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 0 UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 225612717 UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 765671208 UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 157494473 [snip] Ideas? Is a bug in 6.1? or net-snmp or am I missing something? thanx - steve