arnaudsj / monit

Monit is a free open source utility for managing and monitoring, processes, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. (unofficial mirror)

Home Page:http://mmonit.com/monit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate output file for other programs to use.

Bacteriaphage opened this issue · comments

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.

does monit work with other process gitlab or jenkins

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.