[mrtg] Re: mrtg.cfg file being truncated

Brander, Eric Eric.Brander at ACS-INC.com
Thu Feb 27 22:23:29 MET 2003


Sounds like your cron job could have the wrong command line. Can you show us
the crontab line in question?  MRTG does not modify the config files when it
runs. Just a guess (and based on the lack if info here - a long shot at
best) you are running cfgmaker every 5 minutes, and not MRTG.

Eric Brander
ACS
Texas CHIP Account
Sr. Communications Engineer - Information Systems Department
512.336.3331
Eric dot Brander at acs-inc dot com


-----Original Message-----
From: Westermann, Gavin [mailto:gavin.westermann at attcanada.com]
Sent: Thursday, February 27, 2003 12:54 PM
To: 'mrtg at list.ee.ethz.ch'
Subject: [mrtg] mrtg.cfg file being truncated


I had this working on an HP box but now I have a strange problem that I just
can't figure out.  I make my config usring cfgmaker and the result is placed
where I want by the script. 

 

-rw-------   1 root       sys          67539 Feb 27 11:44 mrtg.cfg

 

after the cron runs the first run this file some how trunkates to this.

 

-rw-------   1 root       sys            240 Feb 27 12:02 mrtg.cfg

 

All that is in that file is the header? The actuall config that sits south
of that is missing?

 

I cannot figure out why this is happening?

 

Gavin

 

Gavin Westermann

Internetworking Operations Consultant

World Markets

AT&T Canada Corp

5160 Orbitor Drive

Mississauga, Ontario

L4W 5H2

ph: 905-361-6126

 

 



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