[mrtg] mrtg and linux cpu stats

Mike Deal miked at icopyright.com
Sat Apr 8 02:44:00 MEST 2000


I have been looking at the mrtg list archives and it seems that the 'how
do I get cpu graphed in linux' asked daily.  So this must be in a FAQ
somewhere but I have searched far and low but cant seem to find the
answer.

It is not that I havent found the mib (after logging countless hours).

snmpget localhost public .1.3.6.1.4.1.1575.1.5.2.3.0
enterprises.tubs.ibr.linuxMIB.linuxObjects.linuxLoadAvg1.0 = INTEGER: 101

And I stuck it into mrtg.cfg 

Target[load]: 1.3.6.1.4.1.1575.1.5.2.3.0&1.3.6.1.4.1.1575.1.5.2.3.0:public at localhost
MaxBytes[load]: 2500000
Options[load]: growright, integer
Title[load]: miked.corp.icopyright.com (load): 
PageTop[load]: <H1>Traffic Analysis for load

and it seems to be doing something but just giving me blank graphs and
doesnt seem to be writing the mib to the mrtg.ok.  (no this isnt the only
config I have tried but it is the current one)

So if this is in the FAQ or the like I deserved to be flamed but what in
the world am I doing wrong?

BTW once I figure this out I will be putting out a faq that hopefully the
search engs will find...

Thanks in advance,
MikeD

--
Mike Deal
Network Engineer, iCopyright.com
Instant copyright and reprint clearinghouse
http://www.icopyright.com
425.430.4555 x692 (voice) 425.430.8878 (fax)


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