Skip to content

Commit

Permalink
add ansible events to settings
Browse files Browse the repository at this point in the history
  • Loading branch information
durandom committed Jan 13, 2017
1 parent 9c43104 commit 9e8622c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module ManageIQ::Providers::AnsibleTower::ConfigurationManager::EventParser
def self.event_to_hash(event, ems_id)
{
:event_type => event.operation,
:event_type => "ansible_tower_#{event.operation}",
:source => "ANSIBLE_TOWER",
:message => event.changes.to_s,
:timestamp => event.timestamp,
Expand Down
4 changes: 4 additions & 0 deletions config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@
:name: Application
:configuration:
:critical:
- ansible_tower_create
- ansible_tower_update
- ansible_tower_delete
- ansible_tower_associate
- ClusterReconfiguredEvent
- EnterMaintenanceMode_Task_Complete
- ExitMaintenanceMode_Task_Complete
Expand Down

0 comments on commit 9e8622c

Please sign in to comment.