apps:checkmk
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
apps:checkmk [2020-09-19 15:22] – created jens | apps:checkmk [2023-06-24 16:46] (current) – jens | ||
---|---|---|---|
Line 2: | Line 2: | ||
[[https:// | [[https:// | ||
- | If you want to use it for free, there are two different options. Either you use CheckMK Raw, which does not offer all features of the Enterprise Edition, or you use CheckMK Free which offers all features but is limited to 10 hosts. | + | If you want to use it for free, there are two different options. Either you use CheckMK Raw, which does not offer all features of the Enterprise Edition, or you use CheckMK Free which offers all features but is limited to a certain amount of hosts/services. I prefer Open Source Software whenever possible, |
The [[https:// | The [[https:// | ||
- | ===== CheckMK | + | ===== Puppet |
+ | <WRAP center round info> | ||
+ | Note that this section needs a complete overhaul and I will probably have to write my own check for this. The upstream projects seem to be dead and the checks have to be rewritten in Python. Well, I like Python but time is always an issue. So take the info below with a huge grain of salt, it will not work anymore on modern CheckMK versions! | ||
+ | </ | ||
If you are using [[Puppet]] for configuration and state management, and you are not using the Enterprise edition, it is quite difficult to have an overview of the state of your Puppet runs (especially the failing ones). | If you are using [[Puppet]] for configuration and state management, and you are not using the Enterprise edition, it is quite difficult to have an overview of the state of your Puppet runs (especially the failing ones). | ||
Line 13: | Line 17: | ||
His Plugin is based on either the Puppet Enterprise Edition, or another distribution than Debian however, so some slight modifications are necessary. | His Plugin is based on either the Puppet Enterprise Edition, or another distribution than Debian however, so some slight modifications are necessary. | ||
+ | The plugin comes with a script that reads out the latest status of a Puppet run on the client, it looks like this in the original: | ||
+ | |||
+ | <file bash mk_puppet> | ||
+ | #!/bin/bash | ||
+ | |||
+ | LASTRUN="/ | ||
+ | if [ -e " | ||
+ | OUT=" | ||
+ | echo "<<< | ||
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
+ | fi | ||
+ | </ | ||
+ | |||
+ | But in Debian with the Open Source edition of Puppet this file is in a different location, this is the adatped version for Debian: | ||
+ | |||
+ | <file bash mk_puppet> | ||
+ | #!/bin/bash | ||
+ | | ||
+ | LASTRUN="/ | ||
+ | if [ -e " | ||
+ | OUT=" | ||
+ | echo "<<< | ||
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
+ | fi | ||
+ | </ | ||
+ | |||
+ | {{ : | ||
+ | That is it already. But to be able to use that plugin you must not only distribute the above file to all clients you want to monitor into the plugin directory ''/ | ||
+ | |||
+ | - Copy the '' | ||
+ | - Switch to that user using '' | ||
+ | - Install the MKP file using '' | ||
+ | |||
+ | Now, your CheckMK installation knows about the plugin and will detect additional services on your monitored hosts. It should look something like in the screenshot on the right. | ||
+ | |||
+ | ===== Agent over SSH ===== | ||
+ | <WRAP center round info> | ||
+ | This section also needs some rewriting, since the newer versions of CheckMK support SSL (sic) the documentation on running the agent over SSH has vanished. So I will try to re-create the documentation here. | ||
+ | </ | ||
+ | |||
+ | The official documentation has a great chapter on [[https:// | ||
+ | |||
+ | One point in the documentation was not totally clear to me however, namely the part //Migrating Checkmk’s access to SSH//. There it says you have to go to '' | ||
+ | Well, that can be found in '' |
apps/checkmk.1600521751.txt.gz · Last modified: 2020-09-19 15:22 by jens