Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2023 20:16:38 +0100
From:      "Patrick M. Hausen" <hausen@punkt.de>
To:        Yuri <yuri@aetern.org>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>, FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: Odd values for various memory metrics via SNMP
Message-ID:  <A09B8144-EC0A-42DD-AAD6-D3C1E7FDFEB9@punkt.de>
In-Reply-To: <8f4cf72e-8320-4bfd-a4d9-3db34db4580d@aetern.org>
References:  <1EDAF2AC-3A2B-43BE-B66B-E095F5A80C2C@punkt.de> <de2988a0-00d6-4b4b-8150-bfa235649d64@aetern.org> <84B7C7D7-BC06-4944-A7E0-5AFC47B6BC0E@punkt.de> <8f4cf72e-8320-4bfd-a4d9-3db34db4580d@aetern.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Yuri,

first thanks a lot for your help and insight. Additionally I had a short
exchange with Michael W. Lucas and I am also studying his SNMP
Mastery book at the moment.

> OK, guess the following (physical memory) looks correct for you as =
well?

Yes, physical is correct across all hosts - FreeBSD, Linux, ESXi, ...

> So I guess what net-snmp reports makes sense and the only value that
> should be used for alerts is that "physical memory" one.

I learned from MWL that "real memory" is supposed to be all memory
currently in use by applications. Allocated pages. That of course makes
sense, too.

Now only "virtual memory" is left - according to the book that should be
the sum of physical memory and swap space - and for my single Linux
host it is.

For the FreeBSD systems this is the one left that still looks =
nonsensical.

OPNsense (8G RAM, 8G swap): 4.91 of 4.99G used.
TrueNAS (64G RAM, 32G swap): 627 of 628G used.
TrueNAS 2 (32G RAM, 32G swap): 512 of 516G used.

Recompiling net-snmp is not an option for me for these appliance OSes,
but knowing that at least the "real memory" values do make sense, I'll =
try
to teach Observium not to paint them bright red.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A09B8144-EC0A-42DD-AAD6-D3C1E7FDFEB9>