Support Unix sockets #3553

Open
opened 2026-02-28 03:33:23 -05:00 by deekerman · 3 comments
Owner

Originally created by @lotigara on GitHub (Aug 19, 2024).

Related issues/pulls are only about monitoring Docker containers, while this issue is about monitoring Unix sockets on host system.

🏷️ Feature Request Type

New monitor

🔖 Feature description

It is about supporting Unix sockets on Unix(-like) systems, usually located in /var/run/*.sock.

✔️ Solution

I want to be able to select Unix socket monitor type when creating such and filesystem path where my socket is located.

Alternatives

No response

📝 Additional Context

The app to be monitored is Weblate. It's installed via YunoHost and configured to use Unix socket. As YunoHost overwrites config files on each update of app, I can't just re-configure Weblate to use TCP.

N.B.: Please do not suggest not using YunoHost nor Unix sockets or using local_settings.py, because there are many apps that use Unix sockets.

Originally created by @lotigara on GitHub (Aug 19, 2024). ### 📑 I have found these related issues/pull requests Related issues/pulls are only about monitoring Docker containers, while this issue is about monitoring Unix sockets on host system. ### 🏷️ Feature Request Type New monitor ### 🔖 Feature description It is about supporting Unix sockets on Unix(-like) systems, usually located in `/var/run/*.sock`. ### ✔️ Solution I want to be able to select `Unix socket` monitor type when creating such and filesystem path where my socket is located. ### ❓ Alternatives _No response_ ### 📝 Additional Context The app to be monitored is Weblate. It's installed via [YunoHost](https://yunohost.org) and configured to use Unix socket. As YunoHost overwrites config files on each update of app, I can't just re-configure Weblate to use TCP. N.B.: Please do not suggest not using YunoHost nor Unix sockets or using `local_settings.py`, because there are many apps that use Unix sockets.
Author
Owner

@CommanderStorm commented on GitHub (Aug 19, 2024):

What would you like to monitor specifically? (to prevent an XY-Problem)

@CommanderStorm commented on GitHub (Aug 19, 2024): What would you like to monitor specifically? (to prevent an [XY-Problem](https://xyproblem.info/))
Author
Owner

@lotigara commented on GitHub (Aug 19, 2024):

What would you like to monitor specifically? (to prevent an XY-Problem)

Edited, see first post.

@lotigara commented on GitHub (Aug 19, 2024): > What would you like to monitor specifically? (to prevent an [XY-Problem](https://xyproblem.info/)) Edited, see first post.
Author
Owner

@cbdonohue commented on GitHub (Aug 19, 2024):

Could you do a proxy like socat TCP-LISTEN:12345,reuseaddr,fork UNIX-CONNECT:/var/run/weblate.sock to convert between TCP and unix sockets?

@cbdonohue commented on GitHub (Aug 19, 2024): Could you do a proxy like `socat TCP-LISTEN:12345,reuseaddr,fork UNIX-CONNECT:/var/run/weblate.sock` to convert between TCP and unix sockets?
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#3553
No description provided.