LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-23-2009, 12:51 PM   #1
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Rep: Reputation: 30
Unhappy MRTG Issue


Hi there,

I installed MRTG to monitor our corporate network.
I followed the steps on the MRTG documentation and seems to have displayed my graphs fine through my browser.
http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html

However when I set an environmental variable:
root@csaa23mon-dev:/etc/mrtg# env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg

I get this error:
2009-06-23 10:40:23, Rateup WARNING: /usr/bin/rateup The backup log file for 10.10.60.1_se1_1 was invalid as well
2009-06-23 10:40:23, Rateup WARNING: /usr/bin/rateup Can't remove 10.10.60.1_se1_1.old updating log file
2009-06-23 10:40:23, Rateup WARNING: /usr/bin/rateup Can't rename 10.10.60.1_se1_1.log to 10.10.60.1_se1_1.old updating log file
2009-06-23 10:40:23, Rateup WARNING: /usr/bin/rateup could not read the primary log file for 10.10.60.1_fa0_0
2009-06-23 10:40:23, Rateup WARNING: /usr/bin/rateup The backup log file for 10.10.60.1_fa0_0 was invalid as well
2009-06-23 10:40:23, Rateup WARNING: /usr/bin/rateup Can't remove 10.10.60.1_fa0_0.old updating log file
2009-06-23 10:40:23, Rateup WARNING: /usr/bin/rateup Can't rename 10.10.60.1_fa0_0.log to 10.10.60.1_fa0_0.old updating log file

Can anyone please give me an idea on what did I miss?

Thanks!
DB
 
Old 06-23-2009, 05:57 PM   #2
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
I got this up and running.

I had separated each configs to every router in the cfg directory...

root@csaa23mon-dev:/etc/router1-mrtg# env LANG=C /usr/bin/router1-mrtg /etc/mrtg/router1-mrtg.cfg

Errors were gone after making changes.

Hope this helps anyone!

Best,
DB :-)
 
  


Reply

Tags
mrtg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue During MRTG Installation???/ ajeetraina Linux - Server 0 06-02-2008 07:47 AM
MRTG Graph Issue predatorz Linux - Software 3 10-06-2007 09:01 PM
how to deal with MRTG issue cnhawk386 Linux - Newbie 1 08-20-2007 03:46 AM
LIBPNG & MRTG Issue mrigor Linux - Software 1 10-05-2005 01:59 PM
MRTG Issue of wierdness.... RaelOM Linux - Software 1 02-21-2005 09:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration