Changeset View
Changeset View
Standalone View
Standalone View
site-modules/profile/manifests/icinga2/objects/static_checks.pp
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | class profile::icinga2::objects::static_checks { | ||||
} | } | ||||
::icinga2::object::checkcommand {'check_escluster': | ::icinga2::object::checkcommand {'check_escluster': | ||||
import => ['plugin-check-command'], | import => ['plugin-check-command'], | ||||
command => '/usr/lib/nagios/plugins/icinga_check_elasticsearch.sh', | command => '/usr/lib/nagios/plugins/icinga_check_elasticsearch.sh', | ||||
target => $checks_file, | target => $checks_file, | ||||
} | } | ||||
::icinga2::object::checkcommand {'check_logstash_errors.sh': | |||||
import => ['plugin-check-command'], | |||||
command => '/usr/lib/nagios/plugins/icinga_check_logstash.sh', | |||||
target => $checks_file, | |||||
} | |||||
::icinga2::object::host {'DNS resolvers': | ::icinga2::object::host {'DNS resolvers': | ||||
check_command => 'dummy', | check_command => 'dummy', | ||||
address => '127.0.0.1', | address => '127.0.0.1', | ||||
target => $checks_file, | target => $checks_file, | ||||
vars => { | vars => { | ||||
dummy_state => 0, # up | dummy_state => 0, # up | ||||
dummy_text => "virtual host for clustered checks", | dummy_text => "virtual host for clustered checks", | ||||
}, | }, | ||||
Show All 17 Lines |