wip: monitoring master roles

This commit is contained in:
2022-12-28 15:49:17 +01:00
parent 544088bb79
commit 7a399ed41f
3 changed files with 72 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
apply Service "systemd" {
import "remote_passive"
assign where host.vars.remote
}
apply Service "disk-remote" {
import "remote_passive"
assign where host.vars.remote
}
apply Service "load-remote" {
import "remote_passive"
assign where host.vars.remote
}
apply Service "skillbird-plugin" {
import "remote_passive"
assign where host.name == "steam"
}
apply Service "insurgency-1" {
import "remote_passive"
assign where host.name == "steam"
}
apply Service "insurgency-2" {
import "remote_passive"
assign where host.name == "steam"
}
apply Service "irc" {
import "remote_passive"
assign where host.name == "irc"
}
apply Service "darknet-rudi" {
import "remote_passive"
assign where host.name == "vpn"
}
apply Service "darknet-hase" {
import "remote_passive"
assign where host.name == "vpn"
}
apply Service "darknet-routes" {
import "remote_passive"
assign where host.name == "vpn"
}

View File

@@ -0,0 +1,15 @@
apply Service "MAIL-postfix-tls" {
import "generic-service"
check_command = "ssl"
vars.ssl_address = "mail.atlantishq.de"
vars.ssl_port = "465"
assign where host.name == "mail"
}
apply Service "IMAP-dovecot-tls" {
import "generic-service"
check_command = "ssl"
vars.ssl_address = "mail.atlantishq.de"
vars.ssl_port = "993"
assign where host.name == "mail"
}

View File

@@ -15,3 +15,11 @@
src: send_nsca
dest: /bin/send_nsca
mode: 0755
- name: Copy icinga hosts conf
copy:
src: icinga_master_hosts.conf
dest: /etc/icinga2/conf.d/
owner: root
group: nagios
mode: 0640