mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 09:18:33 +01:00
add: michy server monitoring
This commit is contained in:
52
roles/monitoring-master/files/michy-ese-server.conf
Normal file
52
roles/monitoring-master/files/michy-ese-server.conf
Normal file
@@ -0,0 +1,52 @@
|
||||
object Host "esports-erlangen.de" {
|
||||
|
||||
import "generic-host"
|
||||
|
||||
address = "esports-erlangen.de"
|
||||
name = "esports-erlangen.de"
|
||||
check_command = "hostalive4"
|
||||
vars.linux = "true"
|
||||
|
||||
|
||||
max_check_attempts = 5
|
||||
retry_interval = 1m
|
||||
|
||||
vars.notification["mail"] = {
|
||||
groups = ["ese"]
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
apply Service "dovecot-imap-tls-993" {
|
||||
import "generic-service"
|
||||
check_command = "ssl"
|
||||
vars.host = host.address
|
||||
vars.port = 993
|
||||
assign where host.name == "esports-erlangen.de"
|
||||
}
|
||||
|
||||
apply Service "postfix-smtp-25" {
|
||||
import "generic-service"
|
||||
check_command = "smtp"
|
||||
vars.host = host.address
|
||||
vars.protocol = "smtp"
|
||||
vars.port = 25
|
||||
assign where host.name == "esports-erlangen.de"
|
||||
}
|
||||
|
||||
apply Service "postfix-smtp-starttls-25" {
|
||||
import "generic-service"
|
||||
check_command = "ssl"
|
||||
vars.host = host.address
|
||||
vars.protocol = "smtp"
|
||||
vars.port = 25
|
||||
assign where host.name == "esports-erlangen.de"
|
||||
}
|
||||
|
||||
apply Service "website-http" {
|
||||
import "generic-service"
|
||||
check_command = "http"
|
||||
vars.host = "www.esports-erlangen.de"
|
||||
vars.ssl = true
|
||||
assign where host.name == "esports-erlangen.de"
|
||||
}
|
||||
Reference in New Issue
Block a user