Update README.md

This commit is contained in:
Marianne Spiller 2020-04-12 11:34:32 +02:00 committed by GitHub
parent 9e49e76e5c
commit d7cdc5c0a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -63,6 +63,8 @@ apply Notification "Host by Telegram" to Host {
```
#### Example Command Definitions
<details>
<summary>object NotificationCommand "Notify Host By Telegram"</summary>
```ini
object NotificationCommand "Notify Host By Telegram" {
@ -115,6 +117,11 @@ object NotificationCommand "Notify Host By Telegram" {
}
```
</details>
<details>
<summary>object NotificationCommand "Notify Service By Telegram"</summary>
```ini
object NotificationCommand "Notify Service By Telegram" {
import "plugin-notification-command"
@ -173,6 +180,9 @@ object NotificationCommand "Notify Service By Telegram" {
}
}
```
</details>
#### Example Director config
![Icinga Director Config](img/Telegram_Notification_in_Icinga_Director.jpg)