mirror of https://github.com/caronc/apprise
Updated Notify_opsgenie (markdown)
parent
e7f2365b25
commit
8ca6f40e51
|
@ -43,8 +43,25 @@ You can also mix/match the targets:
|
|||
#### Example
|
||||
Send a Opsgenie notification to all devices associated with a project:
|
||||
```bash
|
||||
# Assume:
|
||||
# - our {apikey} is a6k4ABnck26hDh8AA3EDHoOVdDEUlw3nty
|
||||
# Assuming our {apikey} is a6k4ABnck26hDh8AA3EDHoOVdDEUlw3nty
|
||||
apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
||||
opsgenie://a6k4ABnck26hDh8AA3EDHoOVdDEUlw3nty
|
||||
```
|
||||
|
||||
### Include Details (Key/Value Pairs)
|
||||
Opsgenie allows you to provide details composed of key/value pairs you can set with messages. This can be accomplished by just sticking a plus symbol (**+**) in front of any parameter you specify on your URL string.
|
||||
```bash
|
||||
# Below would set the key/value pair of foo=bar:
|
||||
# Assuming our {apikey} is a6k4ABnck26hDh8AA3EDHoOVdDEUlw3nty
|
||||
apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
||||
"opsgenie://a6k4ABnck26hDh8AA3EDHoOVdDEUlw3nty/?+foo=bar"
|
||||
|
||||
# Multiple key/value pairs just require more entries:
|
||||
# Below would set the key/value pairs of:
|
||||
# foo=bar
|
||||
# apprise=awesome
|
||||
#
|
||||
# Assuming our {apikey} is a6k4ABnck26hDh8AA3EDHoOVdDEUlw3nty
|
||||
apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
||||
"opsgenie://a6k4ABnck26hDh8AA3EDHoOVdDEUlw3nty/?+foo=bar&+apprise=awesome"
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue