Skip to content

sni/naemon-dev-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 git@github.com: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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published