On 01/11/06, Thomas Anders <[EMAIL PROTECTED]> wrote:
> Dave Shield wrote on 2006-02-24:

> >   a)  Should 'memSwapError' monitor 'memAvailSwap' or 'memTotalFree' ?
> >       Different architectures implement this differently
>
> I think the MIB descriptions imply monitoring *swap* space, so I'd stick
> to that

Makes sense.

> How is this currently implemented in 5.4.rc1?

   NETSNMP_MEM_TYPE_SWAP
i.e. 'memAvailSwap'



> >   b)  Should 'memAvailSwapTXT' and 'memAvailRealTXT' report the
> >       amount of memory free, or the amount used?
> >       The MIB object name implies one, the description the other!

> I think it should be clarified in the MIB object description that the
> object name is bogus, ideally before we ship 5.4.

So you'd go for the amount being used (as per the description)
rather than the amount free (as per the name)?

The current code actually implements this the other way round,
i.e. reports the amount free.   I'd be happy to switch over, but would
strongly agree that we must clarify the situation before releasing 5.4.

A few more opinions would be useful.




> c) Both the MIB and the mem HAL struct seem to use the phrases "free"
> and "available" [memory] quite interchangeably

> FWIW, from an admin's perspective, I'd be much more interested in
> monitoring "available" than "free" memory

Question:
   How easily are the statistics available for the amount of memory/swap/etc
that is currently being used, but could be reclaimed if necessary?
   That's an open question - I really don't have a feel for how straightforward
it would be to calculate these values.

My gut reaction is to stick with "free" - if only because this
information is typically
relatively easy to retrieve, without needing a deep knowledge of the
O/S internals.
But I'm lazy like that!

Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to