From 34b8fe84d597c3970525a6f11f6425786bb31fee Mon Sep 17 00:00:00 2001 From: Dominik Riva Date: Mon, 21 Mar 2022 17:52:19 +0100 Subject: [PATCH] Update 03-monitoring-basics.md Fix misleading statement: ``` types = [ Acknowledgement, Recovery ] ``` right after a Notification config block will not help as this will only work on a `User` object. --- doc/03-monitoring-basics.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/03-monitoring-basics.md b/doc/03-monitoring-basics.md index 342442cfb..d5b1577c9 100644 --- a/doc/03-monitoring-basics.md +++ b/doc/03-monitoring-basics.md @@ -1572,12 +1572,18 @@ send notifications to all group members. > Only users who have been notified of a problem before (`Warning`, `Critical`, `Unknown` states for services, `Down` for hosts) will receive `Recovery` notifications. -Icinga 2 v2.10 allows you to configure `Acknowledgement` and/or `Recovery` +Icinga 2 v2.10 allows you to configure a `User` object with `Acknowledgement` and/or `Recovery` without a `Problem` notification. These notifications will be sent without any problem notifications beforehand, and can be used for e.g. ticket systems. ``` +object User "ticketadmin" { + display_name = "Ticket Admin" + enable_notifications = true + states = [ OK, Warning, Critical ] types = [ Acknowledgement, Recovery ] + email = "ticket@localhost" +} ``` ### Notifications: Users from Host/Service