Comments (7)
Sorry, annotation now in working.
from grafana-zabbix.
What do you think is better - annotation selection from items or from triggers?
from grafana-zabbix.
According to http://play.grafana.org/dashboard/db/annotations?panelId=1&fullscreen&edit
I don't understand where it can be managed.
How I understand the logic, you have array of targets (itemids in zabbix ) in datasource,
annotations are the lines when trigger fires up ?
so you should select all events for every target (itemid)
https://www.zabbix.com/documentation/2.4/manual/api/reference/event/get
"output" => "extend",
"object" => 0, //trigger
"source" => 0, //by trigger
"value" => 1, //fired up trigger
"select_acknowledges" => "extend", //nice to have in tooltip by whom it was acknowledged
"selectRelatedObject" => "extend", //to get trigger name - it will annotation title
"sortfield" => ["clock", "eventid"],
"sortorder" => "DESC"
here you should decide what field to use
hostids string/array Return only events created by objects that belong to the given hosts.
objectids string/array Return only events created by the given objects.
i.e. the event is created by trigger not by itemid directly so you cannot search in events by itemid,
first you need to get all triggers for all targets - you will get trigger ids
then you should get all events: objectids : [all trigger ids]
then you should group them by trigger name you will get it in sub array as related object
from grafana-zabbix.
See screenshot:
Annotations is just a marker at the graph related to some event (trigger change for example). In this plugin realization annotations get the events of triggers related to the given item.
from grafana-zabbix.
is it working now ?
from grafana-zabbix.
Yes, but needed to specify itemid manually. Not useful.
from grafana-zabbix.
Resolved by 17392c0
from grafana-zabbix.
Related Issues (20)
- Playlist stops suddently in Grafana v10.3.1 HOT 10
- Wrong query option - 'Query type' = 'Item'
- Grafana plugin still using parameter "selectGroups" and "auth"
- RangeError: Incorrect locale information provided
- Feature Request - Check box to only include enabled hosts when setting up variables.
- Grafana cloud refuses to reset Zabbix API token HOT 7
- Zabbix plugin tcp timeout after Grafana upgrade to latest version HOT 3
- I cannot delete a function (for example, transform -1) by clicking the x HOT 2
- How to see hostname + metric in legend? HOT 2
- From version 4.3.0 onwards (Zabbix 3.2.11) - "Invalid params. Login name or password is incorrect." - HOT 7
- "Zabbix Problems Panel" display problems HOT 5
- "skip TLS certificate validation" is not working
- Grafana Variable doesn't work at filter of hosts
- Problems Issue with Zabbix 7.0 beta 2 HOT 2
- An error occured within the plugin HOT 11
- replaceAlias function get ignored when Dashboard Transforms like "Join by label" are applied on the dashboard HOT 1
- plugin version 4.4.6 query ignoring selected application
- Support prometheus for querying data
- replaceAlias function get ignored when Dashboard Transforms like "Join by label" are applied on the dashboard HOT 1
- Plugin is failing to render in new Scenes architecture HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grafana-zabbix.