icinga2: disable sms for some hosts

This commit is contained in:
Franzi 2020-11-30 06:54:50 +01:00
parent 67d8293201
commit 9850a27ee2
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 9 additions and 3 deletions

View file

@ -57,6 +57,9 @@ groups['home'] = {
# 'nameservers': { # 'nameservers': {
# '172.19.138.1', # '172.19.138.1',
# }, # },
'icinga_options': {
'vars.notification.sms': False,
},
'postfix': { 'postfix': {
# It's fine to do this without authentificating to the relayhost. # It's fine to do this without authentificating to the relayhost.
# These Systems are not supposed to send mail anywhere else # These Systems are not supposed to send mail anywhere else

View file

@ -28,6 +28,9 @@ nodes['htz-cloud.luther'] = {
'cron': { 'cron': {
'luther-ps': vault.decrypt('encrypt$gAAAAABfnUqTXXpUYCA2DxllTKgbKg6YguCBbguJ0rerFGi9UNxEuTO6eqReqraS9FzNmLl81S_20bYwXM5W8pNwV5I5i6BVz1M37TxdsMCAxMG-9G0ZHFXeE4K5a4MWxuyYkrVPtK_hNFOciwxDDwPYT8tH_Jahdqmr8fZcCcsICzsSOxycn89VEm2ODnfH24Azrj6mVq5cPMc_xkdWnn-dSMCvPXpjjg==').format_into('*/10 * * * * www-data /usr/bin/curl -s {}'), 'luther-ps': vault.decrypt('encrypt$gAAAAABfnUqTXXpUYCA2DxllTKgbKg6YguCBbguJ0rerFGi9UNxEuTO6eqReqraS9FzNmLl81S_20bYwXM5W8pNwV5I5i6BVz1M37TxdsMCAxMG-9G0ZHFXeE4K5a4MWxuyYkrVPtK_hNFOciwxDDwPYT8tH_Jahdqmr8fZcCcsICzsSOxycn89VEm2ODnfH24Azrj6mVq5cPMc_xkdWnn-dSMCvPXpjjg==').format_into('*/10 * * * * www-data /usr/bin/curl -s {}'),
}, },
'icinga_options': {
'vars.notification.sms': False,
},
'nginx': { 'nginx': {
'vhosts': { 'vhosts': {
'luther-ps': { 'luther-ps': {

View file

@ -10,9 +10,6 @@ nodes['htz-cloud.sewfile'] = {
'webserver', 'webserver',
}, },
'metadata': { 'metadata': {
'icinga_options': {
'vars.notification.sms': False,
},
'interfaces': { 'interfaces': {
'eth0': { 'eth0': {
'ips': { 'ips': {
@ -28,6 +25,9 @@ nodes['htz-cloud.sewfile'] = {
'/mnt/seafile-data', '/mnt/seafile-data',
}, },
}, },
'icinga_options': {
'vars.notification.sms': False,
},
'nginx': { 'nginx': {
'vhosts': { 'vhosts': {
'sewfile.franzi.business': { 'sewfile.franzi.business': {