Commit Graph

342 Commits

Author SHA1 Message Date
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
Alexander Zobnin
a8079316d7 Update datemath mock to lodash 4. 2016-11-09 15:00:36 +03:00
Alexander Zobnin
68e2f5c9ae Merge branch 'master' into tests 2016-11-09 14:44:43 +03:00
Alexander Zobnin
2330a3ae08 Annotations: show host name as colored tag. 2016-11-07 23:30:58 +03:00
Alexander Zobnin
77e16b70a5 Refactor: removed trick with self and this. 2016-11-07 21:19:29 +03:00
Alexander Zobnin
912bf825e7 Fix for backward compatibility with lodash 2.4 (indexBy() => keyBy()). 2016-11-07 21:15:31 +03:00
Alexander Zobnin
ca97d392e9 Fixed annotation popup bug after lodash upgrade. 2016-11-07 21:14:40 +03:00
Alexander Zobnin
62509caeb9 Fixed annotations bug with time filtering, fixes #244. 2016-11-07 21:03:42 +03:00
Tom Zhang
e68adb0aec not show host name when only 1 host selected fix #261 2016-09-30 13:36:13 +09:30
Pedro Henrique Ribeiro Freitas
2a66cac230 new function percentil 2016-09-28 16:42:24 -03:00
Alexander Zobnin
65308375f4 Fixed linter warnings. 2016-09-27 20:28:18 +03:00
Alexander Zobnin
07ad717df4 Fix backward compatibility with lodash 2.4, fixes #279. 2016-09-27 20:15:05 +03:00
Alexander Zobnin
d4f5a100e7 Merge branch 'develop' 2016-09-24 14:02:49 +03:00