Bandwidth/speed doesn't show correctly
st3rling opened this issue · 1 comments
Describe the problem
Bandwidth links don't show correct amount of traffic nor interface speed. Using Zabbix data source. Values in Zabbix app are correct. This happens with Disable data alignment set to true or false. It also happens either I set bandwidth manually or through Bandwidth Query. Also it looks like sent and receive numbers are the same.
Here's the query:
{
"request": {
"url": "api/datasources/1/resources/db-connection-post",
"method": "POST",
"hideFromInspector": false,
"data": {
"series": [
{
"ts": [
{
"time": 1703061326,
"value": 20000
}
],
"meta": {
"name": "CSW-ID-SB-1: Interface Eth-Trunk10(ASW-ID-RAMO-1.31-SB): Speed",
"item": {
"delay": "5m",
"hostid": "10549",
"hosts": [
{
"host": "CSW-ID-SB-1",
"hostid": "10549",
"name": "CSW-ID-SB-1"
}
],
"itemid": "47280",
"key_": "net.if.speed[ifHighSpeed.204]",
"name": "Interface Eth-Trunk10(ASW-ID-RAMO-1.31-SB): Speed",
"state": "0",
"status": "0",
"tags": [
{
"tag": "Application",
"value": "Interfaces"
}
],
"units": "",
"value_type": "3",
"valuemapid": "0",
"item": "Interface Eth-Trunk10(ASW-ID-RAMO-1.31-SB): Speed"
},
"interval": 300000000000
}
}
],
"query": {
"schema": 12,
"queryType": "0",
"group": {
"filter": "Network SB"
},
"host": {
"filter": "CSW-ID-SB-1"
},
"application": {
"filter": ""
},
"itemTag": {
"filter": "Application: Interfaces"
},
"item": {
"filter": "Interface Eth-Trunk10(ASW-ID-RAMO-1.31-SB): Speed"
},
"macro": {
"filter": ""
},
"functions": [],
"trigger": {
"filter": ""
},
"countTriggersBy": "",
"tags": {
"filter": ""
},
"proxy": {
"filter": ""
},
"textFilter": "",
"options": {
"showDisabledItems": false,
"skipEmptyValues": false,
"disableDataAlignment": false,
"useZabbixValueMapping": false,
"useTrends": "default",
"count": false
},
"table": {
"skipEmptyValues": false
},
"datasource": {
"type": "alexanderzobnin-zabbix-datasource",
"uid": "2AJ9c_VIk"
},
"hide": false,
"refId": "CSW-ID-SB-1 t10 speed",
"resultFormat": "time_series"
},
"timeRange": {
"from": 1703061161,
"to": 1703061461
}
}
},
"response": [
{
"schema": {
"name": "CSW-ID-SB-1: Interface Eth-Trunk10(ASW-ID-RAMO-1.31-SB): Speed",
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"host": "CSW-ID-SB-1",
"item": "Interface Eth-Trunk10(ASW-ID-RAMO-1.31-SB): Speed",
"item_key": "net.if.speed[ifHighSpeed.204]"
},
"config": {
"displayNameFromDS": "CSW-ID-SB-1: Interface Eth-Trunk10(ASW-ID-RAMO-1.31-SB): Speed",
"custom": {
"scopedVars": {
"__zbx_host": {
"text": "",
"value": "CSW-ID-SB-1"
},
"__zbx_host_name": {
"text": "",
"value": "CSW-ID-SB-1"
},
"__zbx_item": {
"text": "",
"value": "Interface Eth-Trunk10(ASW-ID-RAMO-1.31-SB): Speed"
},
"__zbx_item_interval": {
"text": "",
"value": "5m"
},
"__zbx_item_key": {
"text": "",
"value": "net.if.speed[ifHighSpeed.204]"
},
"__zbx_item_name": {
"text": "",
"value": "Interface Eth-Trunk10(ASW-ID-RAMO-1.31-SB): Speed"
}
},
"units": ""
}
}
}
]
},
"data": {
"values": [
[
1703061326000
],
[
20000
]
]
}
}
]
}
To Reproduce
Not sure, it just always happens
Expected behavior
Proper values in amount of traffic and interface speed
VERSIONS! (please complete the following information):
- Browser Chrome Version 120.0.6099.71
- Grafana Version 9.2.10
- Plugin Version 0.4.3
- Zabbix plugin for Grafana 4.3.1
Please let me know if you need more information and thank you!
Sorry, my mistake. It was actually SNMP template problem within Zabbix itself for these particular switches.