Nagios Timezone

Hugo van der Kooij hvdkooij at vanderkooij.org
Mon Jan 8 23:35:40 CET 2007


On Mon, 8 Jan 2007, Israel Brewster wrote:

> Ok, looks like I've got things figured out here. The problem appears
> to stem from Apache being chrooted, specifically that the Nagios
> CGI's, running under the Apache chroot, can't see the /etc/localtime
> file. When I copy the /etc/localtime file to /var/www/etc/localtime
> (inside the Apache chroot), Nagios now shows the correct time.
> Remove /var/www/etc/localtime, and Nagios goes back to showing GMT,
> even without restarting Nagios or Apache. It seems to me that this is
> an issue with the Nagios package distributed with OpenBSD 4.0- that
> file should have been linked into the chroot with the Nagios install,
> just like the /etc/nagios directory was. At any rate, problem solved.

Sounds to me /var/www is the domain for apache. So if anyone should link 
it then it would be part of the chrooted apache.

But considering one might run servers for different timezones on 1 system 
it is propably left to the admin on purpose. (Today Alaska, tommorow 
Japan? ;-)

Hugo.

-- 
 	hvdkooij at vanderkooij.org	http://hvdkooij.xs4all.nl/
 	    This message is using 100% recycled electrons.

-------------------------------------------------------------------------
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