[mrtg] Incorrect SWAP and RAM values?

Ian Bowman ian at mailbox.net.uk
Wed Feb 18 14:07:36 MET 2004


 Hi,
 
 I am trying to query the total ram (memory) and swap sizes 
 and then the available values?  But I cannot seem to get the 
 correct values.  The box in a Dell 1550 with 512mb ram and 
 1Gb swap drive, I can see that if I set the kilo[XXX]: 1024 
 the memTotalReal value should be 514048 which seems right? 
 But mrtg decreses the value to 500mb when creating the 
 graphs?  Why? Currently the box is doing mext to nothing so I 
 wouldn't expect it to be swapping hardly anything, below is 
 the mibs returned:
 
 UCD-SNMP-MIB::memIndex.0 = INTEGER: 0 
 UCD-SNMP-MIB::memErrorName.0 = STRING: swap 
 UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 218 
 UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 0 
 UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 502 
 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
 
 This is the output from Top:
 
 Mem:   514248k av,  292144k used,  222104k free,       0k 
 shrd,  133128k buff
        123508k active,              81052k inactive
 Swap:  995988k av,       0k used,  995988k free               
     60672k cached
 
 Thanks in advanced
 
 Ian 
 

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list