[mrtg] Re: International timezones and cisco router interface stats
Alex van den Bogaerdt
alex at slot.hollandcasino.nl
Thu Feb 8 23:58:55 MET 2001
Chuck Harpham wrote:
> When I use the parameter "Timezone[route.2]: Japan, it displays the wrong
> date and also the incorrect time for Japan..... Any Ideas why this is
> happening? (MRTG runs off of a Soloaris box)
First thing to check in that case is whether the computers time is
set correctly. I don't know solaris too well but it has to have a
way to check the time in UTC. Display it and compare it to your
local time. (perhaps "TZ=UTZ date" ?)
If you're living east of the UK, the UTC time should be more early
than the local time, else it should be ahead of your local time.
For instance:
UTC time: Thu Feb 8 22:51:57 UTC 2001
Chicago USA Thu Feb 8 16:51:57 CST 2001
most of europe: Thu Feb 8 23:51:57 CET 2001
Japan: Fri Feb 9 07:51:57 JST 2001
examples valid only if *my* TZ settings are correct ofcourse :)
If that's OK, check if your computer displays proper time for Japan
when doing something like "TZ=Japan date"
These two checks cover most cases of timezone problems. If this is
not the case then maybe somebody else is able to help you.
cheers,
--
__________________________________________________________________
/ alex at slot.hollandcasino.nl alex at ergens.op.het.net \
| work private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. |
+----------------------------------------------------------------------+
| http://faq.mrtg.org/ |
| http://rrdtool.eu.org --> tutorial |
+----------------------------------------------------------------------+
--
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