Created
November 23, 2017 06:52
-
-
Save devlatte/04b5b88d4e5883477bef9287876eae3e to your computer and use it in GitHub Desktop.
Ganglia web timezone setting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# when 'browser timezone' is not working or not supported ganglia version | |
# ganglia/conf.php | |
# for graph(rddtool) timezone | |
$conf['rrdtool'] = "env TZ='Asia/Seoul' /usr/bin/rrdtool"; | |
# ganglia/header.php | |
# for header (query) time | |
<?php | |
session_start(); | |
date_default_timezone_set('Asia/Seoul'); | |
... | |
> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment