Notification with Telegram

Hello everybody,
For me it is not about the notification not working. Rather, it is about the following topic.

I have the problem that my notifications would like to come too often, I would like to be informed about an alarm e.g. 1x per day. If you like the status changes as well.

But unfortunately I am informed about this situation every 2-5 minutes per service and that is a little too much for me.

I have the following configuration at the moment.

Notification.conf:

apply Notification “telegram-icingaadmin” to Host {
import “mail-host-notification”
command = “telegram-host-notification”
users = [ “XXX99Bot” ]
interval = 86400
assign where host.name
}

apply Notification “telegram-icingaadmin” to Service {
import “mail-service-notification”
command = “telegram-service-notification”
users = [ “XXX99Bot” ]
interval = 86400

assign where host.name
}

What I have read should you be able to set the interval value in the notification or does it only apply to the mail notification?

because I’ve already tried with 24H or 0 as a value but somehow I have the feeling that it has no effect.

It would be nice if someone could tell me how to adjust this.

Thank you and have a nice day.

hi

the docs here says for “interval”:

Optional. The notification interval (in seconds). This interval is used for active notifications. Defaults to 30 minutes. If set to 0, re-notifications are disabled.

A further link opens this and here is written:

If you prefer to be notified only once, you can disable re-notifications by setting the interval attribute to 0 .