Author: Sahil Suri

How to integrating Prometheus with Grafana in Linux

In an earlier article, we demonstrated the installation and setup of Prometheus, a lightweight, and user-friendly open source monitoring tool. In this article, we will show you how to integrate data collected by Prometheus with Grafana to create beautiful dashboards. Grafana is an open source, feature rich metrics dashboard and graph editor for Graphite, Elasticsearch, OpenTSDB, Prometheus, and InfluxDB. Before proceeding with the installation let us go over some of its features: Features of Grafana Grafana provides a wide variety of visualization options to help you understand your data. These data visualization offerings include heatmaps, histograms, graphs, geomaps etc. You can use grafana to define alert thresholds visually and get notified via Slack, PagerDuty or other tools in case a threshold breaches. It allows you to import data from multiple sources and visualize the data centrally through grafana. Grafana has numerous plugins available thereby giving users immense scope for customization. Dashboards created using grafana can be shared among teams promoting more collaboration. Grafana can seamlessly integrate with an organization’s existing authentication mechanism. Grafana supports multi-tenancy. Setup multiple organizations that each can have their own admins define their own data sources, dashboards and users. Grafana includes power user preferences including the option to select from dark or white themes, set your home dashboard, change timezones and more. With a basic understanding of what grafana is and it’s important features, we’ll...

Read More

How to setup prometheus monitoring tool on Linux Centos 7

What is Prometheus? Prometheus is an open source monitoring tool which was developed in 2012. Its architecture is modular and comes with several readily available modules called exporters, which help you capture metrics from popular software. Prometheus is written in the Go language and stores its captured data in a time series database (A time series database is optimized for handling data points indexed by time). Prometheus offers a versatile and customizable interface allowing system administrators to heavily tune the metrics they want to measure and also enhance the accuracy of measurement. Prometheus’s main features are: a multi-dimensional data model with time series data identified by metric name and key/value pairs a flexible query language to leverage this dimensionality no reliance on distributed storage; single server nodes are autonomous time series collection happens via a pull model over HTTP pushing time series is supported via an intermediary gateway targets are discovered via service discovery or static configuration multiple modes of graphing and dashboard creation support Basic architecture Prometheus The below diagram illustrates the basic architecture of the Prometheus ecosystem and where different components fit together. Note that each Prometheus server is standalone, not depending on network storage or other remote services. With a basic understanding of Prometheus architecture, we now proceed to install and set it up on a Centos 7 system. Step 1: Download Prometheus software from GitHub. We’ll use wget to download...

Read More

8 lsmod, rmmod, modprobe, and modinfo command examples in Linux

  What is Linux Kernel? The kernel is just a piece of code. Ok, not a bit of code 1000’s of lines. For example, Linux kernel has 20 million lines of code. A kernel is a central part of computer operating system which acts as a mediator between system hardware and applications installed in the system. The Kernel converts program’s instructions to machine understandable language and passes them through device drivers. What are types of Kernel? We have two types of Kernels are there. Monolithic kernel Modular kernel Before going into difference of kernels we should know what is a kernel module is What is a Kernel module? A kernel module is a part of the kernel which can do some work. Say for example Linux Kernel will not support all types of hardware, So programmers will write some kernel modules and distribute them along with their software. Whenever you want to make this hardware to work, we have to load this piece of software into the kernel so that your system understands it. This software is nothing but Kernel module. The modules also referred to as device drivers are specialized pieces of software which power or control access to a peripheral. They are loaded into or unloaded from the running kernel without the need of a reboot. What is a Monolithic kernel? A monolithic kernel is where the...

Read More

Over 16,000 readers, Get fresh content from “The Linux juggernaut”

Email Subscribe

ABOUT ME..!

My photo
My name is Surendra Kumar Anne. I hail from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present I work at Bank of America as Sr. Analyst Systems and Administration. You can contact me at surendra (@) linuxnix dot com.

banner