[mrtg] Re: Monitoring

Mike Deal miked at icopyright.com
Tue May 23 02:32:58 MEST 2000


Well what I did is use ucd-snmp and write scripts... this one is for mem
free but you get the idea...

#!/bin/sh
/usr/bin/free | egrep "^-" | awk '{print $3*1024}'


Just x by 1024


On Tue, 23 May 2000, Jimmy Stewpot wrote:

> 
> Hello, I am currently using MRTG to monitor statistics on a Linux Box
> and general Overall Speed / Cpu Load / Hard Drive Free (all drives) /
> swap and memory usage. But i am having problems with some of the
> configuration and im trying to fix it but it does not seem to be
> working. Can anyone see what is wrong with this. and why i cannot get
> the Graph to show MEGABYTES or GIGABYTES rather than K
> 
> here is a copy of the system config file for one of the objects
> 
> Target[mail.hda1]:.1.3.6.1.2.1.25.2.3.1.6.769&.1.3.6.1.2.1.25.2.3.1.6.769:COMMUNITY at IPADDR
> MaxBytes[mail.hda1]:1981000  
> Title[mail.hda1]:hard-drive Used
> PageTop[mail.hda1]: <H1> hda1 Used % </H1>
> Unscaled[mail.hda1]: ymwd
> ShortLegend[mail.hda1]: %   
> YLegend[mail.hda1]: HDD Used
> Legend1[mail.hda1]: HDD Used %
> Legend2[mail.hda1]: HDD Used %
> LegendO[mail.hda1]: &nbsp;Usage 
> 
> that particular is 1.9gb
> used is approximatly 850megabytes.
> attatched is a sample of the image.
> thankyou
> Jimmy Stewpot
> -- Attached file removed by Listar and put at URL below --
> -- Type: application/octet-stream
> -- Size: 1k (1487 bytes)
> -- URL : http://www.ee.ethz.ch/~slist/pantomime/mail.hda1-day.png
> 
> 
> --
> 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
> 

Mike Deal
Network Engineer, iCopyright.com
425.430.4555 x692 (voice) 425.430.8878 (fax)
http://www.iCopyright.com

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



More information about the mrtg mailing list