On Mon, 2006-01-23 at 17:53 +0100, Andre Heine wrote: > I tried to Monitor the swap partition on SLES 64Bit Linux. > with snmp 5.1 and the Compaq "hpasmd" & Co...
The 5.1 release is fairly old by now, and there's been quite a bit of work done on 64-bit support since then. I strongly advise you to try one of the more recent releases - 5.2.2 or 5.3.0.1. > AFAIK, we must patch the net-snmp with some Compaq patches;( If you find that the newer versions suffer from the same problems, and can supply us with suitable patches, then we'd be delighted to fix the main Net-SNMP code for future releases. > snmpwalk -c community -v 2c 10.19.3.200 UCD-SNMP-MIB::memory > UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 102 > UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 0 > UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000 > UCD-SNMP-MIB::memSwapError.0 = INTEGER: 1 > UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING: Running out of swap space > Why memSwapError is set to "1"? Because 'memAvailableSwap' is less than 'memMinimumSwap' > Shouldn't this flag set to "0"? > "free" shows me, that the swap is OK... Not according to the figures in the above output. OK - the values for mem{Total,Avail}Swap are clearly wrong, which is *why* the agent thinks it's run out of swap space. But that's the fundamental problem, not the memSwapError flag. > UCD-SNMP-MIB::ssSwapIn.0 = INTEGER: 0 > UCD-SNMP-MIB::ssSwapOut.0 = INTEGER: 0 > > Is there something to do in the snmpd.conf? No - it's not a matter of suitable configuration entries. It's down to having the correct code to retrieve these values in the first place. > Any hints? Please try the current releases (5.2.2 and/or 5.3.0.1) and report back. Dave ------------------------------------------------------- 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users