[mrtg] RAM (was: Re: Disk-usage)

Fridtjof Busse fridtjof.busse at gmx.de
Sat Apr 13 09:01:04 MEST 2002


On Friday 12 April 2002 15:26, PAUL WILLIAMSON wrote:
> Are you querying via MRTG using the OID or are you loading the
> MIB in MRTG?  If you are querying via the MIB (hrStorageSize...)
> you need to do a loadmibs blah... in MRTG.  If you know the OID
> (much more efficient IMHO) use that rather than the MIB.

OK, I made my first steps with OID's, but I have a problem with the Ram 
and swap usage:

Target[merlin.fbunet.de_swap]:1.3.6.1.4.1.2021.4.4.0&1.3.6.1.4.1.2021.4.4.0:public at 192.168.0.3
MaxBytes[merlin.fbunet.de_swap]: 257032
Title[merlin.fbunet.de_swap]: Swap usage
PageTop[merlin.fbunet.de_swap]: <h1>merlin.fbunet.de Swap</h1>
Unscaled[merlin.fbunet.de_swap]: dwmy

Target[merlin.fbunet.de_ram]:1.3.6.1.4.1.2021.4.5.0&1.3.6.1.4.1.2021.4.6.0:public at 192.168.0.3
MaxBytes[merlin.fbunet.de_ram]: 126692
Title[merlin.fbunet.de_ram]: RAM usage
PageTop[merlin.fbunet.de_ram]: <h1>merlin.fbunet.de RAM</h1>
Unscaled[merlin.fbunet.de_ram]: dwmy

merlin_swap should give me a graph that shows just the size of the 
available swap space: Shows nothing.

merlin_ram should give me the size of all RAM in the machine and how 
much RAM is used: Shows nothing.

$ snmpwalk localhost public .1.3.6.1.4.1.2021.4.4.0
enterprises.ucdavis.memory.memAvailSwap.0 = 251940

$ snmpwalk localhost public .1.3.6.1.4.1.2021.4.5.0
enterprises.ucdavis.memory.memTotalReal.0 = 126692

$ snmpwalk localhost public .1.3.6.1.4.1.2021.4.6.0
enterprises.ucdavis.memory.memAvailReal.0 = 8180

What's going wrong? Or better: What's the correct way to do this?

-- 
Fridtjof Busse
A computer scientist is someone who fixes things that aren't broken.

--
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