We use the HostMIB tree (host) not the UCD-SNMP-MIB tree.

Because HostMIB works across different OSs.

Javier

Jean-Philippe Luiggi wrote:
Hello Javier,

Here's a 'top' output :

Mem:   1035332k total,   933816k used,   101516k free,    87632k buffers
Swap:  1044184k total,     5316k used,  1038868k free,   422428k cached

Then a snmpwalk :

UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
UCD-SNMP-MIB::memErrorName.0 = STRING: swap
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 1044184
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 1038868
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 1035332
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 101648
UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 1140516
UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000
UCD-SNMP-MIB::memShared.0 = INTEGER: 0
UCD-SNMP-MIB::memBuffer.0 = INTEGER: 87632
UCD-SNMP-MIB::memCached.0 = INTEGER: 422496
UCD-SNMP-MIB::memSwapError.0 = INTEGER: 0
UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING:

If i understood, we report the "UCD-SNMP-MIB::memTotalFree.0", is it wrong
instead to use the following formula ? : UCD-SNMP-MIB::memTotalReal.0 - (UCD-SNMP-MIB::memAvailReal.0 + UCD-SNMP-MIB::memBuffer.0 + UCD-SNMP-MIB::memCached.0) If we had access to these different data, we could (using computations) calculate
 the value we want to use.

What do you think about this ?

Best regards.


On Sat, Feb 04, 2006 at 01:49:13PM -0300, Javier Szyszlican wrote:

Thats an issue of the net-snmp people.
We just monitor their "Free" OID.

But I know what you are saying and its true, its counting cached as used.

Javier




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Javier Szyszlican, Project Leader, JFFNMS
[EMAIL PROTECTED]

I hope JFFNMS or I were helpful to you, if you
can, please donate at http://jffnms.org/donate



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to