Yelp / sensu_handlers

Custom Sensu Handlers to support a multi-tenant environment, allowing checks themselves to emit the type of handler behavior they need in the event json
Apache License 2.0
75 stars 31 forks source link

fix filter_repeated': divided by 0 #51

Closed fessyfoo closed 9 years ago

fessyfoo commented 9 years ago

if realert_every is somehow not set it caued a divide by zero error. because nil.to_i is 0 and 0 || 1 is 0. [ruby is not shell]

solarkennedy commented 9 years ago

Whoa! Thanks!