Notification: Pushover
Alle benötigten Scripte und Konfigurations-Dateien wurden hinzugefügt
This commit is contained in:
46
notification/pushover/hosts/PushoverSampleConfig.conf
Normal file
46
notification/pushover/hosts/PushoverSampleConfig.conf
Normal 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"
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user