Skip to content

Instantly share code, notes, and snippets.

@mm53bar
Created April 26, 2012 16:11
Show Gist options
  • Save mm53bar/2500646 to your computer and use it in GitHub Desktop.
Save mm53bar/2500646 to your computer and use it in GitHub Desktop.
Testing the Scoutapp.com webhook method for submitting messages to Hubot
curl -X POST -d 'payload={"id": 999999, "time": "2012-03-05T15:36:51Z", "server_name": "Blade", "server_hostname": "blade", "lifecycle": "start", "title": "Last minute met or exceeded 3.00 , increasing to 3.50 at 01:06AM", "plugin_name": "Load Average", "metric_name": "last_minute", "metric_value": 3.5, "severity": "warning", "url": "https://scoutapp.com/a/999999"}' http://HOSTNAME/hubot/scoutapp/ROOM_NUMBER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment