assign:
- 'host.address && (host.name == dev-monitoring-client.pixelpark.com || host.name == dev-monitoring.pixelpark.com)'
notes: 'This is a load check'
- 'service-crond':
+ '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'
+ 'crond-service-status':
target: '/etc/icinga2/conf.d/default-services.conf'
import:
- 'generic-service'
apply: true
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':
+ notes: 'This checks, whether the crond unit exists, is enabled and is running'
+ 'rsyslogd-service-status':
target: '/etc/icinga2/conf.d/default-services.conf'
import:
- 'generic-service'
- check_command: 'check_systemd'
+ check_command: 'check_rsyslogd'
#_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'
+ notes: 'This checks, whether the rsyslogd unit exists, is enabled and is running'
+ 'postfix-service-status':
+ target: '/etc/icinga2/conf.d/default-services.conf'
+ import:
+ - 'generic-service'
+ check_command: 'check_postfix'
+#_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, whether the rsyslogd unit exists, is enabled and is running'
# '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_service_rsyslogd':
+ import:
+ - 'ipv4-or-ipv6'
+ command: '/opt/pixelpark-monitoring-checks/check_service rsyslogd'
+ target: '/etc/icinga2/conf.d/pixelpark-monitoring-checkcommands.conf'
+ 'check_service_postfix':
+ import:
+ - 'ipv4-or-ipv6'
+ command: '/opt/pixelpark-monitoring-checks/check_service postfix'
+ target: '/etc/icinga2/conf.d/pixelpark-monitoring-checkcommands.conf'
'check_systemd':
import:
- 'ipv4-or-ipv6'