Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sni/naemon-dev-box
https://github.com/sni/naemon-dev-box
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sni/naemon-dev-box
- Owner: sni
- Created: 2017-09-26T12:10:34.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-07T14:19:21.000Z (8 months ago)
- Last Synced: 2024-05-21T12:23:44.306Z (7 months ago)
- Language: Shell
- Size: 73.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Naemon Dev Box
Based on docker and docker-compose.
## Content
- OMD Labs Edition
- include mon site with prometheus monitoring and grafana dashboard
- include dev site with Naemon-core from git clone## Usage
You will need `docker` and `docker-compose`.
%> git clone [email protected]:sni/naemon-dev-box.git
%> cd naemon-dev-box
%> make clean
%> make prepare
%> make shell### OMD
There is a mon site created with the default omdadmin/omd user at:
https://192.168.99.99/mon/
This site is intented to monitor the dev site.
A site named dev will also be created which runs the Naemon-core with some
example checks.### Development
Naemon-core and Naemon-Livestatus will be cloned to /src and the dev
OMD site will be prepared to use those files.#### Build
Naemon and Naemon-Livestatus need to be build inside the docker container:[root@naemon-dev ~]# cd /src/naemon-core && ./autogen.sh && ./configure && make
[root@naemon-dev ~]# cd /src/naemon-livestatus && autoreconf -i && PKG_CONFIG_PATH=../naemon-core ./configure && make## Provisioning
The initial provisioning is done by a shell command which installs omd and the
repositories. Everything else is provisioned by ansible. You can rerun the
provisioning anytime by running this as root:#> bash /box/devbox/provision/ansible.sh