Zabbix graph(圖形 告警) 時間顯示不正確的解決辦法

1.登錄Zabbix服務器(我這邊爲了方便修改文件,使用sftp軟件登錄,對liunx不熟悉的可以用這個方法)

2、/etc/apache2/conf-available目錄下

3、修改zabbix.conf文件(可以先複製一份修改文件名備份一下)

4、將圖中兩處 timezone的值改爲 Asia/Shanghai

5、然後重啓apache2服務即可。

sudo systemctl restart apache2.service

參考文檔:https://support.zabbix.com/browse/ZBX-7820

以下爲參考內容:

The problem is people follow old server setup instructions and edit php.ini, when they should edit
/etc/apache2/conf-available/zabbix.conf

And there is two places where they need to change the time zone php5 and php7 (in /etc/apache2/conf-available/zabbix.conf)
Server setup instructions need to be updated.

 

發佈了5 篇原創文章 · 獲贊 4 · 訪問量 1萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章