Commit Graph

51 Commits

Author SHA1 Message Date
FTBZ
a0f5fe4f37 feature: Added basic recurring maintenance for alerts #4480 2017-01-22 18:00:15 +00:00
Mickael Marchand
8352a3a000 fix: update any IP fields using inet6_ntop() #5207 2016-12-29 23:50:22 +00:00
Tony Murray
9a33464c52 refactor: Centralize includes and initialization (#4991) 2016-11-21 20:12:59 +00:00
Neil Lathwood
e1fac851f9 refactor: Update alert rules to generate sql query and store in db (#4748) 2016-10-15 00:29:55 +01:00
Neil Lathwood
eab4ae5ab5 Added more debug to alerting capture (#4727) 2016-10-13 20:14:02 -05:00
Neil Lathwood
8b68429a06 Tidy up alert output info for poller cli (#4578) 2016-09-25 10:01:58 -05:00
Tony Murray
9284bc60ff Update code in includes to be PSR-2 compliant (#4220)
refactor: Update code in /includes to be psr2 compliant #4220
2016-08-28 18:32:58 +01:00
laf
17d93182c1 Added check for empty emails 2016-07-28 20:28:23 +01:00
laf
0e197e96ec Added support for multiple emails 2016-07-26 22:29:04 +01:00
f0o
21a0a18055
Fixed Device-Groups for multiple entries and glue-expansion 2016-06-22 08:42:48 +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
Ultra2D
9773b3bade Tabs to spaces 2016-03-04 11:30:11 +01:00
f0o
702fa61458
Fix Math issue in rule generation 2016-03-02 17:08:45 +00:00
laf
7e483f6bd2 Added check if that value is set 2016-02-27 11:51:31 +00:00
laf
a028689095 Updated alerts query to change ip 2016-02-27 03:54:07 +00: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
b8bc52ce0c Removed distinct() from query as we limit by 1 anyway 2015-12-19 19:50:02 +00:00
f0o
ae3f893351
Remove now obsoleted naive glue-checks 2015-11-30 19:13:32 +00:00
f0o
b14d094d83
Fix Glue-Expansion on alerts 2015-11-30 18:51:22 +00:00
f0o
407afd022a
Add RegEx support to alert rules and device groups 2015-09-26 17:30:19 +00:00
Mark Schouten
4792879ce5 Remove all unneeded if($debug)-statements and replace them with d_echo in the rest of the directories... 2015-08-21 16:10:01 +02:00
laf
9925e35224 Couple more mysql strict fixes 2015-08-11 11:38:05 +00:00
Mike Rostermund
0cc3e1a9e2 Remove php closing tags to fix scrut issues 2015-08-04 19:29:43 +02:00
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
f0o
fe412952c1
Add config-option to exclude SysContact from alerts 2015-05-20 16:29:39 +00:00
f0o
1c0b1e9041
Honour SysContact-Override 2015-05-19 15:04:27 +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
543573d27c
Added Post-Formating fix for time-macros 2015-05-14 14:09:20 +00:00
f0o
6ab9b9727e
Make scrut happy 2015-05-07 20:05:47 +00:00
f0o
fadaffac21
Allow alerting on tables with relative/indirect glues.
This commit introduces a lookup using an adaption of left/right expansion searches to find a missing glue-column across several layers of relations.
You can now alert on data having a glue mapped to other entities as long as it resolves to 'device_id' in under 30 cycles.
First intention of usage is to alert on bill-usages.
The bills-table does not contain a valid 'device_id' glue and has to be resolved via 'bills.bill_id -> bill_ports.port_id -> ports.device_id'.
This example consumes 3+1 cycles.
2015-05-07 14:22:16 +00:00
f0o
a2c1ba27d6
Pre-Formatting rules to make parsing easier. 2015-04-28 13:49:53 +00:00
f0o
32a703c6ed
Fix invalid SQL generation on missing rule. Default to 'false' 2015-04-25 11:11:30 +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
c94784f3dd honour alert_rules.disabled 2015-04-12 14:37:26 +00:00
f0o
f535f27638 Fixed path issue 2015-04-08 09:23:33 +00:00
f0o
83b3208540 Use functions defined in authentication-modules to obtain contact-list 2015-04-05 12:50:38 +00:00
f0o
1ac5c92280 Fixed SQL bug 2015-04-04 13:33:19 +00:00
f0o
ba99eb25a2 Device-Groups Draft 2015-04-03 18:22:29 +00:00
laf
851a998954 Fixed array_unique key issue for alerts 2015-03-04 15:33:18 +00:00
f0o
fa86e9308d Added:
Follow-Up notifications when a situation betters/worsens
	Inverted Alerts
	Nested Control-tags
	Extended variable-scope for incidents
2015-01-25 21:39:33 +00:00
Paul Gear
e867d3f1df Merge branch 'alerting-dirty' of https://github.com/f0o/librenms into f0o-alerting-dirty 2014-12-21 12:56:29 +10:00
f0o
6ac4776623 Added:
Default Contact's Name (NOC)
2014-12-19 21:13:29 +00:00
f0o
fd93042fb4 Added:
Honouring `$config['alerts']['email']['default']` and `$config['alerts']['email']['default_only']`
2014-12-19 20:21:54 +00:00
f0o
7ec262760c Added:
Arithmetic support in rules
	Braces support in rules
	Changed wildcard character to '@'
2014-12-19 20:20:17 +00:00
laf
807fc9a3ba Alerts gui commit 2014-12-16 20:03:19 +00:00
f0o
aeccdbb942 Cleanup for Scrutinizer 2014-12-15 14:33:31 +00:00
f0o
c0e1d9cbc5 Added Alerting 2014-12-15 11:10:26 +00:00