X-Hub Alerts: What Is Sent, When and How to Tune
Ask AI
Ready taskDo it with me, step by step
Chat assistants
Open in ChatGPTNew tabOpen in ClaudeNew tabCoding agents
Claude CodeOpens the desktop appCodexOpens the desktop appCursorOpens the app from the webCopy
View as MarkdownPlain text for AI toolsSee the prompt
Read https://xproxy.io/document/xproxy-hub-alerts.md, the XProxy guide "X-Hub Alerts: What Is Sent, When and How to Tune". If you cannot open links, download them with curl. Then take me through it one step at a time: tell me exactly what to click or type, wait until I say it is done, and help me when what I see is different from the guide. Start by asking what I have (hardware, XProxy version, what I see now). Other XProxy guides, each with a Markdown copy at its URL + .md, are listed in https://xproxy.io/llms.txt.
The app opens with the prompt filled in. Nothing runs until you press Enter.
X-Hub watches your servers all day. It opens an incident only when it is sure that something is really wrong: the problem has to last for a set time without a break. It tells you once, updates that message as things change, and closes the incident when the problem is gone. This page lists every alert, how long X-Hub waits first, and how to make it quieter or louder.
You need: a running X-Hub with at least one server. To get messages on your phone, set up the Telegram bot.
Why do I get only a few alerts?
An alert that wakes you up should be a real problem. So X-Hub does not react to the first sign. It looks at the state of every server a few seconds apart, and it opens an incident only when the problem has lasted for its wait time without a break. A problem that fixes itself before that sends nothing: no incident, no Telegram message and no webhook. It only shows as events on the page of the server.
Which problems raise an alert, and after how long?
| Alert | Level | Opens when | Closes when |
|---|---|---|---|
Server is offlineserver.offline | Critical | A server has been disconnected from the hub for 3 minutes. | The server connects again. |
XProxy is not respondingserver.controller_down | Critical | The server is connected but its XProxy panel has not answered for 3 minutes. | XProxy answers again. |
| Many modems offline | Critical | 10 or more modems of one server are down or missing together for 5 minutes. On a server with fewer than 34 modems, more than 30 % of them (and at least 3) is enough. | The modems are back. Modems that are still down then get their own alerts. |
Two machines use one identityserver.identity_conflict | Critical | At once, when two machines use the identity of one server (for example a cloned disk). | The copy is disconnected and paired again. |
Modem is offlinemodem.offline | Warning | A modem has been disconnected for 5 minutes. The same wait applies to a modem that vanished from the list of the server (unplugged or not detected); its alert says missing (unplugged or not detected). | The modem is back. A modem missing for 24 hours is forgotten: the alert closes with was removed. |
| Modem keeps dropping | Warning | A modem dropped 5 times within 60 minutes and came back each time before the 5 minute wait. This is the only way short drops alert. | The modem has not dropped for 60 minutes. |
Port is not answeringport.down | Warning | The check of the server finds a proxy port that refuses connections or does not answer, in every check for 5 minutes. The server checks every 2 minutes. | The port answers. |
| No internet through a modem | Warning | The port answers, but the modem has no working internet behind it. The server confirmed it with three tries, and the modem failed every re-check for 10 minutes. A server with an older agent needs 25 minutes. | A re-check works. |
Modem stuck rotatingmodem.rotation_stuck | Warning | A modem has been rotating its IP for 5 minutes. | The rotation ends. |
Disk is almost fullserver.disk_low | Warning | The disk is 90 % full or more for 10 minutes. | The disk falls below 85 %. |
License expires soonlicense.expiring | Warning | The plan ends within the warning time. The default is 7 days; an owner can set 1 to 30 days through the hub API. | The plan is renewed. |
License has expiredlicense.expired | Critical | At once, when the plan has ended. | The plan is renewed. |
License is not activatedlicense.not_activated | Critical | The server runs without an activated license for 15 minutes. | The license is activated. |
- A modem that you or the IP guard stopped never alerts. A modem that is rotating alerts only when the rotation is stuck.
- A port alert is never opened for a modem that already alerts as offline or missing, or that is rotating or stopped. The modem is the story, and the closed port is only a symptom.
- A license alert has a Renew license button in Telegram.
- While a server is offline or its XProxy does not answer, X-Hub has no fresh data about its modems, so their open alerts neither open nor close until it is back.
- Fleet counts, such as Modems up in
/status, count online servers only. An offline server is shown on its own line, and its modems are not counted as down.
Which alerts ring my phone?
The level decides the sound. A critical alert is about a whole server or about money, and while it is open it makes a sound in Telegram. A warning arrives silently, and so does everything that is fixed: the edit of a message, and every recovery message. A silent message still arrives and shows on the lock screen. It only makes no sound.
- AcknowledgeRotate IP
- Modem actions
- Open in Hub (opens a page)
- Acknowledge
- Open in Hub (opens a page)
What happens when many modems fail together?
When a power cut or a USB hub takes out many modems at once, you do not want one message per modem. If 10 or more modems of a server go down together (or more than 30 % on a server with fewer than 34 modems), X-Hub opens one critical alert for the server, for example 32 of 70 modems on Farm B are offline. The alerts of the single modems of that server wait while it is open.
Problems that open on one server in the same moment share one Telegram message. Equal problems share one line, and the server name appears once, in the heading.
- Acknowledge all
- Open in Hub (opens a page)
What if a modem drops again and again?
A drop that is shorter than the wait time sends nothing. But a modem that drops over and over is a real problem, for example a loose cable or a weak USB hub. When a modem drops 5 times within an hour, X-Hub opens one Modem keeps dropping alert, for example Modem #6 on Farm B keeps dropping: 5 times in the last hour. You get at most one such alert per modem per day. It closes after an hour without a drop. Look at the cable, the USB hub, the power supply and the signal before you look at any setting.
What happens when a server restarts?
A server that restarts needs a few minutes to bring its modems and ports back. X-Hub waits 5 minutes after any of these before it can open a new alert about the modems, rotation or ports of that server:
- the server comes back after being offline or after XProxy did not answer;
- the server reconnects to the hub;
- X-Hub notices that the server restarted or was updated;
- the hub itself starts. Then every server counts as coming back.
No wait time runs during those 5 minutes. After them, the normal waits start from zero, so a modem that is still down alerts 5 minutes later, 10 minutes after the restart in all. Alerts that were already open stay open and still close by themselves. The settle time does not delay Server is offline, XProxy is not responding, disk and license alerts. A normal update therefore sends no modem alerts, only the restart notice.
What if the same problem comes back?
If a problem clears and comes back within 30 minutes, X-Hub reopens the same incident instead of making a new one. The Telegram message is edited, not sent again, and says Came back N× after resolving, so you are not alerted twice. A problem that comes back after more than 30 minutes is a new incident.
- AcknowledgeRotate IP
- Modem actions
- Open in Hub (opens a page)
What are notices?
A notice tells you something that is not a problem. It opens no incident and needs no closing.
| Notice | When | Where |
|---|---|---|
| Server restarted | A server reboots, or XProxy restarts after an update. | Telegram chats in Instant mode, the digest, and the webhook server.restarted. |
| New XProxy version | Servers report a new release. Once per version. | Owners in Telegram, and the webhook software.update_available. |
| New X-Hub version | A new hub release is out. Once per version. | Owners in Telegram, and the webhook hub.update_available. |
| Sold proxies expire soon | Sold proxies on a server expire within 3 days. | Owners in Telegram, and the webhook selling.expiring. |
| Webhook endpoint turned off | X-Hub stopped sending to an endpoint after repeated failures. | Owners in Telegram. See Webhooks. |
| Chat is not delivering | Telegram refuses messages to a chat. | The chat shows Not delivering with the reason on the Telegram page. |
Notices to owners go to their private chat with the bot, whatever the alert mode and even if a group is muted.
What does a digest show?
A digest sums up a period: how many servers and modems went down and came back, restarts, ports, license warnings, the servers with the most changes, and everything still open, with one section per server. Equal problems share one line. Before hub 0.8.2, the digest listed every open problem on its own line with the server name repeated.
- Open in Hub (opens a page)
Where do I see and tune alerts?
Step 1 of 3
Open Incidents in the menu. Open 1 lists the problems that are happening now. Resolved and All show the history. Every row shows the kind of alert 2, the server, how long it has lasted, and an Acknowledge button 3.
A row closes by itself when the problem is gone. You never close one by hand.
Events in the menu is a live feed of what servers report to the hub. Incidents are the place to review alerts.
What is not alerted?
- A problem that is shorter than its wait time. Short blips fix themselves most of the time. They only show as events on the page of the server.
- New modem and port problems during the 5 minutes after a restart or an update.
- Single modems of a server while an alert for many modems of that server is open.
- Modems of an offline server. Only the server alert is raised.
- A modem that was stopped on purpose.
- A server that sends no port check never raises Port is not answering. A server that sends no disk size never raises Disk is almost full.
FAQ
A modem was down for a minute and I got nothing
That is the wait time. A modem must be offline for 5 minutes first, and after a server restart X-Hub waits 5 minutes more. If it keeps happening, X-Hub opens a keeps dropping alert after five drops in an hour. Check the Incidents page: the alert is there once it opened.
I get too many messages
Set the chat to Critical only and turn on a daily digest. You then get outages and expired licenses at once, and everything else in one summary. You can also mute a chat, a server or a modem for a while, see Telegram bot.
The same problem keeps coming back
Within 30 minutes it reopens the same alert and counts the returns. Look at the modem, its SIM and its power, not at the alert settings.
What next?
Pick where alerts go.

