Nagios ssh check is automatically added by the ssh module and cantains a wrong hostname on single node setup
also, the ssh port is always 22
- [leap.example.wazokazi.is] err: /Stage[main]/Check_mk::Config/Exec[check_mk-refresh-inventory-daily]/returns: change from notrun to 0 failed: /bin/su -l -c '/usr/bin/check_mk -O' returned 1 instead of one of [0] at /srv/leap/puppet/modules/check_mk/manifests/config.pp:96 - [leap.example.wazokazi.is] notice: /Stage[main]/Nagios::Base/Service[nagios]: Dependency Exec[check_mk-refresh-inventory-daily] has failures: true - [leap.example.wazokazi.is] warning: /Stage[main]/Nagios::Base/Service[nagios]: Skipping because of failed dependencies - [leap.example.wazokazi.is] err: /Stage[main]/Nagios::Base/Service[nagios]: Failed to call refresh: Could not start Service[nagios]: Execution of '/etc/init.d/nagios3 start' returned 1: at /srv/leap/puppet/ modules/nagios/manifests/base.pp:15 - [leap.example.wazokazi.is] notice: Finished catalog run in 394.28 seconds - [leap.example.wazokazi.is] Puppet apply complete (changes and failures).
/etc/init.d/nagios3 restart … Error: Could not find any host matching 'leap.example.wazokazi.is' (config file '/etc/nagios3/conf.d/nagios_service.cfg', starting on line 4) …
from /etc/nagios3/conf.d/nagios_service.cfg:
define service { service_description ssh_port_22 host_name leap.example.wazokazi.is check_command check_ssh_port!22 use generic-service ## --PUPPET_NAME-- (called '_naginator_name' in the manifest) leap_ssh_port_22 }
from hiera.yaml:
domain: full: leap.example.wazokazi.is full_suffix: example.wazokazi.is internal: leap.example.i internal_suffix: example.i name: leap.example.wazokazi.is
in a single node setup, only check_mk is configured, together with the internal_suffix domain name.
(from redmine: created on 2014-08-19, closed on 2014-08-21)