Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/neikei/check_mk-testing-environment

Check_MK Raw Edition testing environment in a Vagrantbox based on Debian and provisioned with Ansible.
https://github.com/neikei/check_mk-testing-environment

ansible checkmk debian monitoring playground testing vagrantbox

Last synced: 11 days ago
JSON representation

Check_MK Raw Edition testing environment in a Vagrantbox based on Debian and provisioned with Ansible.

Awesome Lists containing this project

README

        

# checkmk-testing-environment

[Check_MK](https://mathias-kettner.com/check_mk.html) testing environment in a Vagrantbox based on Debian and provisioned with Ansible.

## Requirements

- Virtualbox >= 5.2.8
- Vagrant >= 2.0.1
- Vagrant Plugins:
- vagrant plugin install vagrant-hostmanager
- vagrant plugin install vagrant-vbguest

## Getting started

1. git clone https://github.com/neikei/check_mk-testing-environment.git
2. cd check_mk-testing-environment
3. vagrant up
4. ... wait ...
5. Open Check_MK in your web browser: http://checkmk.test/test/

## Initial credentials

The initial credentials are required for the access to the Check_MK Web GUI and shown during the provisoning.

```bash
TASK [checkmk : Get Web GUI credentials] ***************************************
changed: [default]

TASK [checkmk : Web GUI credentials] *******************************************
ok: [default] => {
"msg": "User=cmkadmin // Password=0LeNjwjE"
}

PLAY RECAP *********************************************************************
default : ok=21 changed=16 unreachable=0 failed=0
```

## Local testing

A local Check_MK agent is installed. So, you can start with monitoring "127.0.0.1" to test the functionality.

- Click on "Setup" -> "Hosts" -> "Create new host"
- Fill in "Hostname" in "Basic Settings" and set "IPv4 Address" to "127.0.0.1" in "Network Address"
- Click on "Save & Go to service configuration"
- Wait for the "Full Service Scan" and click on "Add missing, remove vanished"
- Click on the orange button "2 changes" on the top and than "Activate on affected sites"

## Screenshot

![Image](docu/screenshot.png)

## Feedback, Issues and Pull-Requests

Feel free to report issues, fork this project and submit pull requests.