uptime-kuma icon indicating copy to clipboard operation
uptime-kuma copied to clipboard

add MongoDB ping monitor

Open rmarops opened this issue 2 years ago • 2 comments

⚠️ Please verify that this feature request has NOT been suggested before.

  • [X] I checked and didn't find similar feature request

🏷️ Feature Request Type

New Monitor

🔖 Feature description

PR #2328 adds a MongoDB monitor that connects to the specified database and executes a mongo db ping.

✔️ Solution

Based on the other database support however the Query block has been removed as (in my opinion) typical select statements are a bit tricky on mongo. Instead I decided on the builtin ping.

The ping command is a no-op used to test whether a server is responding to commands

❓ Alternatives

TCP Port check on if the port is listening though I think a db check should be a bit more thorough by performing a db auth and mongo db ping (minimum).

📝 Additional Context

No response

rmarops avatar Nov 17 '22 20:11 rmarops

Yes please

Amirilw avatar Nov 29 '22 20:11 Amirilw

Please Add It Would Be A Great Thing

Wizqdev avatar Jan 07 '23 09:01 Wizqdev