assign:
- 'host.address && (host.name == dev-monitoring-client.pixelpark.com || host.name == dev-monitoring.pixelpark.com)'
notes: 'This checks, whether the mail queue contains mails'
- 'ntp-status':
+ 'ntp-offset':
target: '/etc/icinga2/conf.d/default-services.conf'
import:
- 'generic-service'
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'
+ 'swap':
+ target: '/etc/icinga2/conf.d/default-services.conf'
+ import:
+ - 'generic-service'
+ check_command: 'ntp_peer'
+ vars:
+ 'swap_wfree': '20%'
+ 'swap_cfree': '10%'
+#_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 for free SWAP space'
# 'disk':
# target: '/etc/icinga2/conf.d/default-services.conf'
# import: