Notification: Pushover

Alle benötigten Scripte und Konfigurations-Dateien wurden hinzugefügt
This commit is contained in:
2020-01-13 11:22:31 +01:00
parent b437b5a160
commit 75a6779bb2
9 changed files with 463 additions and 51 deletions

View File

@@ -0,0 +1,46 @@
/*
#
# Beispielkonfiguration für Pushover
#
object Host "<Name>" {
import "generic-host"
display_name = "<DisplayName>"
address = "<IP-Adresse>"
vars.os = "<os>"
#Benachrichtigung via email
vars.notification["mail"] = {
groups = [ "icingaadmins" ]
}
//Benachrichtigung via Pushover
vars.notification["pushover"] = {
groups = [ "icingaadmins-pushover" ]
}
#Auf welchem Gerät soll die Meldung ausgegeben werden
#mehrer Devices: [ "device 1", "device 2" ]
vars.pushover_device = [ "<device>" ]
#Priorität der Pushover-Meldung (https://pushover.net/api#priority)
-2: Lowest Priority
-1: Low Priority
0: Normal Priority (default)
1: High Priority
2: Emergency Priority
vars.pushover_priority = "2"
#Wie oft (in Sekunden) wird der Pushover-Server die Nachricht senden
#Der Wert muss >= 30 sein
vars.pushover_retry = "30"
#Wie lange (in Sedkunden) soll der Retry-Prozess wiederholt werden
#Der wert muss muss kleiner-gleich 10800 sein (3Stunden)
vars.pushover_expire = "300"
}
*/