Skip to content
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

Have tcollector automatically read from named pipes #16

Open
tsuna opened this issue Apr 22, 2011 · 0 comments
Open

Have tcollector automatically read from named pipes #16

tsuna opened this issue Apr 22, 2011 · 0 comments

Comments

@tsuna
Copy link
Member

tsuna commented Apr 22, 2011

The idea is to have a directory where users can create arbitrary named pipes. tcollector will watch this directory (to find out when named pipes get added or removed) and will read from all the pipes. tcollector will expect to read the same kind of format from these pipes as it does from its collector child processes. In the main loop of tcollector, we need to look for new named pipes, open them if necessary, then select on all the FDs to find which ones have become readable and read from them.

tcollector would also need a flag to indicate which directory is the directory to watch for named pipes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant