Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Fixed that Zabbix Grafana 2.5.0.1 does not support 7day trend data display

Shulou Source: shulou.com Published: 2022-06-01 09:12:45 09月30日 Update

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

Tags: Questions attachments data authors front ends functions comments interfaces files methods directories references queries tests trends support Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn macOS NVidia Apple MySQL