After check_mk is integrated with icinga, all hosts are in the downservice status and the host is down. Carefully read the log: The first idodb service is not started: [plain] serviceido2dbstartserviceicingarestartserviceapache2restart visit the website. after the integration of... check_mk into icinga, all hosts are in the down service status and the host is down. Carefully read the log: The first idodb service is not started: [plain] service ido2db start service icinga restart service apache2 restart visit the website, and the host is still down. check the log again: [plain] [1368754991] error executing command '/usr/lib/nagios/plugins/check_icmp': No such file or directory. make sure that the file actually exists (in PATH, if set) and is executabl \ e! The correct check_icmp path is: [plain]/usr/local/icinga/libexec/check_icmp the check_mk installation script installs a file check_mk_templates.cfg to/usr/local/icinga/etc/conf. modify the configuration in the d/directory as follows: [plain] define command {command_name check-mk-ping # command_line/usr/lib/nagios/plugins/check_icmp $ ARG1 $ HOSTADDRESS $ command_line/usr/local/icinga/libexec/ check_icmp $ ARG1 $ HOSTADDRESS $} # Check for clusters: it is UP if at least one node is up define command {command_name check-mk-ping-cluster # command_line/usr/lib/nagios/plugins/check_icmp-m 1 $ ARG1 $ _ HOSTNODEIPS $ command_line/usr/local/icinga/libexec/check_icmp-m 1 $ ARG1 $ _ HOSTNODEIPS $} then restart icinga, everything is OK.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.