Skip to content

Checkmk's retired Host Matrix snapin, updated to work with 2.1.0+

License

Notifications You must be signed in to change notification settings

finalduty/checkmk-hostmatrix-snapin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Checkmk Host Matrix Snapin

In early 2022, as part of v2.1.0b1, the "Host Matrix" snapin was dropped from the official tribe29/checkmk repo as part of https://checkmk.com/werk/13736, via commit 0bd1c5a. I still wanted to use the snapin though, so have cloned and updated it to work with v2.1.x and v2.2.x.

How to use

  1. Log in as the CMK user: sudo -iu <site_user>
  2. Make a local sidebar plugin directory if it doesn't exist: mkdir -pv ~/local/lib/python3/cmk/gui/plugins/sidebar
  3. Copy the appropriate host_matrix.py verion for your install to the plugin directory.
  4. Restart your omd instance: omd restart
  5. Done

Changes to original

Where possible, I've kept the snapin as close to the latest version available in the 2.0.0 branch, however made some changes as below:

v2.2.x

  • Import 'html' from cmk.gui.htmllib.html as cmk.gui.globals no longer exists

v2.1.x

Development / Contributing

  1. Install the desired Raw edition from the CMK website - https://checkmk.com/download?edition=cre
  2. Copy the CMK GUI code from /opt/omd/versions/*/lib/python3/cmk/ to your local development environment
  3. Save a new version of host_matrix.py with a suffix suitable to the version being developed against

About

Checkmk's retired Host Matrix snapin, updated to work with 2.1.0+

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages