There's a long history of telling people "You're polling a Linux system,
you have to know that you subtract buffers and cached from physical before
you report free memory" in the HOST-RESOURCES-MIB.  I'm not against
simplifying, but - if people have data collection set up for "the old way",
where you have to subtract buffers and cached after collecting them, then
this change will result in double-subtraction.

In Arista EOS we handled this by adding another row to the table, to avoid
breaking existing data collection when someone upgrades.

  Bill


On Mon, Jul 8, 2019 at 12:27 AM net-snmp Git repository <
nore...@code.net-snmp.p.re.sourceforge.net> wrote:

> Branch: V5-8-patches
>
> NET-SNMP-SYSTEM-MIB, Linux: Update calculation of free space
>
> Update calculation of free space for Physical and Virtual memory on linux.
> Based on
> https://gitlab.com/procps-ng/procps/blob/master/proc/sysinfo.c#L789
>
> [ bvanassche: edited patch subject ]
>
> By Josef Ridky on 07/04/2019 06:45
> *View Changes*
> <https://sourceforge.net/p/net-snmp/code/ci/a88d81f1144ecf33f0ca02ada042b77368855a94/>
> ------------------------------
> Branch: master
>
> Merge branch 'V5-8-patches'
>
> * V5-8-patches:
> NET-SNMP-SYSTEM-MIB, Linux: Update calculation of free space
>
> By Bart Van Assche on 07/08/2019 04:15
> *View Changes*
> <https://sourceforge.net/p/net-snmp/code/ci/8d5cdf8aeb6b3521e09b2f2a921ed5061da221e9/>
> ------------------------------
>
> Sent from sourceforge.net because you indicated interest in
> https://sourceforge.net/p/net-snmp/code/
>
> To unsubscribe from further messages, please visit
> https://sourceforge.net/auth/subscriptions/
>
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to