Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2006 11:16:16 -0400 (EDT)
From:      steve@linuxsuite.org
To:        questions@freebsd.org
Subject:   SNMP mib elements are zero on 6.1
Message-ID:  <63779.66.46.53.2.1155136576.squirrel@wm1>

next in thread | raw e-mail | index | archive | help

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63779.66.46.53.2.1155136576.squirrel>