BUDJET READER • PAPERWHITE EDITIONE-INK HD
11:36 AM
Monograph: Case Study
CHAPTER III MONOGRAPHTECHNICAL SPECIFICATION

Linux Cluster Resource Monitoring App

A robust monitoring agent built with Bash and PostgreSQL for real-time node resource tracking.

I. Problem Statement & Operational Challenge

Maintaining visibility into resource usage across a network of nodes is critical for cluster health. The challenge was to create a lightweight agent that could track metrics without overhead on the host VMs.

II. Implementation Strategy

Developed a suite of Bash scripts that leverage Linux utilities to capture CPU, memory, and disk statistics. These metrics are formatted and loaded into a Dockerized PostgreSQL environment. Used crontab to automate the monitoring pulse and built SQL analytical queries to detect performance anomalies.

III. Technical Stack & Tooling

BashLinuxPostgreSQLDockerGCPCrontabSQL Analysis

IV. Constraints & Edge Cases

Required a small memory footprint on host CentOS 7 machines. Implemented error detection queries to ensure the monitoring agent remained active and reporting to the central database without gaps.

V. Operational Outcome & Learnings

Successfully deployed on Google Cloud Platform (GCP), providing an automated, auditable record of resource usage that reduced manual cluster health checks by 80%.

Page 3 of 650% read
H A R I K R I S H N A   P I L L A I