Skip to content

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

License

Notifications You must be signed in to change notification settings

neikei/check_mk-testing-environment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

checkmk-testing-environment

Check_MK 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.

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

Feedback, Issues and Pull-Requests

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published