Ad Widget

Collapse

Zabbix 5.0 - default graph period

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • N?gma
    Junior Member
    • Nov 2020
    • 2

    #1

    Zabbix 5.0 - default graph period

    Hi everybody,
    I'm using Zabbix 5.0 on Centos 8.

    I'm trying to force the default time period on the graph section to one day.

    I already modify the line in the /usr/share/zabbix/include/defines.inc.php file as following:
    define('ZBX_PERIOD_DEFAULT_FROM', 'now-1d'); // Default time interval.
    changing the value from 'now-1h' to 'now-1d'.

    Now the problem is the fact that Zabbix still remembers the last filter selection, even after the log-out of the user.
    Is there any modification in the PHP files that allows me to delete this last selection at the log-out? In this way when the user will log-in again the graphs will show a one-day period.
Working...