Real-Time UPS Alerts via Telegram

Why Worry About Your UPS?

If you run any kind of server – whether it’s a home lab, a small business setup, or just a single NAS – chances are you’ve invested in an uninterruptible power supply (UPS) to protect your hardware and data. But here’s the catch: a UPS is only as useful as your awareness of its status. If the power goes out, or your UPS battery starts to fail, you need to know immediately. Otherwise, all that protection is for nothing.

The Problem with Traditional Alerts

Most UPS monitoring tools rely on email notifications. But let’s be honest: emails get buried, spammed, or simply go unnoticed until it’s too late. SMS is expensive and outdated. What you really want is a notification that pops up instantly, wherever you are.

Enter ups-telegram-notify

That’s exactly where ups-telegram-notify comes in. This open-source script bridges the gap between your UPS (using the popular Network UPS Tools, or NUT) and your Telegram account. It sends real-time alerts straight to your phone, tablet, or desktop—wherever you have Telegram installed.

Why Telegram?

  • Instant push notifications: No more missed emails.
  • Cross-platform: Works on iOS, Android, Windows, macOS, Linux.
  • Group support: Notify your whole team, not just one admin.
  • Free and secure: No extra costs, no third-party cloud.

How Does It Work?

ups-telegram-notify is a simple Bash script that hooks into your NUT setup. Whenever something important happens—like a power outage, low battery, or the UPS switching back online – the script sends a custom message to your chosen Telegram chat.

Setup is straightforward:

  1. Create a Telegram bot and get your chat/group ID.
  2. Download the script from GitHub.
  3. Configure your NUT installation to call the script on relevant events.
  4. Test it – and enjoy peace of mind.

Use Cases

  • Home labs: Get notified the moment your UPS kicks in, even if you’re away from home.
  • Small businesses: Alert multiple staff members instantly, so someone can always respond.
  • Remote sites: No more guessing if your gear is protected; you’ll know the second something goes wrong.

Get Started

After missing a critical UPS alert buried in my inbox, I realized there had to be a better way. Telegram is always with me, and its notifications are impossible to ignore. By combining the reliability of NUT with the convenience of Telegram, ups-telegram-notify makes sure you’re never left in the dark – literally.

If you rely on a UPS, don’t leave your alerts to chance. Check out the ups-telegram-notify GitHub repo for setup instructions and start getting real-time notifications today.