Hi Ton, > I think this is as simple as setting TZ=new_timezone before executing > the CGIs. This seems to be the case running on command line. > > What you may want to do is setup different Apache virtual hosts, say > http://india.nagios.example.com//cgi-bin/status.cgi, http:/// > uk.nagios.example.com/cgi-bin/status.cgi, etc and within each of > those virtual hosts in Apache, set the TZ variable. Then, from the > website, it is obvious which timezone data you are looking at.
Hmmmm. Yes, another poster mentioned the TZ variable, but I didn't ponder setting this within a virtual host. That might be something to think about. > With Opsview (http://opsview.org), we'd like to incorporate timezone > support so that a user can choose their timezone and get data > displayed accordingly (http://trac.opsview.org/wiki/RoadMap). Let us > know if your interested in sponsoring this development. :) I wish I could, let me assure you. Thanks for all your help, Benny -- "It sounds like you're killing a seagull with a bagpipe!" -- Khan, on King Of The Hill ------------------------------------------------------------------------- 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/ _______________________________________________ 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
