[mrtg] Time zone confusion (Thomas Olsen)
Alex van den Bogaerdt
alex at ergens.op.het.net
Thu Apr 5 05:13:11 CEST 2007
On Thu, Apr 05, 2007 at 03:26:11AM +0200, Thomas Olsen wrote:
> I have read several newsgroups, etc on this and as far as I could tell, it
> is correct with GMT-2. If I use GMT+2, it will only make things worse.
Timezones are west of Greenwich. If a zone is east (as Amsterdam is),
the difference thus is negative. You add an hour, and specify -1.
I cannot comment on timezone issues on windows; not enough experience.
One hunch though: According to
http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html you can set
'pngdate'. See if this is the correct time. If it is, mrtg is not
able to set a timezone for its own process, but can set a timezone
for its children. If so: try a batch file, setting the correct timezone,
and then calling mrtg (without a timezone parameter in its config).
I also have some doubt about that "-2". Are you expected to change
this parameter yourself whenever daylight saving changes?
More information about the mrtg