Text

OMD & Check_MK
(15 minutes crash course)

arturmartins@gmail.com
6th March 2014

!
Agenda
What is OMD?
What is Check_MK?
Data collection process
Deployment (OMD and Check_MK agent)
Demo
Recommendations
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
What is Check_MK?
Nagios add-on (Developed by Mathias Kettner)
Features:
Automatic Service-Detection
Rule-based, hierarchical configuration
High performance through passive checks
Creates Nagios configs for you :)
Data collection process
Install OMD (Debian/Ubuntu)

Add the official repo according to your distro

https://labs.consol.de/repo/stable/
aptitude update && aptitude install omd
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
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
Recommendations

Security! 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
References	
OMD:

http://omdistro.org

Check_MK project:

http://mathias-kettner.de/check_mk.html

Check_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
Questions?
“Thank you.”
—— Artur Martins
arturmartins@gmail.com

OMD and Check_mk