Complete Guide to Nginx Monitoring with Telegraf, Prometheus, and Grafana

To effectively monitor Nginx using Telegraf, Prometheus, and Grafana, first enable the Nginx status page. Next, set up Telegraf to collect these metrics and output them in a Prometheus-friendly format. Then, configure Prometheus to scrape data from Telegraf. Finally, use Grafana to view the collected metrics.

This article will guide you on how to get Nginx Web Server metrics and visualize them. The main goal is a quick deployment and configuration using well-known open-source projects like Grafana, Prometheus, and Telegraf. Continue reading “Complete Guide to Nginx Monitoring with Telegraf, Prometheus, and Grafana”

Your Guide for Patching Elastic Search!

What is Patching?

A patch is a set of updates to a server or its supporting data designed to update, fix and improve, including fixing security vulnerabilities and other bugs. They may be applied to program files on a storage device or in computer memory. Patches may be permanent or temporary. 
In a brief overview, you need to perform the following tasks for patch management: 
 1. Create a patch catalog.
 2. Analyze the target to determine the patches that need to deploy.
 3. Deploy the required patches to targets requiring remediation.
 4. Analyze the targets again to ensure each server has the correct patch.

Continue reading “Your Guide for Patching Elastic Search!”

How to fix error “[SSL: CERTIFICATE_ VERIFY_FAILED] certificate verify failed” (_ssl.c:727)

If you’re encountering the “SSL: CERTIFICATE_VERIFY_FAILED” error while working with Python’s requests library, don’t worry. Typically, this issue occurs because you need to update your CA certificates, set up custom trust paths, or avoid development shortcuts that can lead to security vulnerabilities.

Understanding SSLCertVerificationError

While collaborating on a hybrid cloud project with a client in the banking sector, we encountered a problem:

Fatal error: SSL validation failed for https://bucket_name.s3.ap-south-1.amazonaws.com/file_name  “[SSL: CERTIFICATE_ VERIFY_FAILED] certificate verify failed” (_ssl.c:727) Continue reading “How to fix error “[SSL: CERTIFICATE_ VERIFY_FAILED] certificate verify failed” (_ssl.c:727)”

Proc File System in Linux – An Overview

The Proc File System (procfs) in Linux is an innovative, virtual file system located in memory. It serves as a live interface to the kernel’s internal data structures. Instead of keeping data on disk, “files” within procfs are created in real time as they are accessed, providing up-to-date information about the system’s processes, hardware, and overall configuration.

Proc File System in Linux – Complete View

The proc file system, or procfs, is a dynamic virtual file system that becomes active when the system boots and disappears during shutdown. It serves as a valuable resource, providing information about currently running processes, and as a hub for controlling and relaying information to the kernel. Additionally, the proc file system facilitates communication between kernel space and user space.

I’d like to share an interesting finding with you today. Perhaps, many of you must be already familiar with it but being a newbie, it really intrigued me. Continue reading “Proc File System in Linux – An Overview”

The Migration of Postgresql using Azure DMS

Azure Database Migration Service can be used to migrate the databases from an on-premises PostgreSQL instance to Azure Database for PostgreSQL with minimal downtime to the application.

Continue reading “The Migration of Postgresql using Azure DMS”