bundlespostfix: unit has changed since debian trixie

This commit is contained in:
Franzi 2025-03-29 18:10:13 +01:00
parent 61d60b7882
commit da7928d0e6
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -14,7 +14,7 @@ defaults = {
'postfix': {
'services': {
'POSTFIX PROCESS': {
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_systemd_unit postfix@-',
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_systemd_unit postfix' + ('' if node.os_version >= (13,) else '@-'),
},
'POSTFIX QUEUE': {
'command_on_monitored_host': 'sudo /usr/local/share/icinga/plugins/check_postfix_queue -w 20 -c 40 -d 50',