monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Statistics by mail


From: Jan-Henrik Haukeland
Subject: Re: Statistics by mail
Date: 12 Jul 2002 13:54:45 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service)

Thomas Oppel <address@hidden> writes:

> Em, a short question for statistics by mail.
> 
> While you're polishing up the web interface, would it be a big thing to 
> achieve the collected data as mail or/and write it to file (f.e. 
> /mydocumentroot/monit.html) without having to have the http server runing?

I have just finnished this. If you run 'monit status' you will get the
following output (independent of if monit http running but it will be
shown in the web interface):

 $ ./monit status
Process 'apache' is running with pid [4740] Uptime: 19d 7h 9m 


The test is very simple. I print the time since the processes pidfile
was changed, it sounds too simple but works :)


I'll post the new beta in a short while.

-- 
Jan-Henrik Haukeland



reply via email to

[Prev in Thread] Current Thread [Next in Thread]