mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 08:28:34 +01:00
wip: monitoring master roles
This commit is contained in:
49
roles/monitoring-master/files/services_passive.conf
Normal file
49
roles/monitoring-master/files/services_passive.conf
Normal 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"
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
@@ -15,3 +15,11 @@
|
|||||||
src: send_nsca
|
src: send_nsca
|
||||||
dest: /bin/send_nsca
|
dest: /bin/send_nsca
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
|
- name: Copy icinga hosts conf
|
||||||
|
copy:
|
||||||
|
src: icinga_master_hosts.conf
|
||||||
|
dest: /etc/icinga2/conf.d/
|
||||||
|
owner: root
|
||||||
|
group: nagios
|
||||||
|
mode: 0640
|
||||||
|
|||||||
Reference in New Issue
Block a user