OMD and Check_mk

3,897 views

Published on

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

Published in: Technology

OMD and Check_mk

  1. 1. Text OMD & Check_MK (15 minutes crash course) arturmartins@gmail.com 6th March 2014 !
  2. 2. Agenda What is OMD? What is Check_MK? Data collection process Deployment (OMD and Check_MK agent) Demo Recommendations
  3. 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. 4. 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 :)
  5. 5. Data collection process
  6. 6. Install OMD (Debian/Ubuntu) Add the official repo according to your distro
 https://labs.consol.de/repo/stable/ aptitude update && aptitude install omd
  7. 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. 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. 9. 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
  10. 10. 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
  11. 11. Questions?
  12. 12. “Thank you.” —— Artur Martins arturmartins@gmail.com

×