The relay.rb file should go in the handlers directory to be considered by Sensu.