Commit Graph

192 Commits

Author SHA1 Message Date
Ivana Huckova
58902e7ed9 Release 5.0.2 with error source fix for some downstream errors (#1980)
This PR fixes error source for 2 errors:
- parsing of invalid json response should be downstream error as we
expect to receive valid json from zabbix
- no host found error should be downstream. We are bumping sdk that
includes that fix
https://github.com/grafana/grafana-plugin-sdk-go/pull/1246.

As you can see - the invalid json parsing is now downstream error
<img width="1498" alt="image"
src="https://github.com/user-attachments/assets/88028dbe-0f73-47aa-8262-5729059ce12f"
/>
2025-02-27 12:30:19 +01:00
Zoltán Bedi
c2ffd31b1a Add error source (#1954)
Fixes  #1879
2025-02-04 12:40:33 +01:00
yesoreyeram
374c83d17d initial fix 2025-01-03 09:18:37 +00:00
Ivana Huckova
dbcc008489 Fix querying and authentication for Zabbix v7.0+ (#1931)
* Fix querying for Zabbix v7.2+

* Update check from 7.2 to 7.0

* Fix also select acknowledges key

* Remove unsused methods

* release commit 4.6.0

---------

Co-authored-by: yesoreyeram <153843+yesoreyeram@users.noreply.github.com>
2024-12-17 01:02:43 +00:00
Sriram
e3c3c11e41 host id as alias function (#1913) 2024-11-27 10:32:48 +00:00
Ivana Huckova
53030e2141 Fix deprecated methods based on instructions 2024-09-04 14:17:02 +02:00
TechVest
26096e7f32 chore: fix some comments (#1818)
Signed-off-by: TechVest <techdashen@qq.com>
2024-04-24 12:14:27 +01:00
Muhammad Iqbal Alaydrus
dfe360bf1d item.get cache won't be hit if tags order are different (#1745)
* cache won't be hit if tags order are not the same

* unit test for get items with tags
2023-12-04 13:46:11 +01:00
Sriramajeyam Sugumaran
07d41ac825 updated SDK 2023-11-16 13:07:41 +00:00
Zoltán Bedi
f31fc80b2b Chore: Update grafana-plugin-sdk-go to latest (#1702) 2023-10-05 17:43:30 +02:00
Alexander Zobnin
c06683cd37 Fix backend linter errors 2023-08-30 12:48:38 +02:00
Alexander Zobnin
f9a3d5887e Remove env variable usage 2023-08-17 18:36:09 +02:00
Alexander Zobnin
e33812427e Add host name only if result contains multiple hosts, fixes #1335 2023-08-01 15:25:37 +02:00
Alexander Zobnin
cef0a2e157 Fix app filter returning all items in case of wrong app, #1597 2023-08-01 13:13:51 +02:00
Alexander Zobnin
d484934b3a Format source code 2023-08-01 11:51:58 +02:00
Alexander Zobnin
ac976945a5 Auth: Able to use API tokens for authentication (#1662)
* Auth: Able to use API tokens for authentication

* Update change log
2023-07-26 17:23:44 +02:00
lean.dev
8205f7aaf8 Support for secure socks proxy (#1650)
* Enables PDC for zabbix datasource

* 4.4.0

* Updating CHANGELOG

* Updating CHANGELOG

* Updating CHANGELOG
2023-07-25 18:54:48 +03:00
Alexander Zobnin
24285a9483 Fix item tag filter, #1594 2023-03-23 14:40:22 +01:00
Alexander Zobnin
dd6798834a Improve tags performance (#1526)
Co-authored-by: Erik De Neve <erik.de.neve@telenet.be>
2023-03-21 12:28:34 +01:00
Alexander Zobnin
cf6b19e189 Query option to override use trends option, fixes #1442 2022-12-29 14:07:02 +01:00
Alexander Zobnin
42281a6577 Support authentication for zabbix < 5.4, #1544 2022-12-27 13:05:15 +01:00
Alexander Zobnin
cba2e89a06 Update deprecated user param to username, fixes #1544 2022-12-27 12:33:01 +01:00
Alexander Zobnin
799875866a Fix matching 2022-09-01 10:30:55 +03:00
Alexander Zobnin
459722d0e4 Merge branch 'regexp2' of github.com:thetuxkeeper/grafana-zabbix into thetuxkeeper-regexp2 2022-09-01 09:38:40 +03:00
Alexander Zobnin
b10f93dc37 fix AggregateByRange() on empty data 2022-07-12 09:25:28 +03:00
Alexander Zobnin
5777c2dd0f Query object ids explicitly 2022-07-12 09:18:16 +03:00
Alexander Zobnin
d2645a43b2 Fix fetching host groups, #1470 2022-07-08 14:48:57 +03:00
Daniel Poßmann
4fa13c9b87 extended parseFilter tests 2022-07-07 14:28:55 +02:00
Daniel Poßmann
70055b0682 switch to regexp2 for parsed filter 2022-07-07 14:28:55 +02:00
Alexander Zobnin
7153a83926 Fix data processing when trend data fetched from DB, closes #1445 2022-05-06 12:43:46 +03:00
Alexander Zobnin
daaf2b634d Refactor: remove unused code 2022-05-06 12:18:15 +03:00
Alexander Zobnin
84419de6f5 Fix displaying metric names and alias functions, closes #1444 2022-05-06 12:17:06 +03:00
Alexander Zobnin
c0a33f2e7e Fix show disabled items toggle, closes #1249 2022-05-04 12:08:54 +03:00
Alexander Zobnin
9d6abf3164 Fix EMA function crash when first point is null 2022-04-29 14:44:26 +03:00
Alexander Zobnin
8b0174f8a7 Implement internal plugin metric collection 2022-04-28 13:08:53 +03:00
Alexander Zobnin
8d35c6b297 Fix percentile aggregation with $__range_series interval 2022-04-27 15:26:48 +03:00
Alexander Zobnin
c70c9e9ef6 Refactor: define slices with make() 2022-04-27 14:01:42 +03:00
Alexander Zobnin
37280079ac Fix returning apps when no host found, fixes #1427 2022-04-27 13:48:20 +03:00
Alexander Zobnin
f0842bfb7e Fix missing labels in response data frame 2022-04-19 17:54:36 +03:00
Alexander Zobnin
afb90c9643 Fix using units from Zabbix, #1321 2022-02-17 16:17:49 +03:00
Alexander Zobnin
0a4714f9e9 Fix parsing regex, #1318 2022-02-16 17:59:56 +03:00
Alexander Zobnin
f4fad8d58d Fix alerting query error when query type has numeric type, fixes #1342 2022-02-16 17:20:06 +03:00
Alexander Zobnin
10c6e4a887 Remove unused models 2021-12-02 13:47:06 +03:00
Alexander Zobnin
f8a843244d Remove unused debug logging 2021-09-27 17:53:55 +03:00
Alexander Zobnin
09c91ccbe4 Fix top() and bottom() functions by fixing sorting, closes #1313 2021-09-23 17:44:02 +03:00
Alexander Zobnin
750292296c Align: do not append points with the same timestamp 2021-09-23 15:59:23 +03:00
Alexander Zobnin
59ce70df4b Alignment: fix interpolation 2021-09-23 14:28:14 +03:00
Alexander Zobnin
1f98dc7f4c Skip alignment only if item interval twice less than query interval 2021-09-23 13:43:33 +03:00
Alexander Zobnin
d46b9c9a91 Data alignment: skip 1 point gaps (insert interpolated value) 2021-09-23 13:15:01 +03:00
Alexander Zobnin
9133b0aaed Skip data alignment if item interval less than query interval 2021-09-23 12:52:21 +03:00