I've done a: rpm -ql icinga-web |xargs grep default_timezone_set and modified all the files with my call to date_default_timezone_set("US/Eastern"); However I still get EST from date_default_timezone_get(). Anybody has an idea where else could I poke ?
[FUSIONLOGOSIGLINE.jpg] Charles Gomes Managing Director, IT Fusion Trading Solutions Office: 212.531.8593 Mobile: 954.607.0772 charles.go...@fusionts.com<mailto:charles.go...@fusionts.com> 100 5th Ave, 7th Floor, New York, NY 10011 From: Charles Gomes [mailto:charles.go...@fusionts.com] Sent: Tuesday, September 17, 2013 12:40 PM To: icinga-users@lists.sourceforge.net Subject: Re: [icinga-users] servertime and last check shows 1 hour behind, timezone issue in icinga-web Trying to troubleshoot I've modified: /usr/share/icinga-web/app/modules/AppKit/templates/ServertimeSuccess.php To show the timezone and somewhere it's getting overriding to EST. echo date("H:i:s"); echo date_default_timezone_get(); As I get now: Servertime: 11:37:35EST Somewhere in icinga-web the timezone is being set and it's not following the php.ini I'm going to look over more and post my results. From: Charles Gomes [mailto:charles.go...@fusionts.com] Sent: Tuesday, September 17, 2013 12:20 PM To: icinga-users@lists.sourceforge.net<mailto:icinga-users@lists.sourceforge.net> Subject: [icinga-users] servertime and last check shows 1 hour behind, timezone issue in icinga-web My timezone shows one hour behind. I've tried several changes still can't get it to work. I've followed the instructions at: https://wiki.icinga.org/display/Dev/Icinga-web+FAQ PHP.INI /etc/php.ini: date.timezone = America/New_York Other icinga-web files: /etc/icinga-web/conf.d/translation.xml: <available_locales default_locale="de" default_timezone="GMT"> /usr/share/icinga-web/app/modules/AppKit/config/module.xml: <!-- Set the default timezone, this is missing on some systems --> /usr/share/icinga-web/app/modules/AppKit/config/module.xml: <ae:parameter name="date.timezone">GMT</ae:parameter> /etc/icinga/icinga.cfg timezone is commented. The standard Icinga gui shows the right time. I've even tried exporting TZ on apache as I do on icinga-gui but it still does not work. I've cleared the cache and restarted apache several times. This is only affecting icinga-web.
<<inline: image001.jpg>>
------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________ icinga-users mailing list icinga-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/icinga-users