|[0:00:00]||Hi, my name is Baris from the Checkmk team and welcome to this tutorial series on "Getting started with Checkmk". In the next 17 episodes, we're going to install and configure Checkmk as your monitoring system we will also cover topics such as monitoring SNMP, customizing and creating your own views, distributed monitoring and much more.|
|[0:00:22]||Now, Checkmk comes in a few editions we got the open-source edition which is free to use for everyone, then there is an enterprise edition which is based on our proprietary monitoring core and has many additional features around automation and reporting, and it's also very suitable for monitoring large IT environments.|
|[0:00:41]||Then there is a free version of this enterprise edition which has all the same features but will be limited to 25 hosts after 30 days.|
|[0:00:50]||So even after 30 days, you can still monitor up to 25 servers, SNMP devices or whatever you like.|
|[0:00:58]||Now we'll be using the free version of the enterprise edition throughout the series, so now let's get started with Checkmk.|
|[0:01:15]||So in this first episode, we're going to install Checkmk and we're also going to add our first host to the monitoring system.|
|[0:01:22]||To install Checkmk you are going to need a Linux environment I prepared a VM with Ubuntu 20.04 installed. Now the first thing we are going to have to do is download Checkmk. To do that let's open a browser and go to checkmk.com. So navigate to checkmk.com. Once you're on the home page click on the download button in the top right. Now you'll see that the free edition is already pre-selected for you, so what you have to do next is select the platform in my case that will be Ubuntu and the version of Ubuntu that I have installed is 20.04 so let's select that.|
|[0:01:58]||Now we ask for an email address so we can send you some tips on how to get started with Checkmk.|
|[0:02:09]||Once you have put in your email address, hit the big green download button and wait for the download to finish.|
|[0:02:22]||Once the download is complete let's head over to the terminal and copy over the file to our VM. So here you see we have the file now let's just simply copy it over to our VM. Let's copy the file name, and we'll copy it over to our VM.|
|[0:02:49]||We'll put it in the tmp folder for now. Okay, it's done now let's ssh into the VM and get started with installing Checkmk. Okay, we have put it in the tmp folder so it's here. So now we can simply install Checkmk using "apt install" this will install Checkmk with all its dependencies.|
|[0:03:27]||So what is a dependency?|
|[0:03:28]||Checkmk comes with its own version of Apache, PHP and Python. And all these versions are marked in the package, and once you run "apt install", everything will be installed for you. Okay, so let's install it using "apt install", so you see all these dependencies will be installed once I press "yes".|
|[0:04:08]||Okay, so the installation is complete. Let's check the version. Okay, you see that we installed version 2.0 patch level 9. So now the next thing to do is create our first monitoring site.|
|[0:04:25]||So what is a site? A site is basically an instance of Checkmk. And you can have multiple of these sites or instances running in parallel on the same system, and is especially useful when you have for example a production environment but you want to test out a new version of Checkmk you can simply create a new site.|
|[0:04:43]||Okay so now let's create a first site type in "omd create" followed by the name of the site I will call it "test_site" because it's for test purposes, but you can name it however you want.|
|[0:05:02]||So what's happening now it will create the place on a file system to store all the data, it will create a linux user for the site and it will also create our first admin user called "cmkadmin" and generate a password. So let's copy this password to the clipboard.|
|[0:05:21]||Now when you create a site it's not actually being started yet. So type in "omd status" and you can see that it's not running.|
|[0:05:31]||So to start the site type in "omd start" followed by the name of the site "test_site". And if everything is okay you can switch over to the browser and visit the UI. So let's do that.|
|[0:05:49]||Now to visit the UI, type in the IP of your server or VM, followed by a slash ( / ) and then the name of the site.|
|[0:06:06]||Now the default user is "cmkadmin", type that in, and paste in the password that's been generated.|
|[0:06:14]||Now once you log in for the first time, you'll see that the dashboard is pretty empty. That's because we're not actually monitoring anything.|
|[0:06:23]||First, let's quickly change the password, so click on "User" in the bottom left and change password, paste in again the password and type in your new password. Hit save.|
|[0:06:40]||Okay now, let's head back to the main dashboard by clicking the logo on the top left.|
|[0:06:49]||Okay, let's quickly talk about the right sidebar so this is the overview you here you will see how many hosts are being monitored, and how many services but you can also, see if there is any problems. Right now it's still completely empty, so let's quickly change that.|
|[0:07:06]||So the first thing we are going to monitor is the monitoring server itself. To do that we will need to install an Agent.|
|[0:07:14]||We will install this agent on the server and that will send the data to our monitoring server. So click on Setup.|
|[0:07:25]||And then go to "Agents" and click the first item. Now here you'll see all the different agents that we have.|
|[0:07:32]||So we have an agent for Windows, for Red Hat, for Debian, for Solaris, for AIX and if you want to monitor something more exotic then there is this TGZ file you can download.|
|[0:07:49]||But we have an ubuntu 20, so let's download the Debian file.|
|[0:07:54]||So once that is done downloading, let's switch back to the terminal and copy it over to our VM, now let's log out of the VM quickly.|
|[0:08:04]||Okay, you'll see here that we have the agent let's scp that over again or again scp followed by the file name, again to the tmp folder. Okay, that's done let's log back in.|
|[0:08:42]||Okay so once again we can use "apt install" to install the agent it should be fairly quick. Okay and that's it. We're all set up, we can now add the host to the monitoring system. So let's switch back to the browser and add it to Checkmk.|
|[0:09:07]||To add the host to the monitoring system, once again click on setup and then go to "Hosts", and then "Add host", you can either click the small button or the big blue button here. Now what we need to do is give it a hostname.|
|[0:09:22]||I will call it the "monitoring_system" and that describes it fairly well, but you can name it basically whatever you want.|
|[0:09:33]||In my case, I will also need to add an IP address because I don't have a fully qualified domain that's resolvable by DNS otherwise I could have given that in and then, you can omit the entire IP address and it will just resolve itself.|
|[0:09:54]||Okay, that's it, now click on "Save" and go to service configuration and you will see that it will already start discovering services that are being sent from the agent.|
|[0:10:06]||So now you'll see that everything is undecided we're not actually monitoring anything. We have not decided if we want to monitor this specific service.|
|[0:10:16]||So you can either go through this list by clicking the "+" or the "x". If you click the "+" you can monitor the service, if you click the "x" then you basically don't want to monitor the service and it won't show up.|
|[0:10:31]||I will click on "Fix all" and it will just monitor everything.|
|[0:10:39]||We'll still have one undecided let's click the "+". Okay so now we're monitoring all the services that are being sent over the agent.|
|[0:10:52]||And you see here that we have a few changes.|
|[0:10:55]||Whenever you make a change to the setup of Checkmk, it will show up here that there are changes. Changes are not being applied automatically, but only if you explicitly activate them then they will be applied to the monitoring system.|
|[0:11:12]||So here you see the pending changes you see everything that we have done.|
|[0:11:16]||We have created a new host, we have discovered the labels that came with some of the services and we are now monitoring 23 services for this host.|
|[0:11:29]||So if we click on "Activate on selected sites", it will be applied.|
|[0:11:37]||Okay so the changes have been activated and applied to the system, now let's look at the top right, you'll see now that we have our first host and it has 26 services.|
|[0:11:48]||If you click on the number here, you'll go to an overview where you see all the hosts in your system. We currently have one, so click on the name here and you'll get to an overview of all the services that come with this host.|
|[0:12:01]||Let's collapse the sidebar so we can see a little bit more.|
|[0:12:06]||Now, here you'll see stuff like the CPU load, the CPU utilization the room left on the filesystem, the memory. But let's click on one and see what information we see.|
|[0:12:21]||So here you'll see some data like here you see the CPU utilization over time. We only added the host a few seconds ago, so there is not much data to show, but over time you'll see more and more here.|
|[0:12:34]||You can find all the information on Checkmk online on our documentation. If you click help and then on the "User Guide", you'll be redirected to our|
|[0:12:43]||documentation website. If you're new to Checkmk, I can highly recommend the beginner's guide.|
|[0:12:49]||Here, we explain step by step, how to get started with Checkmk.|
|[0:12:54]||So that was it for today if you run into any problems while installing Checkmk, head over to forum.checkmk.com and our community members will be happy to help you out. If you're looking for a more interactive introduction to Checkmk you can sign up for a free webinar you can find the link in the description of this video. If this video was helpful to you, please subscribe to the channel and give a like to the video.|
|[0:13:18]||See you in the next episode.|
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. 15: MKPs and Plugins in Checkmk
In the 15th episode of our Getting started with Checkmk tutorial series, Baris explains what are Checkmk Extension Packages (MKPs) and how easy it is to integrate them into your Checkmk monitoring environment. MKPs are the preferred format when you make your own extensions as it makes it easy to share with other users or deploy in distributed environments.
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.
Ep 35: Monitoring SQL databases with Checkmk
In this video, Robin demonstrates how you can configure your Checkmk site to monitor your SQL databases. As there are many flavours of SQL databases, the process is mostly the same.
Ep. 36: Introduction to different types of checks for monitoring with Checkmk
Learn about the different types of "checks" and services in Checkmk. In this video, Robin demonstrates how you can expand the information collected by your Checkmk agent using these different "Checks".
Ep. 43: Working with Hardware/Software inventory in Checkmk
In this video, Robin demonstrates the hardware/software inventory feature in Checkmk. With this feature one can get an overview of various pieces of hardware present in their servers, switches etc. and also the software packages installed on their operating system. Watch this video to learn more.