Getting started with Komlog
Komlog is a PaaS to help teams better understand their systems.
Systems analysis is a wide and heterogeneous field. There are multiple of choices to make during design and build processes, and we make them based on our needs and our context. Moreover, our systems are alive, and will evolve and change during their lifetime.
At Komlog, we know it is impossible to find a tool for analyzing our systems that completely fits our present and future needs. However, we think the closest one should be able to understand data in the same way people do.
Based on our experience, every time we face a challenge or problem, sooner or later, we end up showing the data on the screen with some type of command line interface tool to figure out how to solve it.
If you think about it, databases, operating systems, programming languages and almost any software comes with some kind of command line interface tool to interact with us.
Command line interfaces offer, in lots of cases, a more powerful, flexible and reliable way of doing things than their graphical or programmatically counterparts. But, it is more important that we can understand the results without aditional processing, as shown on the screen.
Maybe, the most important lack of command line interfaces is the ability to make graphs and interpret their own outputs. So, why not make a tool capable of understanding plain texts for visualization and analytical purposes?
That’s Komlog’s purpose and mission. Building a tool to understand texts in the same way people do, for visualizing and processing them.
Let’s do it!
In this post I will guide you through the process of monitoring a Linux server with Komlog. We are going to use Komlog’s official package kpack_linux.
- You will need a Komlog account. You can create a free account here.
- Then, install Komlog’s agent, komlogd, on your linux server typing this command:
> pip install komlogd
- Launch komlogd, so it can create the RSA keys and the basic configuration:
> komlogd &
- komlogd will exit. Now add your public key (~/.komlogd/key.pub) to the list of authorized agents in your Komlog configuration page.
- Edit the configuration file (~/.komlogd/komlogd.yaml) and set the username and add kpack_linux package:
- username: YOUR_USERNAME
- Finally, launch komlogd to start monitoring your server:
> komlogd &
If everything went right, komlogd should start sending information about your linux server. You can access your Komlog home page and navigate through your data model to see it.
As you can see, there are some values in bold. This means Komlog has associated each value to a metric in your data model. Every time Komlog receives new data, new values will be appended to the matching metrics.
What happens if I need a metric not detected by Komlog?
Komlog allows you to identify new metrics simply by clicking on them. By doing this, Komlog will learn new ways to detect and identify them automatically in the future.
At this point, you can create graphs, dashboards and share them with other users. We invite you to explore and discover Komlog. We appreciate your feedback, so don’t hessitate to contact us through our different channels to tell us what you think about Komlog.