Commit Graph

47 Commits

Author SHA1 Message Date
akotynski
d5c8dba61f fix dist folder after merging conflicts 2017-10-23 14:29:05 +02:00
Alexander Zobnin
1f5e261d4a table mode with triggers stats, #141 2017-10-22 19:01:46 +03:00
Alexander Zobnin
6c64f21b1a Triggers query mode, allow to get active triggers count, #141 2017-10-22 14:30:54 +03:00
Alexander Zobnin
dacc3f3576 minor ds init refactor 2017-10-22 12:24:25 +03:00
Alexander Zobnin
df64c190e2 fix Zabbix API error message 2017-10-22 11:37:17 +03:00
Alexander Zobnin
e7acd9d634 check dbConnection config object, issue #436 2017-07-26 19:13:44 +03:00
Alexander Zobnin
995b4401b6 mysql-connector: fix reapplying functions to targets with equal items 2017-07-26 12:54:05 +03:00
Alexander Zobnin
39f4db5182 fix target backward compatibility 2017-07-26 12:11:12 +03:00
Alexander Zobnin
b23f6677dd itemid-mode: minor refactor 2017-07-26 11:16:07 +03:00
Alexander Zobnin
3b1bc4d4a5 support template variables in itemid query mode 2017-07-25 18:54:30 +03:00
Alexander Zobnin
fc1748a087 datasource: implement itemid query mode 2017-07-25 18:40:13 +03:00
Alexander Zobnin
4ec84b21e5 mysql-connector: test MySQL data source during ds config 2017-07-25 13:02:59 +03:00
Alexander Zobnin
70f34db385 IT-services: able to use regex for selecting of multiple services, issue #415 2017-07-24 19:02:09 +03:00
Alexander Zobnin
ba6a04a120 mysql-connector: fix tests 2017-07-23 11:38:30 +03:00
Alexander Zobnin
fb145575ec mysql-connector: use db queries only for numeric history requests 2017-07-23 09:26:08 +03:00
Alexander Zobnin
75f041f841 mysql-connector: imlement getTrends() 2017-07-22 21:28:27 +03:00
Alexander Zobnin
0da9aefccc mysql-connector: minor refactor 2017-07-22 21:09:17 +03:00
Alexander Zobnin
3795ce564e mysql-connector: use consolidateBy in SQL queries as agg func 2017-07-22 20:57:10 +03:00
Alexander Zobnin
327aee7ef4 add consolidateBy() function 2017-07-22 20:47:24 +03:00
Alexander Zobnin
0369fb83a5 mysql-connector: aggregate values by time interval on server side 2017-07-21 22:22:16 +03:00
Alexander Zobnin
16256f2778 mysql-connector: implement getHistory for DB connector 2017-07-21 21:43:19 +03:00
Alexander Zobnin
6d89f36bb2 mysql-connector: initial ZabbixDBConnector class 2017-07-21 18:48:51 +03:00
Alexander Zobnin
6fa4baed0c mysql-connector: add config options for selecting data source
and load SQL data source during plugin init
2017-07-21 17:32:46 +03:00
Alexander Zobnin
eaaa86d31c annotations: replace variables in trigger name, fixes #428 2017-07-21 16:00:01 +03:00
Alexander Zobnin
e58cf62c36 Fix alert states for templated queries, closes #424 2017-07-10 12:18:53 +03:00
Alexander Zobnin
2d64a73030 Apply downsampling only to numeric data, fixes #325 2017-06-18 19:46:50 +03:00
Alexander Zobnin
f28689ee6a Build dist 2017-06-18 16:44:51 +03:00
Alexander Zobnin
7d97dfbef9 Sort trend data, fixes #202 2017-06-15 22:31:00 +03:00
Alexander Zobnin
f04e19db69 Allow to use names with dot in template queries, fixes #254 2017-06-08 16:28:29 +03:00
Alexander Zobnin
201c969e13 refactor: use timeRange instead of from, to 2017-06-08 15:01:36 +03:00
Alexander Zobnin
889f33f45f refactor: collapse options in getTriggers() 2017-06-08 14:44:41 +03:00
Alexander Zobnin
fe455113d5 refactor: use constants instead magic values 2017-06-08 13:53:02 +03:00
Alexander Zobnin
3eb5dc49e6 refactor: extract isUseTrends() function 2017-06-08 13:20:43 +03:00
Alexander Zobnin
48d21837b4 Fix timeshift() function with multiple targets, closes #338 2017-05-16 12:02:49 +03:00
Alexander Zobnin
c5a20d4d56 add host name to multiple text metrics 2017-04-20 10:05:55 +03:00
Alexander Zobnin
e241a5f990 Able to use both time and range for trends config, #364 2017-04-18 15:14:32 +03:00
Alexander Zobnin
df1c3e7ef4 implement replaceAlias() function, #287 2017-04-17 13:28:00 +03:00
Alexander Zobnin
682be45901 Support ms resolution.
Patch from Jay Dawes <ajaxous@gmail.com>
2017-03-26 19:20:18 +03:00
Alexander Zobnin
abf979de4b Add Min severity option to datasource config. 2017-03-08 16:27:15 +03:00
Alexander Zobnin
56782494fd Move alerting functions into zabbixAlertingSrv. 2017-03-08 15:49:39 +03:00
Alexander Zobnin
f2896fe1e4 Add thresholds to panels from zabbix triggers. 2017-03-06 12:20:18 +03:00
Alexander Zobnin
2f385faa1b Fix panel alert state changing to OK. 2017-03-06 09:19:56 +03:00
Alexander Zobnin
ca63fbe5a3 Add option for alerting to data source config. 2017-03-05 14:14:05 +03:00
Alexander Zobnin
f805213b02 Initial alerting feature. This implementation doesn't use Grafana alerting,
instead it get triggers for particular metrics and sets panel's alert state.
2017-03-05 13:59:23 +03:00
Alexander Zobnin
5192e8648d Replace native map() and forEach() methods by lodash. 2017-03-05 10:09:47 +03:00
Alexander Zobnin
94c24e9be4 Fix templatig issue, when no values returned, closes #354 2017-02-11 16:26:23 +03:00
Alexander Zobnin
0b3f537341 Add dist/ directory to repo to correspond development guide.
http://docs.grafana.org/plugins/development/
2017-02-02 11:33:54 +03:00