Skip to content

Instantly share code, notes, and snippets.

@shockalotti
Last active August 29, 2015 14:01
Show Gist options
  • Save shockalotti/2b772582ad5f1e81ca31 to your computer and use it in GitHub Desktop.
Save shockalotti/2b772582ad5f1e81ca31 to your computer and use it in GitHub Desktop.
How to Install OMD & Nagios Server Monitor on Ubuntu
# How to Install OMD Nagios Server Monitor
### Install OMD on Monitoring Server
```
apt-get update
apt-get install gdebi
wget http://files.omdistro.org/releases/debian_ubuntu/omd-1.10_0.precise_amd64.deb
gdebi omd-1.10_0.precise_amd64.deb
```
### Apache Settings
```
a2enmod proxy_http
Include /opt/omd/apache/*.conf
/etc/init.d/apache2 restart
```
### Install Check_MK Agent on (each) server you want to monitor
```
apt-get install xinetd
wget http://mathias-kettner.de/download/check-mk-agent_1.2.4p2-2_all.deb
wget http://mathias-kettner.de/download/check-mk-agent-logwatch_1.2.4p2-2_all.deb
dpkg -i check-mk-agent_1.2.4p2-2_all.deb
dpkg -i check-mk-agent-logwatch_1.2.4p2-2_all.deb
dpkg -i check-mk-agent_1.2.4p2-2_all.deb
wget http://mathias-kettner.de/download/check-mk-agent_1.2.4p2-2_all.deb
/etc/init.d/xinetd restart
```
Test with:
```
telnet <host or IP> 6556
```
### Create a site and start OMD
```
omd create yoursitename
su - yoursitename
omd start yoursitename
```
From there you should be able to login to your OMD site by visiting the following URL
http://monitoringsite.com/yoursitename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment