Fixed that Zabbix Grafana 2.5.0.1 does not support 7day trend data display
problem
The data cannot be displayed after querying for more than 7 days. An error was reported because of a problem with the interface of the new version of Trend api.
Solve the problem of adding Trend API function 2.4.5 2.4.6 tested I
Replace attachment dll to the zabbix front-end directory
/ usr/share/zabbix/include/classes/api
The author has closed the problem after feedback
Attachment remarks: 2 changes, add a method file
# CApiServiceFactory.php
Increase
'trend' = >' CTrend'
# API.php
/ * *
* @ return CTrend
, /
Public static function Trend () {
Return self::getApi ('trend')
}
Reference https://support.zabbix.com/browse/ZBXNEXT-1193
Attachment: http://down.51cto.com/data/2367121