Xymon Mailing List Archive search

problem with display time

list Michael Baydoun
Mon, 5 May 2014 10:00:48 -0400
Message-Id: <user-e56142f952de@xymon.invalid>

fixed this by creating a timezone.conf in /etc/httpd/conf.d with the
following contents

SetEnv TZ America/New_York


On Fri, May 2, 2014 at 5:24 PM, J.C. Cleaver <user-87556346d4af@xymon.invalid> wrote:
On Fri, May 2, 2014 12:22 pm, Michael Baydoun wrote:
Running version 4.3.17

The time on the server itself is correct.  The time on in the upper right
corner of the nongreen.html and main screen xymon.html is correct.  The
time on most other pages is 4 hours ahead, which happens to be the
current
difference between EDT and UTC time.

Any idea why and how to fix?

All I can think of is that the remaining pages are CGI's, meaning they're
running via Apache, while the xymongen program which creates the static
HTML pages is running as the xymon user via an initscript. It's possible
the time environment is listed different between the two somehow.

Perhaps compare the /proc/*/environ files to see if TZ is different, or
bounce apache and see if it fixes it.

If not, a bounce? Hard to say...

HTH,
-jc