Last active
May 3, 2018 14:13
-
-
Save arcaneshabang/976f178a28c7f3c5f3abb135aba64519 to your computer and use it in GitHub Desktop.
Raspi Monitoring
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - optional: get fresh raspbian mini | |
| -- source: https://www.raspberrypi.org/downloads/raspbian/ | |
| - optional: convenient linux-addons: | |
| apt install mlocate | |
| alias ll='ls -lattr' | |
| - mandatory: Prepare OMD repository: | |
| -- source: https://labs.consol.de/omd/#installation | |
| wget -q "https://labs.consol.de/repo/stable/RPM-GPG-KEY" -O - | sudo apt-key add - | |
| echo "deb http://labs.consol.de/repo/stable/debian $(lsb_release -cs) main" > /etc/apt/sources.list.d/labs-consol-stable.list | |
| apt-get update | |
| - mandatory: install omd-labs-edition | |
| apt-get install omd-labs-edition | |
| - mandatory: configure OMD | |
| -- optional(?): omd setup | |
| -- create a site: | |
| omd create minimon | |
| -- configure minimon | |
| omd config minimon | |
| ---> optional but recommended: set backend to nagios | |
| -- start the site | |
| omd start minimon | |
| - optional: access minimon site | |
| -- source: https://[hostname]/minimon | |
| -- credentials: omdadmin omd | |
| - add check_mk frontend | |
| apt install check-mk-server libapache2-mod-python | |
| systemctl restart apache2 | |
| - optional: access the minimon/check_mk frontend | |
| -- source: https://[hostname]/minimon | |
| -- credentials: omdadmin omd | |
| - optional: install + activate the agent | |
| -- source: https://mathias-kettner.de/checkmk_linuxagent.html | |
| apt install check-mk-agent snmpd | |
| vi /etc/xinetd.d/check_mk | |
| -> set disable = no | |
| /etc/init.d/xinetd restart | |
| systemctl xidetd start | |
| systemctl xidetd enable | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment