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'
+ notes: 'This checks, whether the mail queue contains mails'
+ 'ntp-status':
+ target: '/etc/icinga2/conf.d/default-services.conf'
+ import:
+ - 'generic-service'
+ check_command: 'ntp_peer'
+ vars:
+ 'ntp_peer_warning': 1
+ 'ntp_peer_critical': 5
+ 'ntp_peer_host': 'time.pixelpark.com'
+#_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 the time difference to time.pixelpark.com'
# 'disk':
# target: '/etc/icinga2/conf.d/default-services.conf'
# import: