[mrtg] Re: FW: MRTG error
Paul C. Williamson
pwilliamson at mandtbank.com
Thu Aug 30 23:08:10 MEST 2001
It makes sense it happened the first time. That always happens.
Happening after that, you usually get the error because it
could not find the .old file. So errors the first two times mrtg
runs is very normal.
Have you determined what the time is when it claims the log file was
updated?
Do you have ntp running that would throw off the timestamp?
Is this the only cfg file you get this on? Have you looked at the
log file to see what the timestamps look like?
If possible, include the first 4 or five lines of the log for this target.
Are there any other targets in this cfg file? Does this happen to
all target in the cfg, or just one? Is it the same target all the time?
If multiple configs, is it the same cfg every time?
Paul
>>> "Luu, Huy" <huy.luu at ibtco.com> 08/30/01 05:00PM >>>
I don't think this is the case. This error is generated the very first time
mrtg is ran on the .cfg file. The .cfg file is set to run as a daemon every
5 minutes, and mrtg generate this error the first time it was ran and every
5 minute interval afterwards. I ran many different instances of MRTG on
diferent .cfg file and never has one process caused a conflict with the
other.
-----Original Message-----
From: Paul C. Williamson [mailto:pwilliamson at mandtbank.com]
Sent: Thursday, August 30, 2001 1:18 PM
To: huy.luu at ibtco.com; mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: FW: MRTG error
First off, figure out the time that MRTG is reporting when
the data has been updated.
Then look at the time on your box.
It sounds like one mrtg is "leapfrogging" another one.
i.e. - you are not completing one sweep of collections
before another one begins. When the second one
begins, it first checks for a lock file. If it finds a lock,
it moves on to the next one. It is possible that it will get
to an unlocked one before the process that started before
it gets to it, and it processes that one. Then the first mrtg
comes along, and complains that the file in question has
already been updated, with a later time than it has, so it
spits out an error saying the file has already been updated.
Makes perfect sense...
Paul
>>> "Luu, Huy" <huy.luu at ibtco.com> 08/30/01 04:02PM >>>
-----Original Message-----
From: Luu, Huy
Sent: Thursday, August 30, 2001 12:59 PM
To: 'Matt Walkowiak'
Subject: RE: [mrtg] MRTG error
the error still occasionally pop up at the interval when mrtg refreshes
-----Original Message-----
From: Matt Walkowiak [mailto:mwalkowi at intxx.com]
Sent: Thursday, August 30, 2001 10:29 AM
To: 'Luu, Huy'; mrtg at list.ee.ethz.ch
Subject: RE: [mrtg] MRTG error
what happens if you keep running "mrtg file.cfg"? Does the error message go
away after a few times?
-----Original Message-----
From: Luu, Huy [mailto:huy.luu at ibtco.com]
Sent: Wednesday, August 29, 2001 3:39 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] MRTG error
can someone help me intepreret this error? It is generated after running
mrtg file.cfg
WARNING: Could not match host:'$t4Kel0ok at 10.10.10.1' ref:'' key:''
Rateup ERROR: /usr/bin/rateup found twr1_cs1_cpu's log file was corrupt
or not in sorted order:
time: 1074472060.Rateup WARNING: /usr/bin/rateup could not read the primary
log file for twr1_cs1_cpu
Huy Duc Luu
Investor's Bank & Trust
200 Clarendon Street
617-779-3045
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
-- Binary/unsupported file stripped by Listar --
-- Err : No filename to use for decode, file stripped.
-- Type: text/html
--
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
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
-- Binary/unsupported file stripped by Listar --
-- Err : No filename to use for decode, file stripped.
-- Type: text/html
--
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
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.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
More information about the mrtg
mailing list