[mrtg] Re: error when running mrtg

Aaron Conaway Aaron.Conaway at HOSystems.com
Thu Aug 22 16:00:20 MEST 2002


I believe that is normal for the first two times you run MRTG.  It has to do with setting up the log files.  Run it a third time and you should probably be error-free.

-------------------------------------
Aaron Conaway
Network Engineer III
Verisign, Inc.
http://www.verisign.com


-----Original Message-----
From: theviper at viperws.com [mailto:theviper at viperws.com]
Sent: Thursday, August 22, 2002 9:45 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] error when running mrtg



hello all
i finaly got snmp working properly and now i have done a cfg file
successfully but when i run mrtg (path to cfg file) i get this
(i have included result from cfgmaker as well)
---------------------------------------------------
user at lnxsvr1:/usr/local/mrtg-2/bin# ./cfgmaker --global 'WorkDir: /mrtg'
--global 'Options[_]: bits,growright' --output /mrtg/mrtg.cfg public at localhost
--base: Get Device Info on public at localhost:
--base: Vendor Id:
--base: Populating confcache
--snpo: confcache public at localhost: Descr lo --> 1
--snpo: confcache public at localhost: Descr eth0 --> 2
--snpo: confcache public at localhost: Descr dummy0 --> 3
--snpo: confcache public at localhost: Descr eth1 --> 4
--snpo: confcache public at localhost: Descr tunl0 --> 5
--snpo: confcache public at localhost: Descr gre0 --> 6
--snpo: confcache public at localhost: Ip 0.0.0.0 --> 3
--snpo: confcache public at localhost: Ip 66.199.182.13 --> 4
--snpo: confcache public at localhost: Ip 127.0.0.1 --> 1
--snpo: confcache public at localhost: Ip 192.1.1.123 --> 2
--snpo: confcache public at localhost: Type 24 --> 1
--snpo: confcache public at localhost: Type 6 --> 2
--snpo: confcache public at localhost: Type 6 --> 3 (duplicate)
--snpo: confcache public at localhost: Type 6 --> 4 (duplicate)
--snpo: confcache public at localhost: Type 131 --> 5
--snpo: confcache public at localhost: Type 131 --> 6 (duplicate)
--snpo: confcache public at localhost: Eth  --> 1
--snpo: confcache public at localhost: Eth 00-20-35-75-e4-35 --> 2
--snpo: confcache public at localhost: Eth  --> 3 (duplicate)
--snpo: confcache public at localhost: Eth 00-50-ba-d2-11-ad --> 4
--snpo: confcache public at localhost: Eth  --> 5 (duplicate)
--snpo: confcache public at localhost: Eth  --> 6 (duplicate)
--base: Get Interface Info
--base: Walking ifIndex
--base: Walking ifType
--base: Walking ifSpeed
--base: Walking ifAdminStatus
--base: Walking ifOperStatus
--base: Writing /mrtg/mrtg.cfg
user at lnxsvr1:/usr/local/mrtg-2/bin# ./mrtg /mrtg/mrtg.cfg
Rateup WARNING: /usr/local/mrtg-2/bin/rateup could not read the primary
log file for localhost_2
Rateup WARNING: /usr/local/mrtg-2/bin/rateup The backup log file for
localhost_2 was invalid as well
Rateup WARNING: /usr/local/mrtg-2/bin/rateup Can't remove localhost_2.old 
updating log file
Rateup WARNING: /usr/local/mrtg-2/bin/rateup Can't rename localhost_2.log 
to localhost_2.old updating log file
Rateup WARNING: /usr/local/mrtg-2/bin/rateup could not read the primary
log file for localhost_4
Rateup WARNING: /usr/local/mrtg-2/bin/rateup The backup log file for
localhost_4 was invalid as well
Rateup WARNING: /usr/local/mrtg-2/bin/rateup Can't remove localhost_4.old 
updating log file
Rateup WARNING: /usr/local/mrtg-2/bin/rateup Can't rename localhost_4.log 
to localhost_4.old updating log file
user at lnxsvr1:/usr/local/mrtg-2/bin#
------------------------------------------------------

I am running slackware linux using net-snmp 
i wan't to monitor eth0 and eth 1 as well as cpu load (cpu load can wait
till later)

it does create a graph somewhat but all numbers come out 0.0

thank you for the help greatly apreciated!



Luc Martineau
VWSS



---------------------------------------------------------
This message sent using EMUmail -- http://www.emumail.com
---------------------------------------------------------

Jumping through hoops to get E-mail on the road? 
You've got two choices: Join the circus, or use MollyMail.

Molly Mail -- http://www.mollymail.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
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

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