Commit Graph

69 Commits

Author SHA1 Message Date
gcoeugnet
0e5f4f4861 Update alerts.php
Update to make canopsis transport works. Canopsis transport use AMQP PHP libraries which needs to be installed and included at the begining of the transport but PHP doesn't allow this include to occured in an anonyous function.
2016-03-29 15:34:39 +02:00
Robert Gornall
59ad5d06c4 Catch failed transports that don't return 'false'. Pass error message into event log. 2016-03-23 16:57:15 +00:00
Neil Lathwood
b8cdadaf04 Merge pull request #3148 from ekoyle/alert_template_transport
Alert template transport
2016-03-17 20:58:43 +00:00
Neil Lathwood
47b87e959e Merge pull request #3138 from f0o/minor-alerting-addons
Minor alerting addons
2016-03-08 21:00:37 +00:00
Eldon Koyle
94a182a396 Revert "Don't escape single quotes in alert templates so that we can compare strings in if statements"
This reverts commit 124afc2054.
2016-03-07 16:12:57 -07:00
Daniel Preussker
46bee4021f Changed else if to elseif 2016-03-04 16:25:51 +00:00
Daniel Preussker
29eea12b08 Scrut fixes 2016-03-04 14:36:47 +00:00
Ultra2D
9773b3bade Tabs to spaces 2016-03-04 11:30:11 +01:00
Eldon Koyle
124afc2054 Don't escape single quotes in alert templates so that we can compare strings in if statements 2016-03-03 11:02:17 -07:00
f0o
1dc99b83c5 Added %diff as placeholder for changed objects between worsens/betters
Added %elapsed in all cases
2016-03-02 16:53:53 +00:00
f0o
34e0146d8e Added {calc} operation to produce inline calculations in templates 2016-03-02 16:33:46 +00:00
Eldon Koyle
b34ee3932f Add transport to alert_template vars 2016-03-01 15:33:34 -07:00
Daniel Preussker
731e43bc66 Revert "[WIP] Sanity!" 2016-02-17 13:59:58 +00:00
f0o
21e94b3e3a Sanity! 2016-02-10 15:21:31 +00:00
laf
0558275414 Added verbose debugging, normal debugging will now try and mask certain information 2016-01-17 14:39:17 +00:00
f0o
bb112a97b0 HotFix remove empty transports with keys 2015-11-23 15:57:43 +00:00
laf
64180fa9a8 Added ability to globally disable sending alerts 2015-11-04 20:29:02 +00:00
f0o
38bd3cf763 fix a typo 2015-09-03 15:15:17 +01:00
Neil Lathwood
04bb652e06 Merge pull request #1817 from f0o/issue-1770
Only process followups if there are any results
2015-09-01 09:38:55 +01:00
f0o
a833d46d4d Add placehoders to custom titles 2015-08-30 18:02:29 +01:00
f0o
9057d48273 Fix default template assignment 2015-08-30 17:07:02 +01:00
f0o
ac7d0c9420 Added user defined titles for alert templates 2015-08-30 16:53:34 +01:00
f0o
867c83e9ac Fix Alert-Test Object. 2015-08-27 16:03:31 +01:00
f0o
f28103173b Only process followups if there are any results 2015-08-27 14:05:47 +01:00
f0o
ec6dc0fb40 Reformated eventlog messages to represent the state of the trigger 2015-08-13 20:37:05 +00:00
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
Neil Lathwood
8226e8b447 Merge pull request #1096 from laf/issue-1095-web
Added support for interval for alerting for WebUI
2015-06-20 01:56:08 +01:00
laf
1e34fb0753 Added f0os patch for using interval on alerts 2015-06-20 01:49:03 +01:00
f0o
b54dc288c3 Replace Alert-ID with Alert-Name/Rule in titles 2015-06-19 16:53:31 +00:00
f0o
b8666cb886 Log success or failure of an alert-transport 2015-06-15 18:14:12 +00:00
laf
6813c1face updated alert template mapping to own table 2015-06-15 11:13:19 +01:00
f0o
2467b11290 Merge branch 'issue-laf-110-new' of git://github.com/laf/librenms into laf-issue-laf-110-new
Conflicts:
	html/pages/health/mempool.inc.php
	includes/defaults.inc.php
2015-06-07 10:44:39 +00:00
James Campbell
f56c8c4425 Fixed indentation 2015-06-04 22:15:22 +10:00
James Campbell
45d7ff0a73 Added log_event for issued alerts 2015-06-04 22:13:45 +10:00
James Campbell
719c2bc63e Testing log_event for issued alerts 2015-06-04 21:55:26 +10:00
laf
5b57e75b2e Final work getting alerts dynconfig done 2015-05-28 17:00:26 +01:00
f0o
e242924fd8 Introduce config-switch to regather contacts before dispatch 2015-05-22 10:26:38 +00:00
f0o
4c10cb625b Honour 'Disable all alerting for this host'
Fixes some redundancy in macros (parentesis)
2015-05-18 10:23:55 +00:00
f0o
6624c17534 Allow a user-defined window to add tolerance to delay-values
This is to counter cronjob irregularities as they arent always executed on *:00 dead
2015-05-17 12:15:02 +00:00
f0o
5ab21f2b7b Send a single ACK notification 2015-05-14 14:38:16 +00:00
f0o
740e85a1ba Fix silly SQL bug 2015-05-07 19:56:05 +00:00
f0o
da624fa136 Added Macros in Alert-Rule syntax 2015-04-24 19:14:10 +00:00
f0o
ef25ed345d Allow notification to resume count/delay cycles after maintenance 2015-04-21 07:06:14 +00:00
f0o
a2e4a0dcff Honour new maintenance format (PR#835) 2015-04-20 17:55:41 +00:00
f0o
7b1e6655b4 Remove stale alerts if a map has been changed or the device does not match the group-criteria anymore 2015-04-04 17:13:22 +00:00
f0o
f7ba23ecf0 Check if alert-rule is disabled prior dispatch.
Fixes #490
2015-02-21 06:58:15 +00:00
f0o
632bf1231a Fix #474
Remove obsolete states for removed rules
2015-02-17 20:52:50 +00:00
f0o
e15a16d689 Ignore queued alerts if device changed to 'ignore' or 'disabled' after alert entered queue. 2015-01-31 11:06:11 +00:00
laf
d0aec7d23a Removed extra d from alert to match up with rest of ui 2015-01-31 11:06:11 +00:00
f0o
0ada4f129c Fix variable declaration 2015-01-26 08:13:41 +00:00