UCD-SNMP-MIB::systemStats && memSwapError wrongs values?

Andre Heine <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Open WWWorks
Message-ID <[email protected]>
Hello all, 

I tried to Monitor the swap partition on SLES 64Bit Linux.
with snmp 5.1 and the Compaq "hpasmd" & Co...

AFAIK, we must patch the net-snmp with some Compaq patches;(

snmpwalk -c community -v 2c 10.19.3.200 UCD-SNMP-MIB::memory

UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
UCD-SNMP-MIB::memErrorName.0 = STRING: swap
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 102
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 0
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 2005
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 0
UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 0
UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000
UCD-SNMP-MIB::memShared.0 = INTEGER: 0
UCD-SNMP-MIB::memBuffer.0 = INTEGER: 0
UCD-SNMP-MIB::memCached.0 = INTEGER: 0
UCD-SNMP-MIB::memSwapError.0 = INTEGER: 1
UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING: Running out of swap space

10.19.3.200:~/perl # free
             total         used     free  shared   buffers    cached
Mem:    2053768  1944456  109312  0      91416    1567008
-/+ buffers/cache:     286032    1767736
Swap:      1028120          8    1028112

Why memSwapError is set to "1"? 

I've read in UCD-SNMP-MIB.txt following lines:
 ------------------------------------------------------------
memSwapError OBJECT-TYPE
    SYNTAX  Integer32
    MAX-ACCESS  read-only
    STATUS  current
    DESCRIPTION
    "Error flag.  1 indicates very little swap space left"
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
------------------------------------------------------------

Shouldn't this flag set to "0"?
"free" shows me, that the swap is OK...

Also I have found some other OID in UCD-SNMP-MIB...

snmpwalk -c community -v 2c 10.19.3.200 UCD-SNMP-MIB::systemStats | 
grep swap

UCD-SNMP-MIB::ssSwapIn.0 = INTEGER: 0
UCD-SNMP-MIB::ssSwapOut.0 = INTEGER: 0

Is there something to do in the snmpd.conf?

Any hints?


Greetings 

andre


-------------------------------------------------------
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
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.