Re: [Nagios-devel] [PATCH] allow nagios server to run in

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] [PATCH] allow nagios server to run in

Post by Guest »

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.
>
>
> 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: [email protected]
Web: www.nagios.org





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked