[mrtg] Re: Log files keep getting corrupted!

Larry Sheldon lsheldon at creighton.edu
Sun Jan 23 20:01:20 MET 2000


> 	Is this a known problem with version 2.5.1?  Can I use this to convince the powers
> that control my life to upgrade (*gasp*) to 2.8.11?

My first guess is that each 5-minute running is taking more that five
minutes, so the second execution is stepping on the first--and that was
common, it seems to me, in the eariler versions.

I fixed it by running mrtg from a script that test for the existience
of a "lock".  If the lock-file exists, exit. If it doesn't, create it,
run MRTG, and delete the lock file.

Not pretty, but it worked pretty well.

--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
.                                                                       .
- L. F. (Larry) Sheldon, Jr.                                            -
. Unix Systems and Network Administration                               .
- Creighton University Computer Center-Old Gym                          -
. 2500 California Plaza                                                 .
- Omaha, Nebraska, U.S.A.  68178       Two identifying characterstics   -
. lsheldon at creighton.edu                  of System Administrators:     .
- 402 280-2254 (work)                Infallibility, and the ability to  -
. 402 681-4726 (cellular)               learn from their mistakes.      .
- 402 332-4622 (residence)                                              -
. http://www.creighton.edu/~lsheldon    Adapted from Stephen Pinker     .
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg



More information about the mrtg mailing list