From owner-freebsd-questions@FreeBSD.ORG Sun Nov 23 13:25:41 2003 Return-Path: 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 7299D16A4CE for ; Sun, 23 Nov 2003 13:25:41 -0800 (PST) Received: from smtpout.mac.com (A17-250-248-47.apple.com [17.250.248.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BE0D43FA3 for ; Sun, 23 Nov 2003 13:25:40 -0800 (PST) (envelope-from paulbeard@mac.com) Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (8.12.6/MantshX 2.0) with ESMTP id hANLPZo8011278 for ; Sun, 23 Nov 2003 13:25:36 -0800 (PST) Received: from [192.168.2.8] (12-231-115-57.client.attbi.com [12.231.115.57]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 3.0) with ESMTP id hANLPYxO027773 for ; Sun, 23 Nov 2003 13:25:34 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v606) Content-Transfer-Encoding: 7bit Message-Id: <8FF2C6A7-1DFB-11D8-B52A-000A95BBCCF8@mac.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: questions@Freebsd.org From: paul beard Date: Sun, 23 Nov 2003 13:25:29 -0800 X-Mailer: Apple Mail (2.606) Subject: POLA violation?: snmp renumbering stuff X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2003 21:25:41 -0000 For some reason, my locally installed snmp daemons decided to renumber the elements in the hrStorageTable, meaning all the attached disks were being either misreported or just plain dropped from my graphs (paulbeard.no-ip.org/mrtg/blue/index.html). Not that the new numbering doesn't make sense but I didn't know this was going to happen. How to discover and fix it? snmptable is my friend. As shown here, the memory used by the kernel is listed first, followed by the disks. The disks were numbered starting at 1 before . . . . . [/www/mrtg/blue]# snmptable -c blue hrStorageTable SNMP table: HOST-RESOURCES-MIB::hrStorageTable hrStorageIndex hrStorageType hrStorageDescr hrStorageAllocationUnits hrStorageSize hrStorageUsed hrStorageAllocationFailures 1 HOST-RESOURCES-TYPES::hrStorageOther Memory Buffers 256 Bytes ? 192 0 2 HOST-RESOURCES-TYPES::hrStorageRam Real Memory 4096 Bytes ? 3241 ? 3 HOST-RESOURCES-TYPES::hrStorageVirtualMemory Swap Space 4096 Bytes ? 19625 ? 4 HOST-RESOURCES-TYPES::hrStorageFixedDisk / 1024 Bytes ? 83592 ? 5 HOST-RESOURCES-TYPES::hrStorageFixedDisk /usr 1024 Bytes ? 3639961 ? 6 HOST-RESOURCES-TYPES::hrStorageFixedDisk /var 1024 Bytes ? 8015 ? 7 HOST-RESOURCES-TYPES::hrStorageFixedDisk /proc 4096 Bytes ? 1 ? 8 HOST-RESOURCES-TYPES::hrStorageFixedDisk /usr/ports 512 Bytes ? 35548516 ? -- Paul Beard paulbeard [at] mac.com