Announce: MailScanner-MRTG version 0.07 released
Kevin Spicer
kevins at BMRB.CO.UK
Tue Jan 27 02:14:54 GMT 2004
On Tue, 2004-01-27 at 01:59, A. Eijkhoudt wrote:
> > Can you give me the output of
> > snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.2021.4
>
> <SNIP>
> penguin mrtg # snmpwalk -v 2c -c public localhost .1.3.6.1.4.1.2021.4
> UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
> UCD-SNMP-MIB::memErrorName.0 = STRING: swap
> UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 9
> UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 0
> UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 1010
> 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 (0)
> </SNIP>
>
> Where do I sign up to be the official beta-tester for upcoming releases? :]
<grin>
Thanks for your help, it really is appreciated - even at 2am!
This one isn't me though. It looks like SNMP is returning daft memory
stats. Basically MSMRTG gets its figures by taking memAvailReal from
memTotalReal and dividing by 1024, and that figure minus shared, buffer
and cache. Compare your figures to mine..
Solaris running NET-SNMP (256M real memory)
UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
UCD-SNMP-MIB::memErrorName.0 = STRING: swap
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 1047304
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 1020096
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 262144
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 11488
UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 1198784
UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000
UCD-SNMP-MIB::memSwapError.0 = INTEGER: 0
UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING:
Linux running UCD-SNMP (512M real memory)
enterprises.ucdavis.memory.memIndex.0 = 0
enterprises.ucdavis.memory.memErrorName.0 = swap
enterprises.ucdavis.memory.memTotalSwap.0 = 1128880
enterprises.ucdavis.memory.memAvailSwap.0 = 936984
enterprises.ucdavis.memory.memTotalReal.0 = 515752
enterprises.ucdavis.memory.memAvailReal.0 = 12488
enterprises.ucdavis.memory.memTotalFree.0 = 949472
enterprises.ucdavis.memory.memMinimumSwap.0 = 16000
enterprises.ucdavis.memory.memShared.0 = 0
enterprises.ucdavis.memory.memBuffer.0 = 51180
enterprises.ucdavis.memory.memCached.0 = 160180
enterprises.ucdavis.memory.memSwapError.0 = 0
enterprises.ucdavis.memory.memSwapErrorMsg.0 =
BMRB International
http://www.bmrb.co.uk
+44 (0)20 8566 5000
_________________________________________________________________
This message (and any attachment) is intended only for the
recipient and may contain confidential and/or privileged
material. If you have received this in error, please contact the
sender and delete this message immediately. Disclosure, copying
or other action taken in respect of this email or in
reliance on it is prohibited. BMRB International Limited
accepts no liability in relation to any personal emails, or
content of any email which does not directly relate to our
business.
More information about the MailScanner
mailing list