Permalink
Browse files

Add PagerDuty plugin options to Healh Monitor release cookbook

Change-Id: I055c448ba21b45df017139b349f27ec17a517e37
  • Loading branch information...
1 parent 7034269 commit 8bc871d3c06b0b227487b6c4e1212a788a7041a6 @frodenas frodenas committed Jun 16, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 release/cookbooks/health_monitor/templates/default/health_monitor.yml.erb
@@ -70,3 +70,12 @@ plugins:
host: <%= node[:health_monitor][:tsdb][:host] %>
port: <%= node[:health_monitor][:tsdb][:port] %>
<% end %>
+
+ <% if node[:health_monitor][:pagerduty_enabled] %>
+ - name: pagerduty
+ events:
+ - alert
+ options:
+ service_key: <%= node[:health_monitor][:pagerduty][:service_key] %>
+ http_proxy: <%= node[:health_monitor][:pagerduty][:http_proxy] %>
+ <% end %>

0 comments on commit 8bc871d

Please sign in to comment.