repo::redhat::oel7::ol7_software_collections_enable: '1'
+# TODO:
+
+PixelparkPluginDir muss definiert und ersetzt werden an den Stellen, die mit _ppplugindir_ gemarkert sind
+
+# TODO END
+
# icinga2
infra::profile::icinga2::client::install_client: true
apply: true
assign:
- 'host.address'
- notes: 'Das ist ein SSH-Check'
+ notes: 'This is an SSH check'
'load':
target: '/etc/icinga2/conf.d/default-services.conf'
import:
apply: true
assign:
- 'host.address && host.name == dev-monitoring-client.pixelpark.com'
- notes: 'Das ist ein SSH-Check'
+ notes: 'This is a load check'
+ 'service-crond':
+ target: '/etc/icinga2/conf.d/default-services.conf'
+ import:
+ - 'generic-service'
+ check_command: 'check'
+#_ppplugindir_
+ command = [ "/opt/pixelpark-checks + "check_service", "crond" ]
+ command_endpoint: 'host.name'
+ apply: true
+ assign:
+ - 'host.address && host.name == dev-monitoring-client.pixelpark.com'
+ notes: 'This checks, whether crond exists, is enabled and is running'
# 'disk':
# target: '/etc/icinga2/conf.d/default-services.conf'
# import: