Learn / Lessons

Monitoring and alerts

Would you rather find out your server has a problem from an alert, or from a user? Monitoring has a few parts. Exporters report numbers from your machine.

Chapters

  1. 0:00Introduction
  2. 0:06The pieces: Measure, warn, act
  3. 0:18What to watch: The vital signs
  4. 0:29Right now: A quick look
  5. 0:36Good alerts: Only what matters
  6. 0:46Delivery: Reach you
  7. 0:53Prove it: Test the alerts
  8. 1:03Made easy: At a glance
  9. 1:15Wrap up
Read the transcript

Introduction

Would you rather find out your server has a problem from an alert, or from a user?

The pieces: Measure, warn, act

Monitoring has a few parts. Exporters report numbers from your machine. A collector such as Prometheus stores them over time. Dashboards show them, and alerts tell you.

What to watch: The vital signs

Watch available memory, because a model server needs room. Watch temperatures. Watch free disk space. And watch whether your services are answering.

Right now: A quick look

For a quick look from a terminal, check memory and disk, and ask the graphics processor how it is.

free -g
df -h
nvidia-smi

Good alerts: Only what matters

Alert on things you'd act on. Wait a few minutes, so a short blip stays quiet. Say what's wrong and what to do. Too many alerts get ignored.

Delivery: Reach you

An alert manager groups related alerts and sends them by email, message or phone.

Prove it: Test the alerts

An alert that never arrives is worse than none. Send a test alert. Check it reaches your phone. And repeat after you change anything.

Made easy: At a glance

Server AI Hub shows these readings for your DGX Sparks. Memory, graphics, temperature and disk in one place. And it emails you when a failure is confirmed.

Wrap up

Watch the vital signs, and test that alerts arrive.

Sources

More lessons