47 lines
1021 B
Plaintext
47 lines
1021 B
Plaintext
|
/*
|
||
|
#
|
||
|
# 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"
|
||
|
}
|
||
|
*/
|
||
|
|
||
|
|