omd and check_mk

14
Text OMD & Check_MK [email protected] 6th March 2014 (15 minutes crash course)

Upload: artur-martins

Post on 19-Jun-2015

1.588 views

Category:

Technology


4 download

DESCRIPTION

Quick introduction how to use OMD (Open Monitoring Distribution) and Nagios Addon check_mk

TRANSCRIPT

2. Agenda What is OMD? What is Check_MK? Data collection process Deployment (OMD and Check_MK agent) Demo Recommendations 3. What is OMD? Open Monitoring Distribution - http://omdistro.org/ Not a Linux distro, just a group of tools Features: multiple instances per host separate omd user per instance etc 4. What is Check_MK? Nagios add-on (Developed by Mathias Kettner) Features: Automatic Service-Detection Rule-based, hierarchical conguration High performance through passive checks Creates Nagios congs for you :) 5. Data collection process 6. Install OMD (Debian/Ubuntu)Add the ofcial repo according to your distro https://labs.consol.de/repo/stable/ aptitude update && aptitude install omd 7. Install Check_MK_agent Install super server aptitude install xinetd Install check_mk_agent dpkg -i check-mk-agent_1.2.4-2_all.deb verify if the TCP port 6556 is open netstat -tulp | grep 6556 8. Create OMD instance Create a OMD instance for a new environment omd create env_test Activate instance omd start env_test Access multisite http://omd/env_test/ - user:omdadmin pass:omd 9. RecommendationsSecurity! Install iptables and only accept the OMD server iptables -A INPUT -p tcp --dport 6556 -s X.X.X.X -j ACCEPT iptables -A INPUT -p tcp --dport 6556 -j DROP 10. References OMD: http://omdistro.orgCheck_MK project: http://mathias-kettner.de/check_mk.htmlCheck_mk with Nagios: http://www.onaxer.com/2010/10/21/check_mk-with-nagios/Code from this slides: https://github.com/arturmartins/omd-check_mk_starter 11. Questions? 12. Thank you. Artur Martins [email protected]