Commit Graph

203 Commits

Author SHA1 Message Date
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
d5c4ad783c Merge branch 'ms-resolution' 2017-03-28 19:50:01 +03:00
Alexander Zobnin
59fa345927 Fix tests after merging alerting 2017-03-28 19:44:31 +03:00
Alexander Zobnin
682be45901 Support ms resolution.
Patch from Jay Dawes <ajaxous@gmail.com>
2017-03-26 19:20:18 +03:00
Ruslan Semov
9cbc1d3c09 Sum and count aggregations added
Sum and count aggregations of metrics (I really need this)

Signed-off-by: Ruslan Semov <me@recluse.ru>
2017-03-23 18:47:41 +03:00
Alexander Zobnin
abf979de4b Add Min severity option to datasource config. 2017-03-08 16:27:15 +03:00
Alexander Zobnin
c43bd8bf33 Fix setting alerting state when panel is in fullscreen mode. 2017-03-08 16:05:40 +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
24b63f89aa Add all value regex to host dropdown. 2017-02-11 21:50:05 +03:00
Alexander Zobnin
77108fa05a Add template variables to dropdown metric list, closes #310 2017-02-11 21:31:08 +03:00
Alexander Zobnin
48018744bd Expand user macros in items, closes #212 2017-02-11 20:50:38 +03:00
Alexander Zobnin
94c24e9be4 Fix templatig issue, when no values returned, closes #354 2017-02-11 16:26:23 +03:00
Alexander Zobnin
5d33462d8e Triggers Panel: allow to hide hosts in maintenance, closes #186 2017-02-10 16:57:13 +03:00
Alexander Zobnin
f8d18c41f5 Fix checking query for variables. 2017-02-01 19:21:26 +03:00
Alexander Zobnin
873b57e71a Fix error for new empty panel, fixes #337 2017-02-01 19:12:09 +03:00
Alexander Zobnin
eb23957488 Fix linter error (; missed). 2017-02-01 19:02:32 +03:00
Alexander Zobnin
9b40b3ed1b Merge remote-tracking branch 'origin/master' into triggers-panel 2017-02-01 18:48:56 +03:00
evandro-portugal
f96c847f6d setAlias using a regex (#336)
created a new function that allows to use a regex to manipulate item
name
2017-01-23 15:52:46 +04:00
Alexander Zobnin
4ca72666ca Fixed metrics suggestion in Triggers panel. 2016-12-30 14:35:46 +03:00
Alexander Zobnin
c191e3d2e1 Fixed query editor options styles. 2016-12-20 21:22:18 +03:00
Alexander Zobnin
9fec12600a Updated logo to SVG image with original Zabbix colors. 2016-11-26 14:35:30 +03:00
Alexander Zobnin
a5cecbe1c7 Fix for backward compatibility with lodash 2.4 (_.uniqBy) 2016-11-26 14:25:52 +03:00
Alexander Zobnin
54c03e6ece Added timeShift() function, closes #307. 2016-11-17 21:20:37 +03:00
Alexander Zobnin
092b6c897c Fixed IT Services bug (can't find getITService() function). 2016-11-17 16:13:34 +03:00
Alexander Zobnin
9392d45ad9 Refactor: removed unused code from zabbixCachingProxy. 2016-11-14 22:37:58 +03:00
Alexander Zobnin
f56c4c66d6 ZabbixAPI: improved requests caching. Cache groups, hosts, apps and items. 2016-11-14 22:28:37 +03:00
Alexander Zobnin
d15e9c8acd Refactor: zabbixCache renamed to zabbixCachingProxy. 2016-11-14 18:01:54 +03:00
Alexander Zobnin
fd772fab15 Refactor: dataProcessor.js 2016-11-14 17:52:59 +03:00
Alexander Zobnin
4dc4e3b8ea Refactor: fix tests. 2016-11-13 19:02:37 +03:00
Alexander Zobnin
6e0f59cd69 Refactor: datasource.js 2016-11-13 18:54:28 +03:00
Alexander Zobnin
834b953e41 Add host name to metric if multiple hosts returned. 2016-11-13 18:40:50 +03:00
Alexander Zobnin
0bf7f4b870 Refactor: fix query.controller.js 2016-11-13 18:40:01 +03:00
Alexander Zobnin
d11f1b7616 Refactor: move zabbix requests to single place (zabbix.js module). 2016-11-13 17:47:38 +03:00
Alexander Zobnin
ce8d9f4be8 Refactor: replace angular $q by native Promise. 2016-11-13 15:56:35 +03:00
Alexander Zobnin
775a422c84 Refactor: zabbixCache. 2016-11-13 15:00:58 +03:00
Alexander Zobnin
032927cf8f Refactor: queryProcessor renamend to queryBuilder. 2016-11-13 13:16:07 +03:00
Alexander Zobnin
88ddcd0c42 Refactor: move zabbix api response handle to separate module. 2016-11-12 21:26:34 +03:00
Alexander Zobnin
2e57b9b166 Refactor: queryProcessor.service. 2016-11-12 20:49:32 +03:00
Alexander Zobnin
4a73957c16 Refactor: improved working with promises in zabbixAPICore.service. 2016-11-11 21:56:21 +03:00
Alexander Zobnin
6579c6acbc Refactor: zabbixAPI.service 2016-11-11 21:53:10 +03:00
Alexander Zobnin
062d975319 Refactor: improved working with promises in testDatasource() method. 2016-11-11 19:38:23 +03:00
Alexander Zobnin
afe2cfc7cf Fixed zabbixTemplateFormat() error. 2016-11-09 21:23:03 +03:00
Alexander Zobnin
cb5461a472 Tests: added tests for template variable query, issue #303. 2016-11-09 20:34:05 +03:00
Alexander Zobnin
f8419f04a9 Tests: added tests for template variables replacing. 2016-11-09 16:52:12 +03:00