Skip to content

Commit

Permalink
add alertmanager loader
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Revin <[email protected]>
  • Loading branch information
nrvnrvn committed Sep 17, 2019
1 parent 9820bc9 commit c0794aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion elastalert/loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ class RulesLoader(object):
'servicenow': alerts.ServiceNowAlerter,
'alerta': alerts.AlertaAlerter,
'post': alerts.HTTPPostAlerter,
'hivealerter': alerts.HiveAlerter
'hivealerter': alerts.HiveAlerter,
'alertmanager': alerts.AlertmanagerAlerter
}

# A partial ordering of alert types. Relative order will be preserved in the resulting alerts list
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
'mock>=2.0.0',
'PyStaticConfiguration>=0.10.3',
'python-dateutil>=2.6.0,<2.7.0',
'PyYAML>=3.12',
'PyYAML>=5.1',
'requests>=2.10.0',
'stomp.py>=4.1.17',
'texttable>=0.8.8',
Expand Down

0 comments on commit c0794aa

Please sign in to comment.