Monitoring with OMD (with Nagios Core) on Debian 7 Wheezy
As Centreon (my favourite monitoring tool with nagios core) still does not support PHP 5.4+ and my boxes are now on Debian 7 (with PHP 5.4) and I didn’t want to downgrade to PHP 5.3 (for various reasons), I’ve searched for an alternative frontend for nagios. Well, I’ve found a lot but only to mention a few here: Nagios XI (free for small environments => max. 7 hosts, oh come on, with vms on the run, really way too few), Adagios (looks nice and clean) and finally OMD which got me with its easy setup on debian 7.
I. Server setup
Let’s go:
1. Debian 7 minimal installation.
2. First step is to import the gpg key for the OMD repository. This step has to be done only once.
gpg --keyserver keys.gnupg.net --recv-keys F8C1CA08A57B9ED7
gpg --armor --export F8C1CA08A57B9ED7 | apt-key add -
3. Add the repository to your sources list:
echo 'deb http://labs.consol.de/repo/stable/debian wheezy main' >> /etc/apt/sources.list
apt-get update
Check the OMD package with
apt-cache search omd
You’ll see something like this:
..
omd - Open Source Monitoring Distribution
omd-1.10 - Open Source Monitoring Distribution, containing Nagios,
4. Install OMD
apt-get install omd
5. Choose a MySQL root password
6. Add a site to OMD
omd create mysite
7. Start OMD
omd start
check the web frontend http://myhost/mysite The default web user is omdadmin with password omd
8. Choose your favourite GUI (CHECK_MK recommended), you may set this one as standard (see welcome page bottom)
II. Agent setup
In order to use the new check_mk agent on your monitored hosts you’ll need to
1. Install agent packages on your monitored host
apt-get install xinetd check-mk-agent check-mk-agent-logwatch
2. Enable xinetd configuration:
nano /etc/xinetd.d/check_mk
add your monitor server ip address to only_from and enable the check by setting disable = no
3. Restart xinetd
/etc/init.d/xinetd restart
Now you’re able to add the services from your monitored host.
4 Comments to Monitoring with OMD (with Nagios Core) on Debian 7 Wheezy
Hi there!
Great and simple tutorial, thanks!
Does nagios-core need to be installed before?
November 4, 2014
No, this is a tutorial starting with a clean Debian 7 minimal installation 😉
January 21, 2015
Thanks Dennis, followed to a T (wiped partions and started over) and it works.
Now just need to know how to use it for a home network data usage monitoring station. 🙂
January 21, 2015
Want to find out who’s being a hog.
Leave a comment
About Dennis D. Spreen
Search
Recent Posts
- How to compile Lua 5.4.0 for Android as a dynamic library using Android Studio 4
- Please make inline vars usable for production – fix RSP-28892
- How to compile Lua 5.4.0 as a Mac OS X dynamic library
- How to compile Lua 5.4.0 for Linux as a shared library
- How to compile Lua 5.4.0 for Windows
- Daily Wage – a Spigot/Bukkit plugin that pays out a daily wage
- How to compile Lua 5.3.5 for Windows
- Better Collada exporter for Blender with custom properties
- MOS6502-delphi – a MOS 6502 CPU emulator for Delphi
- Pass a multidimensional array as a parameter (with a hidden caveat)
Categories
Tags
Archives
- May 2020
- March 2020
- June 2019
- March 2017
- August 2016
- July 2016
- June 2016
- January 2016
- September 2015
- February 2015
- January 2015
- October 2014
- September 2014
- August 2014
- May 2014
- March 2014
- February 2014
- November 2011
- June 2011
- February 2011
- March 2010
- September 2009
- August 2009
- July 2009
- May 2009
- March 2009
- February 2009
- January 2009
- November 2008
- October 2008
- February 2008
- June 2007
Delphi Feeds
- SVG loading (rendering, conversion) in Castle Game Engine thanks to FPC 3.3.1 November 21, 2026
- ANN: kbmMW 5.25.00 expands connectivity and improves performance across the framework November 21, 2026
- ANN: MiTeC System Information VCL Suite November 20, 2026
- Using the TPM for application integrity and licensing: what it can and cannot do November 20, 2026
- ANN: kbmMemTable 8.25.00 brings full-text search, faster lookups and transaction journaling November 20, 2026
- Access to SQL Server Migration in C# and .NET: Preserving Data Access Code November 20, 2026
- Perpetuum mobile — от точки на карте до собственного картографического движка November 20, 2026
- Introducing Campfire November 19, 2026
- AI-Powered Cybersecurity for Custom Legacy Software: Risks and Protection Without Source Code November 19, 2026
- measX: Advancing Measurement and Test Data Analysis with TeeChart November 19, 2026


October 31, 2014