sensu alerting addition
refactoring if statements