Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cards #2

Merged
merged 21 commits into from
Nov 22, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix lint errors w/ readme
  • Loading branch information
johntdyer committed Nov 22, 2019
commit 9fb8b29701672e2c543d1d8cf3ff61ab7c5fbfe9
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ Download the latest version of the sensu-webex-handler from [releases][2],
or create an executable script from this source.

From the local path of the webex-handler repository:
```

```go
go build -o /usr/local/bin/sensu-webex-handler main.go template.go
```

Expand Down Expand Up @@ -70,7 +71,7 @@ Example Sensu Go check definition:

Help:

```
```shell
The Sensu Go Webex Teams handler for event forwarding

Usage:
Expand All @@ -87,4 +88,4 @@ Flags:
[1]: https://docs.sensu.io/sensu-go/5.0/reference/handlers/#how-do-sensu-handlers-work
[2]: https://github.com/johntdyer/sensu-webex-handler/releases
[3]: https://github.com/sensu/sensu-slack-handler
[4]: https://developer.webex.com
[4]: https://developer.webex.com
13 changes: 1 addition & 12 deletions contrib/example-critical.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,30 +65,19 @@
},
"check": {
"check_hooks": null,
"duration": 1.903135228,
"executed": 1522100915,
"high_flap_threshold": 0,
"history": [{
"executed": 1522100315
},
{
"executed": 1522100915
}
],
"command": "http_check.sh http://localhost:80",
"handlers": [
"slack"
],
"high_flap_threshold": 0,
"interval": 20,
"low_flap_threshold": 0,
"low_flap_theshold": 0,
"publish": true,
"runtime_assets": [],
"subscriptions": [
"testing"
],
"proxy_entity_name": "",
"check_hooks": null,
"stdin": false,
"ttl": 0,
"timeout": 0,
Expand Down