Adding DHParam generation for IRC ssl_openssl
This commit is contained in:
parent
bef53d5889
commit
a2fecf9d64
@ -12,6 +12,21 @@
|
||||
- "/var/log/inspircd"
|
||||
- "/etc/inspircd"
|
||||
|
||||
- name: Generate dhparam
|
||||
become: yes
|
||||
command:
|
||||
cmd: openssl dhparam -out /etc/inspircd/dhparams.pem 2048
|
||||
creates: /etc/inspircd/dhparams.pem
|
||||
|
||||
- name: Permissions on dhparam
|
||||
become: yes
|
||||
file:
|
||||
state: file
|
||||
path: /etc/inspircd/dhparams.pem
|
||||
owner: ircd
|
||||
group: ircd
|
||||
mode: 0640
|
||||
|
||||
- name: Copy config and fill in attributes
|
||||
register: templatefiles
|
||||
become: yes
|
||||
|
8
roles/Sharingan/files/monit/checks/watcher-of-watchers
Normal file
8
roles/Sharingan/files/monit/checks/watcher-of-watchers
Normal file
@ -0,0 +1,8 @@
|
||||
check program graylog_remote with path "/usr/lib/monitoring-plugins/check_http -p 9000 sharingan.msn0.aninix.net"
|
||||
if status != 0 for 3 times within 5 cycles then exec "/usr/local/bin/ravensend -c #sharingan -m 'CRITICAL: Sharingan Graylog is not responding.'"
|
||||
|
||||
check program elasticsearch_remote with path "/usr/lib/monitoring-plugins/check_http -u /_cluster/health -p 9200 -s green sharingan.msn0.aninix.net"
|
||||
if status != 0 for 3 times within 5 cycles then exec "/usr/local/bin/ravensend -c #sharingan -m 'CRITICAL: Sharingan Elasticsearch is not responding.'"
|
||||
|
||||
check program dns_remote with path "/usr/lib/monitoring-plugins/check_dns -H 10.0.1.1 -s 10.0.1.2"
|
||||
if status != 0 for 3 times within 5 cycles then exec "/usr/local/bin/ravensend -c #sharingan -m 'CRITICAL: Nazara DNS is not responding.'"
|
@ -1,2 +1,3 @@
|
||||
include "/etc/monit.d/checks/system"
|
||||
include "/etc/monit.d/checks/watcher-of-watchers"
|
||||
include "/etc/monit.d/checks/warrant-canary"
|
||||
include "/etc/monit.d/checks/system"
|
||||
|
Loading…
Reference in New Issue
Block a user