[mrtg] Re: [rrd-users] help!!! 14all Script and Timezones

Rainer Bawidamann rainer at bawidamann.de
Sun Sep 2 18:19:05 MEST 2001


On 2001.08.31 23:24 Dean Singh wrote:
> 	How can one reflect timezone changes using the 14all script with
> MRTG/RRD?  Did any of you guys modify the script to do this?  Here is my
> thoughts to do what MRTG does.

Try adding these lines:

   if (defined $targets{'timezone'}{$router}) {
      $ENV{'TZ'} = $targets{'timezone'}{$router};
   }

after the call to "cfgcheck" in the cgi (around line 119).

This might work, but I haven't tested it.

Rainer

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