Ep. 15: MKPs and Plugins in Checkmk
Read Video Transcript
|[0:00:00]||Welcome back to the Checkmk channel. And in this episode, we're taking a look at MKPs and how you can use them to extend your Checkmk site.|
|[0:00:16]||So what is an MKP? MKP stands for checkmk package and these contain extensions for Checkmk. Most often they contain check-plugins. But they could also be used for notification plugins, extensions to the user interface or even language packs.|
|[0:00:34]||Now MKPs are the preferred format for when you create your own extensions. They make it easy to share your extension with other users or to deploy them in distributed environments.|
|[0:00:46]||Now, of course, you don't need to create your own extensions you could also use the ones created by the Checkmk community and you can find these MKPs on the Checkmk exchange. So if there is something that you're looking for that is not part of Checkmk by default, you can look there and maybe you can find something.|
|[0:01:04]||So now let's do just that. So you can find the exchange on exchange.checkmk.com. And here you can search for packages using the search bar for example 'windows'.|
|[0:01:20]||Or you could browse through the latest and most downloaded sections or even browse through the entire collection and using the view all plugins button.|
|[0:01:30]||So let's do that. Now here you can see that you can sort the packages by date, rating, views and downloads and you can search for a package here as well. So let's search for language.|
|[0:01:47]||Now, these are all the language packs of Checkmk that you can download and install into your Checkmk site. Let's pick the Dutch one.|
|[0:01:57]||Here on the left you have some information about the author and the package. So the author, the website of the author, how often it has been viewed, how often it has been downloaded, when the first version was uploaded, when the last version was uploaded, how many versions there are, the rating and the amount of reviews. Now in the middle section, you have a link to all versions and the reviews. There is description of the package and you see the latest version of the package here.|
|[0:02:31]||And you also see this note notification that this one is only working on Checkmk 2 (version 2.0) or higher.|
|[0:02:39]||For each version, you can also see all the files that are part of this MKP and because this is a language pack it only contains two files. Now every version will always be reviewed by one of our developers, before it's published on the exchange.|
|[0:03:00]||Now because this is a language pack you can actually contribute to these language banks and you can do that on translate.checkmk.com. I already have it open here in the second tab, so let's go there. Now this is the list of all languages that you can contribute to yourself.|
|[0:03:20]||You will just have to create an account and you can start translating immediately. If your language is not part of this list you can easily request it on our forum: forum.checkmk.com.|
|[0:03:32]||And there is a localization category or you can even send us an email at email@example.com For now let's head back and download the package. So now that the package is downloaded, we're ready to install it in our checkmk site. So let's open it up.|
|[0:03:56]||So we're back in our checkmk site, now to install it you go to setup and then search for extension packages.Here you would see all installed packages currently this list is empty because we have nothing installed now let's change that click on upload package, choose file to search the file we just downloaded. And now simply press upload and install.|
|[0:04:33]||Once it is installed, it's not actually activated yet. So to do that we need to activate the two changes that we have. We have two changes because we are in a distributed setup.|
|[0:04:46]||Once you activate the changes in a distributed setup the package will automatically be pushed over to your remote site if you share the configuration. Now let's do that.|
|[0:05:03]||If this package would have contained any check-plugins you would have to run a service discovery in order to actually discover these new services. Let's go back to the packages real quick.|
|[0:05:22]||So now it's installed and activated if you click on this pencil here, you can see and edit these details of the package. So you can actually see the files again, the description.|
|[0:05:37]||This is the same information as that you can see on the Checkmk exchange. So if you are a creator of an extension and you have a new version for example you added a new file then you can change this version number and simply save it.|
|[0:05:58]||Now with this button, you can download the new version of the package and you could then for example upload it again to the exchange. So that the new version is also available to the community.|
|[0:06:09]||Now let's see if this package actually works so to do that we go to user and edit profile and now there should be a new language. And as you can see there is a new language called Dutch.|
|[0:06:25]||So let's save that and as you can see now the entire user interface language has been changed. Now you can also work with MKPs on the command line, so let's switch over to the command line.|
|[0:06:42]||So you have to be logged in as the site user which we currently are so there is this command called 'mkp,' and as you can see it takes some it can take some arguments for example 'mkp list'.|
|[0:06:57]||This will show us all packages that are currently installed. With 'mkp show' followed by the name of the package, you can show the details.|
|[0:07:14]||So once again this is the same information as you would see on the exchange and when you click on the pencil in the package overview. And you can even remove the package if you would run mkp remove followed by the name (we forgot a space there). And now the package is removed.|
|[0:07:41]||So that was it again for this episode. I hope it was helpful and if so please subscribe to our channel like the video. For now, until next time.|
Ep. 1: Installing Checkmk 2.0 and monitoring your first host
In this video, Baris explains how to take get started with Checkmk and start monitoring your first host within a few minutes.
Ep. 2: The Checkmk 2.0 user interface
In this video, Baris take you through the new user interface in Checkmk 2.0. He explains the various components of the User interface such as the new navigation menus, the Sidebar, main dashboard, tactical overview, how to switch between the Checkmk interface themes and much more
Ep. 3: Using SNMP to monitor network devices in Checkmk 2.0
In this episode, Baris explains how to monitor network devices with Checkmk. SNMP is a protocol that many switches, routers, printers, UPSs, hardware sensors and other devices have implemented with the purpose of being able to monitor them easily.
Ep. 4: Monitoring Windows in Checkmk
In this video of our Getting started with Checkmk series, Baris explains how to install a Checkmk agent on a Windows host system and add that into your monitoring environment.
Ep. 5: Using metrics and graphs in Checkmk 2.0
In the 5th episode of the Getting started with Checkmk series, Baris explains using various metrics that you can monitor in Checkmk such as CPU utilization, CPU load etc. You can also see graph visualizations for these metrics or create and customize your own as per your requirements.
Ep. 6: Updating Checkmk 2.0 and using multiple instances
In this video, Baris explains how to update your Checkmk instance. It is very easy and can be done within minutes. You can run multiple Checkmk instances with different versions on the same system. This gives you the flexibility to test the new version before using it in production.
Ep. 7 (part 1): Working with rules and setting thresholds in Checkmk
In the following three-part videos series, Baris explains rule-based monitoring with Checkmk. In the first part, he shows you how you can work with rules and set threshold values. Rule-based configuration is one of the key features for Checkmk which helps you to scale your monitoring easily within minutes.
Ep. 7 (part 2): Smart rules with Host Tags in Checkmk
In the second part of this video, Baris explains using Smart rules with host tags in Checkmk. In the first part, he shows you how you can work with rules and set threshold values. These are features that you can use to build your rules even more intelligently and to better organize your monitoring.
Ep. 7 (part 3): Managing Hosts in Folder in Checkmk
In this final part of our episode on Rule-based monitoring in Checkmk, Baris demonstrates how to manage hosts in folders in Checkmk. This helps you to apply your monitoring configurations at scale and organize your hosts according to your needs.
Ep. 8: Working with Host and Service Groups in Checkmk
In this Baris demonstrates how to create host and service groups in Checkmk, so you can perform actions on an entire group instead of configuring each of them individually.
Ep. 9: Using the Quicksearch function in Checkmk
In this episode of the Checkmk tutorials, Baris shows how you can use the Quicksearch function in Checkmk. You can use it to easily find and manage certain hosts or services. He also explains some examples of filters to you. In Checkmk 2.0 you can use the same syntax in the Seach function found in the monitor menu to get identical results.
Ep. 10: Detecting configuration errors with the Analyze Configuration feature
With the Analyze Configuration feature, you can check if there are any configuration errors in your installation. Checkmk controls a number of possible security risks or potential performance restrictions and indicates if there are any problems.
Ep. 11: View creation and customization in Checkmk
In this video, Baris demonstrates how to customize headers, columns, and more in Views in Checkmk for yourself or other users. He also explains how to create custom views and add desired information to these views.
Ep. 12: Acknowledging problems in Checkmk
In this video, Baris explains how you can acknowledge problems in Checkmk. This function helps you to qualify the states of hosts and services. This allows you to keep track of messages in the main dashboard and, for example, you can add comments to problems.
Ep. 13: Scheduling downtimes in Checkmk
In the episode of our Getting started with Checkmk series, Baris explains how you can manage the maintenance times of your systems in Checkmk. Such scheduled downtimes prevent your monitoring from sending false alarms when a host or service goes to WARN or CRIT during maintenance work. You can also inform the users concerned about the maintenance via Checkmk.
Ep. 14: Distributed monitoring with Checkmk
In this video, Baris explains how you can connect several Checkmk instances to a monitoring system and then manage it.
Ep. 16: Working with 'Bulk Actions' in Checkmk
In this episode of our Checkmk tutorials series, Baris explains how you can save a lot of time with bulk actions. With this feature you can perform various tasks such as deleting, renaming, service discovery etc. on a large number of hosts simultaneously.
Ep. 17: Working with network topologies in Checkmk
In this video of our gettign startted with Checkmk series, Baris explains how to map network topologies in Checkmk. This feature is quite helpful to manage your network and prevent any unnecessary notifications from the devices in your network.
Ep. 18: Creating and customizing dashboards in Checkmk
In this video of our Getting started with Checkmk series, Mathias explains how you can create and customize dashboards in Checkmk 2.0, so you can get insights into your monitoring according to your requirements. Find out more in this video.
Ep. 19: Monitoring websites and their certificates with Checkmk
In this episode, Bastian demonstrates how to monitor a website and its certificate with Checkmk. You can also monitor specific web pages with Checkmk by using the several options that will suit your use case. Learn more in this video.
Ep. 20: Configuring dashboard elements in Checkmk
Learn how to add data visualization elements of the various metrics into your Checkmk Dashboard. In this video, Mathias explains how you can configure these elements and create a dashboard as per your requirements.
Ep. 21: Setting up notifications in Checkmk
Learn how to set up notifications in Checkmk and assign relevant contacts and contact groups to be notified for various events. Later in this video, our presenter Bastian also demonstrates how you can set up rule-based notifications according to different conditions for hosts and services.
Ep. 22: Monitoring logfiles with Checkmk
Monitor your logfiles with Checkmk using its Logwatch plugin. It is very useful when you want to monitor your logfiles regardless of whether you are using a UNIX/Linux or a windows based system. Learn more in this video.
Ep. 24: 3 Rules for efficient network monitoring
In this video, Bastian demonstrates 3 rules that will help you to efficiently monitor your network interfaces. With Checkmk 2.0, with just three rules, you can set up an efficient network monitoring that will not only monitor all of your network interfaces but also simultaneously provide a detailed overview of all of your ports.
Ep. 25: New UX and security improvements in Checkmk 2.1
Checkmk 2.1 come with many UX improvements such as pre-built dashboards for Linux and Windows, faster core performance and much more. Security features such as two-factor authentication etc. were also added in this new version. Watch this video to learn how to use these new features and enhancements in Checkmk.
Ep. 28: Working with InfluxDB integration in Checkmk
Learn how to send data to InfluxDB from Checkmk. As InfluxDB introduced a new protocol to send data to it, a new connector was developed with Checkmk to talk natively with it. Learn more about it in this video.
Ep. 29: New agent architecture in Checkmk 2.1
With Checkmk 2.1, the agent architecture was modified to enable performance improvements and add new features such as TLS encryption, data compression, and the reversal of direction of communication from the agent. This will enable push mode and pull mode.
Ep. 30: Clustering the Checkmk appliance
In this video, Robin demonstrates how you can cluster your Checkmk appliance to make it resilient against hardware failures. If you are using the Checkmk hardware appliance, it may be helpful to cluster your appliance to maintain high availability.
Ep. 32: Working with the Agent bakery in Checkmk
In this video, Robin demonstrates how to roll out agent packages with the required configuration for different monitored systems using the agent bakery in Checkmk. The "Automatic agent update" is quite a helpful feature as it pulls the latest configurations for an agent automatically and you don't need to manually update all of your agents deployed on different systems.
Ep 33: Monitoring Docker containers with Checkmk
Learn how to monitor Docker containers with Checkmk.In this video, Robin demonstrates the process of setting up a rule to configure the docker plugin and bake an agent with the desired settings for the Docker host.
Ep 34: Introduction to Checkmk Ansible collection
Last year the Checkmk Ansible collection was created to interact with the Checkmk REST API. In this video, Robin demonstrates how you can use this Ansible collection to automate your monitoring with Checkmk.