[PATCH] allow nagios server to run in configurable timezone
Ethan Galstad
nagios at nagios.org
Tue Nov 6 18:04:42 CET 2007
Grant Byers wrote:
> Hi all,
>
> We'd like to be able to run multiple nagios servers is differing
> timezones on the same physical/virtual server. To enable this, nagios
> needs to honour the TZ environment variable, or allow this to be
> overriden via the main nagios config.
> Note that the CGIs do not need to change, as we can simply setup
> multiple "VirtualHost" instances and use the "SetEnv" directive to set
> necessary environment variables. ie.
>
> <Directory "/usr/local/nagios3/sbin/">
> SetEnv TZ "Australia/Brisbane"
> SetEnv NAGIOS_CGI_CONFIG "/usr/local/nagios3/etc/qld_cgi.cfg
>
>
> I've attached two simple patches to add this TZ support.
>
> Regards,
> Grant
>
Good patch! This will be in CVS for Nagios 3.x shortly.
Ethan Galstad
Nagios Developer
___
Email: nagios at nagios.org
Web: www.nagios.org
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
More information about the Developers
mailing list