On Jan 28, 2010, at 9:11 AM, Casey Allen Shobe wrote: > Personally, I don't really care what the server thinks the time zone is - I > just want local times to show up in the CGI interface. I did not see any > setting in cgi.cfg to do this - how can I go about changing the time zone > displayed in the CGI interface without changing the serverwide time zone?
>From nagios.cfg -- # TIMEZONE OFFSET # This option is used to override the default timezone that this # instance of Nagios runs in. If not specified, Nagios will use # the system configured timezone. # # NOTE: In order to display the correct timezone in the CGIs, you # will also need to alter the Apache directives for the CGI path # to include your timezone. Example: # # <Directory "/usr/local/nagios/sbin/"> # SetEnv TZ "Australia/Brisbane" # ... # </Directory> #use_timezone=US/Mountain #use_timezone=Australia/Brisbane -- Marc ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Nagios-users mailing list [email protected] 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
