bundles/postfix: use dig in check_spam_blocklist instead of a python library
All checks were successful
bundlewrap/pipeline/head This commit looks good

The library isn't available as a debian package, so we would have to
manually install that every time the python package updates its minor
version number.
This commit is contained in:
Franzi 2021-05-29 09:28:05 +02:00
parent d756e3daf8
commit 6b90d568cf
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 12 additions and 16 deletions

View file

@ -141,8 +141,6 @@ def icinga2(metadata):
services[f'SPAM BLOCKLIST {ip}'] = {
'command_on_monitored_host': f'/usr/local/share/icinga/plugins/check_spam_blocklist {ip}',
'vars.sshmon_timeout': 15,
'check_interval': '15m',
'retry_interval': '5m',
}
return {