A custom command monitor #4278

Closed
opened 2026-02-28 03:56:58 -05:00 by deekerman · 0 comments
Owner

Originally created by @XotEmBotZ on GitHub (Aug 30, 2025).

Everything considering improving and creating new monitors as it can be acheived by this (till an actual implementation is done)

🏷️ Feature Request Type

New monitor

🔖 Feature description

A custom monitor which runs a command in the server and decides the state based on the output

✔️ Solution

I want a custom monitor which will allow me to run a command in the server and based on the exit code (or output ) the monitor will change its state. Preferably the output of the command will be sent in the notification and be noted down

Alternatives

Presently I have to create a lightweight python http server to do the same and use uptime kuma to do the monitoring which is very tedious.

📝 Additional Context

I (and supposedly many others) sometime needs custom monitoring solution, its very difficult for developers to maintain and update such many monitoring types. Every thing that we need can be done using a terminal so why not create a monitor to run those commands?
Features=>
A very complex logic for monitoring:
A service / protocol which is not supported:
A propitiatory thing:
Anything too hectic to maintain:
Rejected monitors:
Most of not implemented / under work monitors: (for those who need it fast)

Originally created by @XotEmBotZ on GitHub (Aug 30, 2025). ### 📑 I have found these related issues/pull requests [Everything considering improving and creating new monitors](https://github.com/louislam/uptime-kuma/issues?q=is%3Aissue%20sort%3Acreated-desc%20label%3Afeature-request%20label%3AA%3Amonitor%20label%3Atype%3Anew&page=1) as it can be acheived by this (till an actual implementation is done) ### 🏷️ Feature Request Type New monitor ### 🔖 Feature description A custom monitor which runs a command in the server and decides the state based on the output ### ✔️ Solution I want a custom monitor which will allow me to run a command in the server and based on the exit code (or output ) the monitor will change its state. Preferably the output of the command will be sent in the notification and be noted down ### ❓ Alternatives Presently I have to create a lightweight python http server to do the same and use uptime kuma to do the monitoring which is very tedious. ### 📝 Additional Context I (and supposedly many others) sometime needs custom monitoring solution, its very difficult for developers to maintain and update such many monitoring types. Every thing that we need can be done using a terminal so why not create a monitor to run those commands? Features=> A very complex logic for monitoring: ✅ A service / protocol which is not supported:✅ A propitiatory thing:✅ Anything too hectic to maintain: ✅ Rejected monitors: ✅ Most of not implemented / under work monitors:✅ (for those who need it fast)
deekerman 2026-02-28 03:56:58 -05:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uptime-kuma#4278
No description provided.