You can connect the PRTG Network Monitor to a Telegram bot. This setup creates notifications sent to a group. The notifications occur when Mikrotik devices go down or back up. PRTG will monitor your devices. When it detects a change in the device status, it will trigger notifications to the group via Telegram. This guide will show you how to create notifications sent to the Telegram group when devices are down and up.

Here’s how you can set this up:
Table of Contents
- 1 Prerequisites
- 2 Step 1: Create a Telegram Bot
- 3 Step 2: Get the Telegram Group ID
- 4 Step 3: Set Up Notifications in PRTG
- 5 Step 4: Configure the Notification Triggers
- 6 Step 5: Test the Setup
- 7 Why Recommend MikroTik CRS328‑24P‑4S+RM?
- 8 Real-World Feedback & Considerations
- 9 Suggested Pitch for Prospective Buyers
- 10 TL;DR – Pros & Considerations Table
Prerequisites
- PRTG Network Monitor is installed and configured to monitor your Mikrotik devices.
- A Telegram Bot was created (you can create one using BotFather on Telegram).
- The Telegram Group or Channel ID where you want to receive notifications.
Step 1: Create a Telegram Bot
- Open Telegram and search for BotFather.
- Start a chat with BotFather and create a new bot by using the command
/newbot.
This is the first step. It involves creating notifications sent to the Telegram group. These notifications alert you when devices are down and up. - Follow the prompts to give your bot a name and a username.
- After creating the bot, BotFather will give you a bot token (a string that looks like
123456789:ABCDEF1234ghIkl-zyx57W2v1u123ew11
).
Step 2: Get the Telegram Group ID
- Add the bot to the Telegram group where you want to send the notifications.
- Use this API call to get the Group ID:
- Send a message to the group and retrieve the ID by visiting the URL below in your browser:
https://api.telegram.org/bot
. Gathering the proper Group ID is critical. This is essential for creating notifications sent to the Telegram group when devices are down and up./getUpdates - Replace with the token from BotFather.
- Look for
"chat": {"id": -123456789}
in the response. The number with a negative sign is your Group ID (e.g.,-123456789
).
Step 3: Set Up Notifications in PRTG
- Log into your PRTG instance and go to Setup > Account Settings > Notification Templates.
- Click Add Notification Template to create a new template for your Telegram alerts.
- Name the template (e.g., Telegram Device Status Alert).
- Under Send HTTP Request settings:
- URL: Use the Telegram Bot API with the following URL:
https://api.telegram.org/bot
/sendMessage - Replace with the token you kh from BotFather.
- Request Type: Set this to
POST
. - Content-Type: Set this to
application/x-www-form-urlencoded
. - POST Data: Here’s where you set the data to be sent in each notification:
chat_id=-123456789&text=Device %device with IP %deviceip is now %status
- Replace
-123456789
with your Group ID. %device
,%deviceip
, and%status
PRTG placeholders will dynamically display the device name, IP address, and current status (up or down).
- Replace
Step 4: Configure the Notification Triggers
- In PRTG, go to the device or sensor for your Mikrotik routers.
- Under Notification Triggers, set a new trigger for the State:
- When the sensor state is: Down and up.
- Latency: Optional, depending on how quickly you want the alert sent.
- Notification Template: Select the Telegram template you created.
- This will ensure creating notifications for the Telegram group. They will be sent when devices are down. Notifications will also be sent when devices are up. No states will be missed.
Step 5: Test the Setup
- Manually take down a device or simulate a failure to see if you receive a notification in your Telegram group.
- When the device returns online, PRTG should also send an “up” notification.
With this setup, PRTG will notify your Telegram group whenever a monitored Mikrotik device goes down. It will also notify when the device comes back up. This effectively shows you how to create notifications sent to the Telegram group when devices are down and up.
Why Recommend MikroTik CRS328‑24P‑4S+RM?
For network enthusiasts and professionals, the MikroTik CRS328-24P-4S+RM offers unparalleled power and flexibility. It does this without the enterprise price tag. This isn’t just a switch. It’s a powerhouse that delivers 24 Gigabit PoE+ ports with a massive 600W budget. This allows it to effortlessly run everything from access points and phones to security cameras. Additionally, it has four 10G SFP+ ports for blisteringly fast backbone connections.
What truly sets it apart is the robust RouterOS software. It gives you complete control to configure it as a simple switch. You can also adjust it to be a sophisticated router, a managed firewall, or all of the above simultaneously. Built into a sturdy 1U rackmount design, the CRS328 offers enterprise-grade features. Its deep customization options would cost thousands from other brands. This makes it the intelligent choice for anyone building a serious, scalable, and high-performance network.

1. Rich Connectivity & Power Delivery
- Full PoE+ support across all 24 ports, accommodating both 802.3af and 802.3at standards, with up to 450 mA per port. Total PoE budget: impressive 450 W (divided as 3×150 W per 8-port block).
- Four 10 GbE SFP+ uplinks, enabling high-speed backbone connections—ideal for linking servers, NAS, or an uplink to your core router.
2. Dual OS Flexibility
- RouterOS or SwOS: choose a full routing layer with advanced features, or stick to a streamlined switching interface as needed.
3. Cost-Effective Feature Set
- Priced around $379–489, the CRS328 delivers features that would otherwise cost much more in enterprise-grade hardware.
- 40 GbE PoE+ budget and 4× SFP+ uplinks are unique at this segment, making it a high-value proposition.
4. Solid L2 Performance
- Designed primarily as a Layer 2 switch. It delivers non-blocking throughput. This setup is ideal for flat networks or when using an external router for inter-VLAN routing.
- Hardware offloading handles L2 switching efficiently; only enable L3 features if paired with a capable external router.
Real-World Feedback & Considerations
Power Consumption & Noise
- Idle draw is substantial—around 40–44 W even with no attached devices—largely due to fans and internal components.
- Users report fans run consistently, and noise can be noticeable depending on placement and ambient noise levels.
Routing Capability Caveat
- L3 features are limited. Enabling inter-VLAN routing or IP services can overload the modest CPU (1-core, 800 MHz). This may trigger instability.
- Best used as a pure L2 switch or with external routing—not ideal as a standalone router.
Long-Term Reliability & Support
- Warranty is generally only 1 year (potentially 2 in EU) which may concern some users.
- Overall stability is good when used as intended. Users praise its reliability in home labs and small business setups.
Suggested Pitch for Prospective Buyers
Looking for a powerful yet affordable PoE switch that supports 10 GbE uplinks? The MikroTik CRS328‑24P‑4S+RM is a rare combo:
- 24 full PoE+ ports across all RJ‑45 interfaces
- Four 10 GbE SFP+ uplinks for high-speed backbone performance
- Dual-boot OS options (RouterOS for complexity or SwOS for simplicity)
- Excellent Layer 2 throughput and functionality
- Highly competitive pricing—under $500 for a feature-packed package
Best for: small offices, labs, or CCTV setups that need PoE power and fast uplinks, with routing done elsewhere.
Just beware: it’s not a router replacement. L3 features are limited and may destabilize it. Plus, it’s a bit thirsty and a touch noisy. But if you design around those trade-offs, it’s an outstanding value.
TL;DR – Pros & Considerations Table
Pros | Considerations |
---|---|
24 PoE+ support | Requires external router for layer 3 tasks |
4× 10 GbE SFP+ uplinks | Idle power ~40–44 W, fans run often |
Dual-boot flexibility | Short 1‑yr warranty |
Affordable price (< $500) | CPU is not suited for intensive routing/ACLs |
Discover more from How To Kh
Subscribe to get the latest posts sent to your email.