Skip to content
Mustafa Erbay
Technology · 5 min read · görüntülenme Türkçe oku

What Happens When You Don't Set Up Monitoring? A Bitter Lesson from

In my twenty-year career, I've personally experienced how neglected monitoring leads to unexpected costs for systems and businesses. This post explores how.

100%

Watching a system silently die was one of the most helpless moments of my career. What’s more, this death was merely the result of screams that had gone unheard for days. For me, monitoring isn’t just about installing a tool; it’s about establishing communication with the system, hearing its breath, its heartbeat.

In my twenty years of experience, I’ve always seen the most complex problems arise from the simplest oversights. And at the forefront of these oversights, more often than not, was inadequate or non-existent monitoring. Monitoring a system is an indispensable step to being proactive and preventing potential disasters.

Before Symptoms Knock: Unheard Cries

While developing the ERP for a manufacturing company, there was a critical data transfer job that ran at night. This job, for iSCSI-based supply chain integration, ran once a day and normally completed within two hours. One morning, there was massive chaos due to inconsistencies in shipment planning.

It took us three days to realize that the job was stuck due to an integration error and had been running for over six hours. Since the OnFailure setting of the systemd unit was not properly configured, no one was notified of the error. Add to that the fact that no one was regularly checking journald logs in that busy period, and a silent disaster had occurred. The result was incorrectly loaded trucks, empty returning vehicles, and hundreds of thousands of liras in operational damage. This situation was the direct cost of a lack of monitoring.

Silent Killers: Details Missed Without Monitoring

Systems often whisper to us what’s happening; if we don’t know how to listen, those whispers can suddenly turn into a noisy crisis. In the backend of one of my side products, I noticed Redis inexplicably starting to consume memory. Due to an incorrect OOM eviction policy choice, old data wasn’t being deleted, and the service was slowly bloating. If I had regularly monitored Redis’s used_memory metric, this issue would have triggered an alarm before it even started; however, I had to discover it through manual checks.

I experienced similar situations on the PostgreSQL side. In a client project, disk space was slowly depleting due to a WAL bloat problem. Since there was no vacuum monitoring, no one noticed the issue until it reached a critical level. On the network side, intermittent connection drops caused by MTU/MSS mismatches or VLAN tagging complexities were simply dismissed as “it happens sometimes” without monitoring. On the security side, not knowing if fail2ban was working effectively enough, or if auditd logs were being audited, always bothered me.

Cost Calculation: The Price We Ignore

One of the most striking monitoring stories I experienced was at a large Turkish e-commerce site. A disk on one of the servers slowly started to fill up. Unfortunately, there was no monitoring system or alarm for critical disk usage metrics. On the night of April 28th at 03:14 AM, the disk reached 100% capacity, and the entire payment system went down. No WAL rotation alarm was triggered because such a system didn’t exist.

The problem was only discovered at 09:00 AM, following numerous complaints from customers. That six-hour outage led to hundreds of thousands of liras in lost revenue and irreversible customer dissatisfaction. This situation was a bitter proof that the cost of monitoring setup is a drop in the ocean compared to the cost of an outage.

A Matter of Culture: Monitoring Is More Than Just a Tool

In my opinion, monitoring is not just a set of graphs and alarm panels. It’s an indicator of a team’s responsibility towards its systems, a proactive approach, and a desire to solve problems at their root. Imagine a scenario where a company has three different ISPs at its exit, and voice packets get corrupted if DSCP marking is not done correctly. Without monitoring such critical details, finding the source of problems is like searching for a needle in a haystack.

It’s not enough to just keep systems running. We also need to know how they are running, when they are struggling, and when they need help. In my experience, the only bridge that provides this information flow is an effective monitoring infrastructure.

So, what was the most expensive lesson caused by a lack of monitoring in your career? Or, conversely, do you have a memory of a good monitoring system saving you? Share your thoughts in the comments.

Paylaş:

Bu yazı faydalı oldu mu?

Yükleniyor...

How was this post?

Frequently Asked Questions

Common questions readers have about this article.

What should I pay attention to when setting up monitoring systems?
In my experience, the most important point when setting up monitoring systems is to establish communication with the system and be proactive in preventing potential disasters. Therefore, we should choose tools that can hear the system's breathing and heartbeat, and regularly check its logs. Additionally, to ensure that systems will notify someone in case of an error, the necessary settings should be configured and tested.
Which tools should I use before setting up monitoring?
I generally use tools like `journald` to check system logs and `systemd` units to monitor system performance. It's also necessary to use special tools to monitor memory usage of data storage tools like Redis. However, the most important point is to choose tools according to the specific needs of the systems and update them regularly.
What could be the cost of a lack of monitoring?
In my experience, the cost of a lack of monitoring can be quite high. For example, while developing the ERP for a manufacturing company, there was a critical data transfer job that ran at night. This job getting stuck due to an integration error, taking more than six hours, and going unnoticed by anyone, caused hundreds of thousands of liras in operational damage. Therefore, it is very important to regularly monitor systems and anticipate potential errors to calculate and prevent the cost of a lack of monitoring.
Which mistakes should I avoid when doing monitoring?
In my experience, one of the most important mistakes to avoid when doing monitoring is not configuring the necessary settings to ensure that systems will notify someone in case of an error. Additionally, not regularly checking system logs and not monitoring system performance are also important mistakes. Therefore, when setting up monitoring systems, one should choose tools according to the specific needs of the systems, update them regularly, and configure and test the necessary settings to ensure that systems will notify someone in case of an error.
ME

Mustafa Erbay

Sistem Mimarisi · Network Uzmanı · Altyapı, Güvenlik ve Yazılım

2006'dan bu yana sistem mimarisi, network, sunucu altyapıları, büyük yapıların kurulumu, yazılım ve sistem güvenliği ekseninde çalışıyorum. Bu blogda sahada karşılığı olan teknik deneyimlerimi paylaşıyorum.

Kişisel Notlar

Bu notlar sadece sizde saklanır. Tarayıcınızda yerel olarak tutulur.

Hazır 0 karakter

Comments

Server-side AI Moderation

Comments are AI-moderated server-side and stored permanently.

?
0/2000

Server-side AI moderation

✉️ Free · No spam · Unsubscribe anytime

Get notified about new posts

New content and technical notes — straight to your inbox.

  • 📌
    Best of the week Single most-worth-reading post
  • 🔧
    Toolbox notes Real tools I used this week
  • 🧠
    Behind-the-scenes Notes that don't make it to blog

We don't spam. Unsubscribe anytime. · Tracked only by Umami (self-hosted, no Google).

Your Reading Stats

0

Posts Read

0m

Reading Time

0

Day Streak

-

Favorite Category

Related Posts