Tutorials / Get Telegram Alerts When a Server Goes …

MonitoringTelegramPingTickSmall business

Get Telegram Alerts When a Server Goes Down (Free, with PingTick)

Mt
Antony Njagi KigunduCore Mtaalam Technologies

Most small businesses find out the server is down when staff start complaining. In this tutorial you will set up PingTick, our free network monitor for Windows, to watch your important devices and send a Telegram message the moment something goes down, and another when it comes back.

Time: about 20 minutes. Level: beginner. Cost: free.

What you need

  • A Windows 10 or 11 PC that stays on: a reception PC, an admin workstation or a small always-on box.
  • The Telegram app on your phone.
  • A list of what to watch: router, firewall, servers, NAS, printers, your website.
PingTick checking office devices and sending Telegram alerts to a phone
What you are building: PingTick checks each device and your Telegram bot delivers the alert to your phone.

Step 1: Download and start PingTick

  1. Download PingTick_vX.Y.Z_windows_x64.zip from the latest release.
  2. Right-click the zip, choose Extract All, and extract it to a folder you will keep, such as Documents\PingTick.
  3. Run PingTick.exe. It is not code-signed yet, so if SmartScreen warns you, click More info → Run anyway.

PingTick keeps its data in pingtick.db next to the exe. Closing the window only hides it in the system tray; it keeps monitoring.

Step 2: Add the devices to watch

Type an IP address or hostname into the box and click Add. Then use Edit to choose the check type and interval. Pick the check that matches what you care about:

  • Ping (ICMP) for routers, switches, printers and servers.
  • TCP port (host:port) when the service matters more than the machine, for example 10.0.0.5:1433 for SQL Server or mail.example.co.ke:443.
  • SSL certificate for your website, so you are warned before the certificate expires.
  • DNS to measure how long name lookups take.

Not sure what is on your network? The built-in IP scanner sweeps a range of up to 4,096 addresses and adds the live devices in one go.

Step 3: Create a Telegram bot

  1. In Telegram, open a chat with @BotFather (check for the blue verified tick).
  2. Send /newbot, then choose a display name (for example "Office Monitor") and a username ending in bot.
  3. BotFather replies with a bot token that looks like 123456789:AA.... Treat it like a password.
  4. Open a chat with your new bot and send it any message, such as "hello". A bot cannot message you until you have messaged it first.

Step 4: Find your chat ID

In a browser, open this address, replacing <TOKEN> with your bot token:

https://api.telegram.org/bot<TOKEN>/getUpdates

Look for "chat":{"id": followed by a number. That number is your chat ID. To alert a whole team, add the bot to a Telegram group, send a message in the group, and use the group's chat ID instead (it starts with a minus sign).

Step 5: Connect PingTick to Telegram

  1. In PingTick, open Web Dashboard → System Settings. The dashboard only listens on 127.0.0.1, so nobody else on the network can reach it.
  2. In the Telegram alert settings, enter your bot token and chat ID.
  3. Set the failure threshold: how many failed checks in a row before an alert is sent. Two or three stops a single dropped ping from waking you up at night.
  4. Save, then send a test alert if the option is offered.

You can add email alerts with several recipients in the same place, using your own SMTP server.

Step 6: Test it properly

Unplug a test device, such as a spare printer or a laptop you have added. After the failure threshold is reached you should get a "down" message on Telegram, and a recovery message when you plug it back in. If nothing arrives, check the bot token and chat ID, and make sure the PC can reach api.telegram.org.

Step 7: Make it survive a reboot

Press Win+R, type shell:startup, and put a shortcut to PingTick.exe in that folder. PingTick will start with Windows. To quit completely, right-click the tray icon and choose Shutdown Engine.

Going further

  • Daily summary: switch on the optional daily uptime summary to Telegram or email.
  • Reports: export uptime and latency per device as PDF or CSV, useful evidence when your ISP's link keeps dropping.
  • Certificate warnings arrive at 30, 14, 7 and 1 days before expiry.

Monitoring is point 7 in our 10-point IT checklist for Kenyan SMEs. For bigger networks with servers, patching and security in one place, see KIFAA, or talk to us about managed monitoring. Full details are in the PingTick documentation.

Keep building

Want this kind of capability in your business?

Tell us what you are trying to run — we will tell you the honest way to run it. Free consultation, no obligation.

Talk to the team