This article provides a complete tutorial on Prometheus, covering its origins, core features, installation methods (binary and Docker), configuration file structure, PromQL basics, HTTP API usage, Grafana integration, various exporters for metrics collection, and alerting with Alertmanager, all within a cloud‑native monitoring context.
Replit engineers analyzed why container shutdown on preemptible VMs caused REPL sessions to stall for up to a minute, identified Docker's network‑release bottleneck, and implemented a direct SIGKILL workaround that reduced error rates and startup latency dramatically.
Over three years of running Kubernetes in production across on‑premise RHEL VMs and AWS EC2, we learned hard‑won lessons about Java container compatibility, upgrade strategies, build and deployment pipelines, probe tuning, external IP scaling, and when Kubernetes truly adds value.
This article explains why Prometheus alerts may not fire or may fire unexpectedly, covering the role of the for parameter, sampling intervals, Grafana range queries, and practical steps to diagnose and fix alerting issues.
This article provides a comprehensive, step‑by‑step tutorial for setting up a three‑node Ceph storage cluster on CentOS 7.9, covering host configuration, firewall and SELinux settings, package installation, monitor, manager, OSD, MDS, and RGW deployment, along with required keyrings, configuration files, and troubleshooting tips.
This tutorial walks you through using Python's requests library and Zabbix Sender to retrieve Kubernetes API metrics, covering API endpoint discovery, token generation, script deployment, host configuration, and manual trigger of checks to visualize the data.
This article explains how Netflix's performance team uses ten standard Linux command‑line tools to quickly assess system health within the first minute, focusing on error detection, resource saturation, and utilization across CPU, memory, disk, and network to pinpoint performance problems.
This article describes how a company replaced its Zabbix‑based monitoring with a scalable, Prometheus‑driven alert engine that leverages ClickHouse for storage, remote‑storage integration via Prom2Click, and materialized views to provide flexible, SQL‑based business metric alerts.
This guide explains how to plan Ceph hardware by balancing CPU, memory, storage, network bandwidth, and failure domains, offering practical recommendations for daemons, OSDs, monitors, managers, and SSD vs HDD choices to achieve cost‑effective, high‑performance large‑scale clusters.
This article explains why traditional server and service monitoring (e.g., Zabbix) may miss business outages, then walks through setting up Nagios on Debian to monitor web page URLs, API health checks, and related services, including configuration files, plugins, and a desktop alert tool, Nagstamon.
This article provides a comprehensive overview of Prometheus, covering its open‑source monitoring architecture, multi‑dimensional data model, query language, storage mechanisms, service discovery, alerting workflow with Alertmanager, and visualization using Grafana, all illustrated with key diagrams and configuration examples.
This article explains how Linux reports CPU usage with tools like top, the meaning of the fields in /proc/stat, how utilization percentages are calculated, the concepts of run queues, load average, context switching, multi‑core scheduling, and how to use perf and taskset for deeper performance analysis.
This guide explains how to run Kafka on Kubernetes, covering runtime resource needs, storage considerations, network requirements, configuration with Pods, StatefulSets, Helm charts and Operators, performance testing, monitoring, logging, health checks, rolling updates, scaling, and backup strategies.
This article introduces StackStorm as an event‑driven automation platform, explains its core components (sensors, triggers, rules, actions, workflows), details the structure and management of packs, and provides step‑by‑step instructions for installing, registering, and uninstalling packs.
This article explains how UCloud integrates Ansible with GlobalSSH to streamline overseas multi‑data‑center deployments, presents step‑by‑step Playbook examples, and shows performance tests that demonstrate up to a 57% speed boost for both Playbook and Ad‑hoc operations.
This tutorial walks you through installing and configuring Zabbix on a Linux server, creating databases, setting up agents, defining templates, items, triggers, graphs, and custom script alerts to monitor network traffic in real time and receive automated notifications.
This tutorial walks you through setting up Java, ElasticSearch 2.1.0, Logstash 2.1.1, Kibana 4.3.1, and NGINX on a CentOS 6.7 server, configuring each component, linking them together, and troubleshooting common time‑zone issues so you can visualize logs with Kibana.
This article outlines MongoDB's key features, describes a real‑world outage caused by misconfigured connection limits, details the root‑cause analysis and temporary remediation, and presents a comprehensive set of configuration, sharding, and hardware optimizations that dramatically improved the system's reliability and throughput.
This guide explains why the community edition of MongoDB lacks native hot backup, how Percona MongoDB adds online backup support, the underlying backup and restore principles, and provides a step‑by‑step PHP script with environment setup, configuration, execution, and scheduling instructions.
Engineers often face "choice paralysis" when picking an automation tool, but Puppet, Ansible, and SaltStack are all mature; the article compares their strengths, explains when to use Ansible, how Foreman extends Puppet, and how to leverage Puppet's fact mechanism for dynamic configuration.
This article describes Qunar's automated network outage detection and intelligent traffic switching system, detailing the problem background, solution architecture, component functions, workflow, optimization steps, and future plans for more precise, multi‑level failover handling.
This tutorial walks through deploying InfluxDB, cAdvisor, and Grafana containers, configuring them to collect and visualize time‑series metrics such as CPU, memory, network, and disk usage from Docker workloads, and shows how to create dashboards and queries for effective container monitoring.
The project redesigns the Open‑Falcon monitoring system for the 37 platform by integrating it with the existing CMDB, adding distributed‑lock high‑availability for judge and alarm modules, optimizing cross‑region agent data transmission, fixing timezone inconsistencies, and enabling redundant query/graph services, thereby unifying disparate monitoring tools into a scalable, reliable solution.
This article shares a Linux operations interview experience, detailing the job description, required skills, seven common interview questions with thorough answers, and practical tips to help candidates prepare effectively and succeed in similar technical roles.
This article explains the challenges of lightweight private‑cloud deployment, classifies distributed‑system types, and presents a practical solution that combines a standard OS layer, Docker containerization, and Ansible automation, illustrated with a real‑world RabbitMQ cluster example and supporting GitHub resources.
This comprehensive tutorial walks operations engineers through Python fundamentals, from installation and basic syntax to data structures, functions, modules, and debugging, illustrating each concept with clear examples and diagrams to enable rapid automation development in real‑world DevOps environments.
This article lists and briefly describes twenty essential Python libraries—from psutil and Ansible to SaltStack and scapy—that empower system administrators to monitor resources, automate tasks, manage configurations, and build robust DevOps workflows.
The article explores why operations professionals often feel exhausted, unrecognized, and low, identifying six systemic shortcomings—lack of a holistic ops framework, unclear positioning, closed mindset, insufficient authority, stagnant improvement, and missing cultural integration—and offers practical guidance to transform these weaknesses into strengths.
This article details the challenges of traditional monitoring systems, the design and implementation of a custom high‑availability monitoring platform using a Golang‑based service tree, Raft‑backed storage, InfluxDB for time‑series data, and a modular architecture that supports Windows agents, third‑party reporting, and AI‑driven future enhancements.
This guide walks you through Ansible's core architecture, host inventory setup, variable definitions, and the most commonly used modules—including group, user, copy, cron, shell, and ping—showing practical command examples and how to retrieve module help with ansible‑doc.
This article examines the unique challenges of monitoring containers, outlines three categories of metrics to collect, compares host‑centric and layered monitoring architectures, provides detailed methods for gathering CPU, memory, I/O and network data via cgroup files and Docker commands, and shares practical insights, tooling recommendations, and a Q&A session for effective container observability.
This guide walks through configuring Zabbix to monitor Nginx and PHP‑FPM status, covering software installation paths, enabling status modules, creating extraction scripts, setting up Zabbix agent userparameters, restarting services, testing data retrieval, and adding server‑side templates for items, triggers, and graphs.
This article explains how Puppet automates large‑scale server provisioning by describing its architecture, workflow, manifest examples, class inheritance, and module structure, helping operations teams reduce manual effort and avoid errors in configuration management.
Configuration ManagementInfrastructure as CodePuppet
This comprehensive guide introduces Ansible, explains its agentless architecture, core components, installation, SSH key setup, inventory configuration, essential commands, and common modules, providing a practical roadmap for automating system administration and deployment tasks.
This article describes how Qunar's operations team designed and implemented a cloud‑native Elasticsearch‑as‑a‑Service platform using Mesos, Marathon, and Docker, covering requirements analysis, technology selection, resource quota management, cluster isolation, service discovery, data reliability, monitoring, automated deployment, and future improvements.
Badoo migrated its massive PHP codebase to PHP 7 across hundreds of servers, overcoming engine bugs, HHVM limitations, and extension incompatibilities, while revamping testing infrastructure and deployment processes, ultimately achieving up to 40% faster response times, eight‑fold memory reduction, and roughly one million dollars in cost savings.
This article collection explores how Mesos and Docker enable continuous delivery, argues that traditional operations roles are becoming obsolete amid automation and BizDevOps integration, and shares practical CMDB design experiences emphasizing top‑level modeling and ongoing improvement.
This article outlines a comprehensive performance testing workflow, introduces layered and segment diagnostic methods, presents a detailed Apache/Tomcat/Linux/Oracle case study with LoadRunner and Nmon, and discusses monitoring metrics, analysis results, and practical recommendations for optimizing system performance.
This article outlines the essential skills, mindset, and learning ability required for a qualified operations engineer and details the four key competencies—communication, emergency response, continuous reflection, and strong learning—that define an outstanding ops architect.
This article shares Meituan’s practical strategies for efficient database operations, covering rapid business growth handling, automated DDL workflows, systematic training, capacity planning, backup automation with xtrabackup, and real‑world Q&A on monitoring, replication, and disaster recovery.
This article details how Dianping’s sub‑40‑person operations team structures its groups, designs a dual‑datacenter architecture, and creates comprehensive monitoring, automation, configuration, and analysis systems—including Zabbix, Cat, workflow, Button, and a custom radar platform—to achieve high‑availability, self‑service, and continuous improvement.