-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TCP or unix socket interface for integration with 3rd-party tools #14
Comments
anything specific in mind? the "hook" commands could do whatever you want already |
Under the "hook" you mean the I near about creation a tiny web interface for a bunch of mon processes, but retrieving info about all mon instances, their options and current status looks a bit tricky and implicit without mon master-process or another common end-point for retrieving info about all running mon instances. |
ah I see, yeah maybe someday we can write mongroup in C and add some json networking stuff but that would be pretty annoying in shell scripts right now. you could still write a web thing but mon would have to become an internal implementation detail pretty much like mongroup, you dont even consider mon in that tool it's just there |
ok, thanks for the answer. I think it's a time for monit. |
I do like dashboards etc, so I'd be happy to add something, I'll think on it. Even if the stdio was a more machine-friendly format, or a json option that would be much better |
Mm… maybe an option in addition to |
yeah I think that would be good, nothing wrong with using stdio, it's easy enough to tail a file or pipe. I'll reopen |
Yeah, thanks! |
You can use socat to redirect to any sort of socket you want. eg, |
was just thinking about this a bit, we're definitely better off going with a fifo or unix socket, less chance of people polluting stdio |
May be my request poisons KISS principles, but it can be a great feature for integration with other tools without a need to parse text output from STDOUT.
The text was updated successfully, but these errors were encountered: