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

Generate output file for other programs to use. #27

Open
Bacteriaphage opened this issue Oct 2, 2020 · 2 comments
Open

Generate output file for other programs to use. #27

Bacteriaphage opened this issue Oct 2, 2020 · 2 comments

Comments

@Bacteriaphage
Copy link

Hi,

Currently Monit can show the monitoring result in a static webpage. But I think GET model doesn't fit into this monitoring system very well, because it needs to refresh every time to get the new result, and it will not provide user a good using experience.

I propose adding a new functionality to output result to a file and then we can use other webserver to handle the result. What I am using now is python tornado + websocket. And I can make the checking interval be every short, which almost doesn't work for static page update routine.

@Bacteriaphage Bacteriaphage changed the title Generate output file for other program to use. Generate output file for other programs to use. Oct 2, 2020
@shahabtrojan
Copy link

does monit work with other process gitlab or jenkins

@dr0i
Copy link

dr0i commented Feb 2, 2024

I do this by alerting to an email address. The mail queue is checked with inotifywait if it's changing and if so the http daemon is curled to a file. You could even use monit to check file monit's log and exec a script writing the status file, but using email makes it easier for me to gather information from different machines.

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

No branches or pull requests

3 participants