README.md in sensu-plugins-opsgenie-4.1.0 vs README.md in sensu-plugins-opsgenie-4.1.1
- old
+ new
@@ -31,11 +31,11 @@
## Installation
[Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
## Configuration
-To get this to work you need to specify a few different things. For a list of fields that are required/available look at the [sensu documentation](https://sensuapp.org/docs/0.25/enterprise/integrations/opsgenie.html). These files need to be on the server and the client boxes. Once there restart sensu-server and sensu-api.
+To get this to work you need to specify a few different things. For a list of fields that are required/available look at the [sensu documentation](https://sensuapp.org/docs/0.25/enterprise/integrations/opsgenie.html). These files need to be on the server and the client boxes. Once there restart sensu-server and sensu-api.
- declare this as a handler: `/etc/sensu/conf.d/handler_opsgenie.json`
``` json
{
"handlers": {
@@ -45,11 +45,11 @@
}
},
"opsgenie": {
"customerKey": "YOUR-KEY-HERE"
}
-}
+}
```
- add it to the check: `/etc/sensu/conf.d/check_xxx.json`
``` json
{
@@ -61,10 +61,10 @@
"subscribers": [ "core" ]
}
}
}
```
-
+
- optionally add it to the default handler: `/etc/sensu/conf.d/default_handler.json`
``` json
{
"handlers": {
"default": {