RE: rfv(?): 5.4 ucd-snmp/memory: memTotalFree

This is a discussion on RE: rfv(?): 5.4 ucd-snmp/memory: memTotalFree within the SNMP Coders forums, part of the Networking and Network Related category; I don't like changing behaviours in mid-stream. I've got some other concerns with swap etc. reporting but ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-28-2006
Bruce Shaw
 
Posts: n/a
Default RE: rfv(?): 5.4 ucd-snmp/memory: memTotalFree

I don't like changing behaviours in mid-stream.

I've got some other concerns with swap etc. reporting but for the moment
I'll


+1

*********************************************
-Coders,

ucd-snmp/memory in 5.4 uses the mem HAL and has (in
agent/mibgroup/ucd-snmp/memory.c):

case MEMORY_FREE:
/* XXX - or NS_MEM_TYPE_VIRTMEM */
mem_info = netsnmp_memory_get_byIdx( NETSNMP_MEM_TYPE_PHYSMEM, 0
);
if (!mem_info)
goto NOSUCH;
val = mem_info->free; /* memfree + swapfree */

So it currently gives free *physical* memory for UCD-SNMP-MIB::memTotalFree
while 5.3.x (at least on Linux where I've checked) adds free swap as the
comment
implies. Is this an intended change in behaviour? If not, please vote on the
attached patch for 5.4, please.


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)

This communication is intended for the use of the recipient to which it is
addressed, and may contain confidential, personal and or privileged
information. Please contact us immediately if you are not the intended
recipient of this communication, and do not copy, distribute, or take action
relying on it. Any communication received in error, or subsequent reply,
should be deleted or destroyed.


-------------------------------------------------------------------------
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=...057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:21 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0