From nobody Tue Dec 19 09:32:52 2023 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SvWhT0DM4z54xKZ; Tue, 19 Dec 2023 09:33:13 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from mail.punkt.de (mail.punkt.de [IPv6:2a00:b580:8000:11:1c6b:7032:35e9:5616]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SvWhS424Hz4DZY; Tue, 19 Dec 2023 09:33:12 +0000 (UTC) (envelope-from hausen@punkt.de) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [IPv6:2a00:b580:a000:0:5c10:5522:31d1:40cb]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.punkt.de (Postfix) with ESMTPSA id 952E56D73E; Tue, 19 Dec 2023 10:33:03 +0100 (CET) Content-Type: text/plain; charset=utf-8 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.200.91.1.1\)) Subject: Re: Odd values for various memory metrics via SNMP From: "Patrick M. Hausen" In-Reply-To: Date: Tue, 19 Dec 2023 10:32:52 +0100 Cc: FreeBSD-STABLE Mailing List , FreeBSD Net Content-Transfer-Encoding: quoted-printable Message-Id: <84B7C7D7-BC06-4944-A7E0-5AFC47B6BC0E@punkt.de> References: <1EDAF2AC-3A2B-43BE-B66B-E095F5A80C2C@punkt.de> To: Yuri X-Mailer: Apple Mail (2.3774.200.91.1.1) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16188, ipnet:2a00:b580::/32, country:DE] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SvWhS424Hz4DZY HI Yuri, > Am 19.12.2023 um 09:50 schrieb Yuri : > Let's start with OIDs, which ones exactly you are looking at (numeric = or > textual will do)? To start I'll post the 4 odd ones of my OPNsense system, FreeBSD = 13.2-p7, net-snmp 5.9.1_4,1: HOST-RESOURCES-MIB::hrStorageIndex.2 =3D INTEGER: 2 HOST-RESOURCES-MIB::hrStorageType.2 =3D OID: = HOST-RESOURCES-TYPES::hrStorageRam HOST-RESOURCES-MIB::hrStorageDescr.2 =3D STRING: Real memory HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 =3D INTEGER: 4096 Bytes HOST-RESOURCES-MIB::hrStorageSize.2 =3D INTEGER: 191414 HOST-RESOURCES-MIB::hrStorageUsed.2 =3D INTEGER: 189988 HOST-RESOURCES-MIB::hrStorageAllocationFailures.2 =3D Counter32: 0 --- HOST-RESOURCES-MIB::hrStorageIndex.9 =3D INTEGER: 9 HOST-RESOURCES-MIB::hrStorageType.9 =3D OID: = HOST-RESOURCES-TYPES::hrStorageOther HOST-RESOURCES-MIB::hrStorageDescr.9 =3D STRING: Shared real memory HOST-RESOURCES-MIB::hrStorageAllocationUnits.9 =3D INTEGER: 4096 Bytes HOST-RESOURCES-MIB::hrStorageSize.9 =3D INTEGER: 25627 HOST-RESOURCES-MIB::hrStorageUsed.9 =3D INTEGER: 24175 HOST-RESOURCES-MIB::hrStorageAllocationFailures.9 =3D Counter32: 0 --- HOST-RESOURCES-MIB::hrStorageIndex.8 =3D INTEGER: 8 HOST-RESOURCES-MIB::hrStorageType.8 =3D OID: = HOST-RESOURCES-TYPES::hrStorageOther HOST-RESOURCES-MIB::hrStorageDescr.8 =3D STRING: Shared virtual memory HOST-RESOURCES-MIB::hrStorageAllocationUnits.8 =3D INTEGER: 4096 Bytes HOST-RESOURCES-MIB::hrStorageSize.8 =3D INTEGER: 54962 HOST-RESOURCES-MIB::hrStorageUsed.8 =3D INTEGER: 41268 HOST-RESOURCES-MIB::hrStorageAllocationFailures.8 =3D Counter32: 0 --- HOST-RESOURCES-MIB::hrStorageIndex.3 =3D INTEGER: 3 HOST-RESOURCES-MIB::hrStorageType.3 =3D OID: = HOST-RESOURCES-TYPES::hrStorageVirtualMemory HOST-RESOURCES-MIB::hrStorageDescr.3 =3D STRING: Virtual memory HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 =3D INTEGER: 4096 Bytes HOST-RESOURCES-MIB::hrStorageSize.3 =3D INTEGER: 1279129 HOST-RESOURCES-MIB::hrStorageUsed.3 =3D INTEGER: 1258824 HOST-RESOURCES-MIB::hrStorageAllocationFailures.3 =3D Counter32: 0 Kind regards, Patrick --=20 punkt.de GmbH Patrick M. Hausen .infrastructure Sophienstr. 187 76185 Karlsruhe Tel. +49 721 9109500 https://infrastructure.punkt.de info@punkt.de AG Mannheim 108285 Gesch=C3=A4ftsf=C3=BChrer: Daniel Lienert, Fabian Stein