Ep. 11: View creation and customization in Checkmk
Read Video Transcript
|[0:00:00]||Welcome back to the Checkmk channel. And in this episode, we're looking at creating and editing views in Checkmk.|
|[0:00:16]||So we have just logged into our internal monitoring system here at tribe29, here you see the main dashboard. But what I want to edit is the view that you get when you search for a service. So lets for example search for CPU loads.|
|Now here you see an overview of each hostname and the service grouped together but what I want to make is one table where all where each row is a surface and then I want to add another column with the hostname so that makes it a bit more clear and less cluttered.|
|[0:00:55]||So what we do now is we go to display and then click on customize view. Okay, let me collapse this.|
|[0:01:09]||Okay, here under grouping you see how all the search results are grouped. So they are grouped by hostname and instance. So Checkmk site and we can remove that simply by clicking on the x for each item. And then go to save and go to view.|
|[0:01:33]||As you can see all services are now listed in one table. But the only problem now is that you cannot see to which host each service belongs to.|
|[0:01:45]||So what we want to do now is go again to display and Customize view. And then we go to columns and here we're going to add a new column. So at the bottom the button 'Add column', and then we're going to search for the item we want to add as a column.|
|[0:02:05]||So in this case 'Hostname'. So here 'Hostname > Edit'. Okay so now once again go to Save and go to View. Now you see that there is a new column here on the right side with the hostname.|
|[0:02:25]||But it would be better if we can put it next to the state or between the state and the service name. So let's customize it again. Here you see at each item you see this icon where you can drag a column to a new sorting order.|
|[0:02:46]||So we want it as the second item here as always save and go to view. And now you see the hostname is now the second item in the row. If we now search for something else so for example disk.|
|[0:03:06]||You will see that all service views are now one table and have this hostname column added. And you might wonder if this view is only available to you? The answer is: Well you can configure that yourself. So if you go to display and customize view again and then in the general properties section and you see this last checkbox 'Make this view available to other users', if you check it and save it then other people can use this view if they want to.|
|[0:03:34]||If you don't do that then only you have access to this view. Rather than editing an existing view it's of course way more interesting to build your own view completely from scratch.|
|[0:03:45]||And what I want to show you next is how you can build quite an interesting view namely one that shows multiple services from a single host in one row. Let me show you exactly what I mean with this. So this time we go to the customize menu on the left and then we go to views.|
|[0:04:06]||Here you see an overview of all views available in Checkmk, at the top you see your own customized views. So this is the one we just created, 'searchsvc'and this ID is important because if there are multiple IDs or views with the same ID, Checkmk will show you your own custom view instead of to built-in one. So at the top your own customized views and then you see views created by other people other users and then a long list of all the built-in views that come with Checkmk by default.|
|[0:04:41]||But you also see this icon here on the left this lets you clone an existing view and then customize it for yourself. But what we want to do is we want to create our own view from scratch and for that we click on 'Add view', the first thing we need to do is set a data source and you can compare this with a table in a database. So in practice you most often use all hosts or all services.|
|[0:05:09]||We want to create an overview of host so we pick all hosts. And press 'Continue', this step we can skip for now, we press 'Continue' again and then here under 'General Properties', we can set the ID. So I'm going to give it an ID of performance_view.|
|[0:05:35]||And then the title, the title you'll see on the on the view itself and you will also see it in the snap-in if you have added to the sidebar so here in the snap-in and my name will be again Performance view.|
|[0:05:56]||Next, we can set a topic and this determines where in the snap-in it will be placed. So I will pick other for now. Now the last thing we need to do we need to add a minimum of one column otherwise it would be a completely empty view. So let's add a column and let's do again the hostname.|
|[0:06:21]||Okay looks good, now press Save and go to list and now it should appear in the snap-in. So here you see 'Other' and then performance_view, the view that we just created.|
|[0:06:33]||So let's have a look at what we did. And as you can see we now created a view with all hosts listed in a car and a table but let's make it a bit more interesting and add a few more columns, so once again go to Display and Customize view.|
|[0:06:52]||As promised we are going to create a view of host that includes service information, that might sound easy but there is a little trick to it because we have to configure which surface we want to show.|
|[0:07:05]||Okay so we want to add a column so let's press 'Add column' and then you see here you have an option to pick a 'Joined column' and a 'Joined column' is basically like a database query where you would join two tables or the information of two tables together.|
|[0:07:23]||Now now we need to type in the service we want to show or join and we will do CPU load. And it's important that you type it correctly, and this is also case sensitive so make sure that you type it in correctly otherwise it will be an empty column.|
|[0:07:43]||Now how do we want to show the data we want to show it as a 'Perf-O-Meter'. And that will show the CPU load in a bar graph. And next you can also give it a title if you don't give it a title or explicitly set a title then it will inherit the name of the service so in this case it would be CPU load or just call it load and then press 'Save & go to view'.|
|[0:08:18]||Here you can now see our new column on the right side, the CPU load. Of course, you can only see it for the hosts that actually have a service called CPU load. Now let's add a few more columns.|
|[0:08:32]||Customize view again. Again add column, And another Joined column. But this time the service will be CPU utilization. And we'll again show it as a Perf-O-Meter. And the title will be util.|
|[0:08:59]||Our next service should tell us something about the memory that's being used on the system. So again 'Joined column' and service will be 'Memory'. Once again the Perf-O-Meter.|
|[0:09:14]||And the title will leave empty so it will inherit the name of the service, so Memory. Let's press Save & go to view. And as you can see we have quite interesting view now where for each host we can see the CPU utilization, loads and the memory that's being used. Now the CPU load that tells you how many active processors that are currently running on the system and the utilization and that's the percentage of available computing time that's currently being used.|
|[0:09:50]||You can also sort this table by simply clicking on the column header now you'll see that it's sorted from low to high so all this host without a CPU load service will show first. But you can also sort it in reverse order simply by clicking the column header again.|
|[0:10:10]||That was it for this episode I hope you learned something, if so please subscribe to our channel and like the video. See you in the next episode.|
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. 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.