Decrease range window on zabbix graph
Diff
code posted
by
c-moi
created at 05 Feb 17:45
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
74c74 < obj.time.period = 300; --- > obj.time.period = 3600; 275c275 < period = 300, --- > period = 3600, 312c312 < minperiod: 300, // minimal allowed period --- > minperiod: 3600, // minimal allowed period 1141c1141 < var zooms = [300, 3600, 7200, 10800, 21600, 43200, 86400, 604800, 1209600, 2592000, 7776000, 15552000, 31536000]; --- > var zooms = [3600, 7200, 10800, 21600, 43200, 86400, 604800, 1209600, 2592000, 7776000, 15552000, 31536000]; 1184c1184 < var moves = [300, 3600, 43200, 86400, 604800, 2592000, 15552000, 31536000]; --- > var moves = [3600, 43200, 86400, 604800, 2592000, 15552000, 31536000]; 1707c1707 < this.dom_period_span.innerHTML = formatTimestamp(this.period, false, true) + (this.period < 300 ? ' [min 5mn]' : ''); --- > this.dom_period_span.innerHTML = formatTimestamp(this.period, false, true) + (this.period < 3600 ? ' [min 1h]' : ''); |
923 Bytes in 3 ms with coderay