assign:
- 'host.address && (host.name == dev-monitoring-client.pixelpark.com || host.name == dev-monitoring.pixelpark.com)'
notes: 'This checks, whether crond exists, is enabled and is running'
+ 'systemd-status':
+ target: '/etc/icinga2/conf.d/default-services.conf'
+ import:
+ - 'generic-service'
+ check_command: 'check_systemd'
+#_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, what systemd thinks of the overall system state'
# 'disk':
# target: '/etc/icinga2/conf.d/default-services.conf'
# import:
- 'ipv4-or-ipv6'
command: '/opt/pixelpark-monitoring-checks/check_service crond'
target: '/etc/icinga2/conf.d/pixelpark-monitoring-checkcommands.conf'
+ 'check_systemd':
+ import:
+ - 'ipv4-or-ipv6'
+ command: '/opt/pixelpark-monitoring-checks/check_systemd'
+ target: '/etc/icinga2/conf.d/pixelpark-monitoring-checkcommands.conf'
infra::profile::icinga2::object::hostgroup:
'linux-servers':