On 17.09.2013 20:34, Charles Gomes wrote:
>
> 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 ?
>
and /etc/icinga-web/conf.d/translation.xml now contains? did you clear
the config cache after modifying the configs?
> FUSIONLOGOSIGLINE.jpg
>
>
>
> *Charles Gomes*
>
> Managing Director, IT
>
> Fusion Trading Solutions
>
> Office:212.531.8593
>
> Mobile: 954.607.0772
>
> [email protected] <mailto:[email protected]>
>
> 100 5^th Ave, 7^th Floor, New York, NY 10011
>
> *From:* Charles Gomes [mailto:[email protected]]
> *Sent:* Tuesday, September 17, 2013 12:40 PM
> *To:* [email protected]
> *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:[email protected]]
> *Sent:* Tuesday, September 17, 2013 12:20 PM
> *To:* [email protected]
> <mailto:[email protected]>
> *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.
>
>
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/icinga-users
--
DI (FH) Michael Friedrich
mail: [email protected]
twitter: https://twitter.com/dnsmichi
jabber: [email protected]
irc: irc.freenode.net/icinga dnsmichi
icinga open source monitoring
position: lead core developer
url: https://www.icinga.org
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users