target: '/etc/icinga2/conf.d/default-services.conf'
import:
- 'generic-service'
- check_command: 'check'
+ check_command: 'check_service_crond'
#_ppplugindir_
- command: "/opt/pixelpark-checks/check_service crond"
command_endpoint: 'host.name'
apply: true
assign:
- 'ipv4-or-ipv6'
command: '/opt/pixelpark-monitoring-checks/check_publicis_ad'
target: '/etc/icinga2/conf.d/pixelpark-monitoring-checks.conf'
+ 'check_service_crond':
+ import:
+ - 'ipv4-or-ipv6'
+ command: '/opt/pixelpark-monitoring-checks/check_service crond'
+ target: '/etc/icinga2/conf.d/pixelpark-monitoring-checks.conf'
infra::profile::icinga2::object::hostgroup:
'linux-servers':
target: '/etc/icinga2/conf.d/hostgroups.conf'