Nagios Timezone

Israel Brewster israel at frontierflying.com
Thu Jan 4 18:01:10 CET 2007


Just tried it- setting (and unsetting) the TZ environment variable  
before launching Nagios and Apache makes no difference- Nagios still  
displays GMT. Other ideas?

-----------------------------------------------
Israel Brewster
Computer Support Technician
Frontier Flying Service INC.
5245 Airport Industrial Rd
Fairbanks, AK 99709
-----------------------------------------------


On Jan 3, 2007, at 3:38 PM, Robert Hajime Lanning wrote:

>
> <quote who="Israel Brewster">
>> I have done some searching on this, and while I have found some
>> similar questions in the archives, I haven't found an answer, so I
>> figure I'll ask. I am running Nagios 2.5 on an OpenBSD 4.0 box. The
>> machine is set to the proper time, and if I run "date" or "perl -e
>> 'print scalar(localtime()) . "\n";' "(as suggested in one of the
>> threads I found) it returns the proper time, in the proper timezone.
>> Nagios, however, displays the time in GMT. Since I am off of GMT by a
>> full 9 hours, this is rather annoying. Any way to fix this? Thanks.
>
> 1) make sure Nagios is started with the TZ environment variable
>    unset, so it will use the system setting.
>
> 2) make sure your web server also does not start with the TZ variable.
>
> -- 
> And, did Galoka think the Ulus were too ugly to save?
>                                          -Centauri
>
>
> ---------------------------------------------------------------------- 
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when  
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list