import:
- 'generic-service'
check_command: 'check_service_postfix'
+#_ppplugindir_
+ command_endpoint: 'host.name'
+ apply: true
+ assign:
+ - 'host.address && (host.name == dev-monitoring-client.pixelpark.com || host.name == dev-monitoring.pixelpark.com)'
+ notes: 'This checks, whether the postfix unit exists, is enabled and is running'
+ 'postfix-queue-status':
+ target: '/etc/icinga2/conf.d/default-services.conf'
+ import:
+ - 'generic-service'
+ check_command: 'mailq'
+ vars:
+ 'warning': 1
+ 'critical': 5
#_ppplugindir_
command_endpoint: 'host.name'
apply: true