Did anyone resolve this issue. I am having the same problem on a vm running on esx 2.5

As far as I know there was no resolution to this one. I just went through the code that contributes to the "Zenoss server time:" displayed in the web interface, and it works like this:

This part of the web page is built by $ZENHOME/Products/ZenModel/skins/ zenmodel/templates.pt.
        templates.pt calls ${here/server_time}
which calls the server_time() method in $ZENHOME/Products/ZenModel/ ZentinelPortal.py which calls the isoDateTime() method in $ZENHOME/Products/ZenUtils/ Time.py which calls the _maybenow() method in $ZENHOME/Products/ZenUtils/ Time.py
        which calls the time() method in Python's standard library

I can't think of what scenario would cause Python's standard library to return a different time than the UNIX time. You can try running the following commands at your python >>> prompt to see what Python thinks the time is.

import time
time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(time.time()))

This is the exact call and formatting that the web interface ends up calling.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to