cantino/huginn — pull request #335 by viable-hartman (2014-05-23 00:05:06+00:00)
Title: Initial commit of stashboard publish agent

Stashboard is a simple service status page that can be hosted in Google App Engine and found here: http://www.stashboard.org

This Agent allows you to automatically update existing statuses and or create new services and statuses for your implementation of Stashboard.

You will need to add the following as Huginn credentials for the agent to work properly:

```
stashboard_oauth_url https://.appspot.com/admin
stashboard_oauth_token YOUR SB KEY
stashboard_oauth_token_secret YOUR SB SECRET
```

Once your Stashboard is setup you can feed this publisher with events that look like the following to trigger updates:

```
{
"service": "JIRA",
"status": "down",
"message": "Things are broken!"
}
```

Or if you would like to allow dynamic service and status creation for incoming events:

```
{
"service": "NewService",
"status": "Maintenance",
"message": "I am an alert message!",
"addifnodef": true,
"svcdesc": "If I don't exist this should be my new service description!",
"statlevel": "WARNING",
"statdesc": "If I don't exist this should be my new status description!",
"statimage": "traffic-cone"
}
```