[us...@httpd] Information in mod_status to text file

2009-06-08 Thread ricardo13
Hi all, I've developed a simple monitor program to colect information about server machine. But, I liked mod_status because it provides all information that I need. There are two problems. First, I would like to write these information in a text file instead html page. Second, mod_status write

Re: [us...@httpd] Information in mod_status to text file

2009-06-08 Thread Davide Bianchi
ricardo13 wrote: > First, I would like to write these information in a text file instead html > page. How about calling the status page directly from a script? > Second, mod_status write the information in the text file every 1 second. I suggest you relax your monitoring a bit, otherwise you'll

Re: [us...@httpd] Information in mod_status to text file

2009-06-08 Thread ricardo figueiredo
On Mon, Jun 8, 2009 at 9:38 AM, Davide Bianchi < dav...@walterisookeensufferukker.nl> wrote: > ricardo13 wrote: > > First, I would like to write these information in a text file instead > html > > page. > > How about calling the status page directly from a script? How do I do it ? > > > Second

Re: [us...@httpd] Information in mod_status to text file

2009-06-08 Thread Prasanna Ram Venkatachalam
mod_status processes the request for server status dynamically. what i mean by dynamic is that, apache have structures into it which will be updated by each request and activity inside it. So there is no refresh rate at which it publishes information. Its just dynamic. Open in it a explorer and pre

RE: [us...@httpd] Information in mod_status to text file

2009-06-08 Thread Foster, Stephen (ASPIRE)
Why not have a look at "log_server_status" , google it.. It's a useful perl script that can be used to connect to the server and output the metrics into a logfile for then graphing against. It comes with a very basic set of reports but its quite easy to modify to collect further fields of i

RE: [us...@httpd] Information in mod_status to text file

2009-06-08 Thread Foster, Stephen (ASPIRE)
e. HTH Steve From: Foster, Stephen (ASPIRE) Sent: 08 June 2009 14:22 To: users@httpd.apache.org Subject: RE: [us...@httpd] Information in mod_status to text file Why not have a look at "log_server_status" , google it.. It's a useful perl script

Re: [us...@httpd] Information in mod_status to text file

2009-06-08 Thread ricardo figueiredo
Hi all, thank you by code. But, what's "log_server_status" ?? a program ?? I google it, but didn't find it. Ricardo On Mon, Jun 8, 2009 at 10:22 AM, Foster, Stephen (ASPIRE) < steve.fos...@hmrcaspire.com> wrote: > Why not have a look at “log_server_status” , google it.. > > > > It’s a usefu

Re: [us...@httpd] Information in mod_status to text file

2009-06-08 Thread Prasanna Ram Venkatachalam
Chk this.. http://gd.tuwien.ac.at/infosys/servers/http/apache-apache-1.3/src/support/log_server_status On Mon, Jun 8, 2009 at 7:03 PM, ricardo figueiredo wrote: > Hi all, > > thank you by code. > > But, what's "log_server_status" ?? a program ?? > I google it, but didn't find it. > > Ricardo >

RE: [us...@httpd] Information in mod_status to text file

2009-06-08 Thread Foster, Stephen (ASPIRE)
From: ricardo figueiredo [mailto:ricardoogra...@gmail.com] Sent: 08 June 2009 14:33 To: users@httpd.apache.org Subject: Re: [us...@httpd] Information in mod_status to text file Hi all, thank you by code. But, what's "log_server_status&quo

Re: [us...@httpd] Information in mod_status to text file

2009-06-08 Thread ricardo figueiredo
om] > *Sent:* 08 June 2009 14:33 > *To:* users@httpd.apache.org > *Subject:* Re: [us...@httpd] Information in mod_status to text file > > > > Hi all, > > thank you by code. > > But, what's "log_server_status" ?? a program ?? > I google i

Re: [us...@httpd] Information in mod_status to text file

2009-06-08 Thread ricardo figueiredo
> On Mon, Jun 8, 2009 at 10:38 AM, Foster, Stephen (ASPIRE) < > steve.fos...@hmrcaspire.com> wrote: > >> >> >> >> -- >> >> *From:* ricardo figueiredo [mailto:ricardoogra...@gmail.com] >> *Sent:* 08 June 2009 1

Re: [us...@httpd] Information in mod_status to text file

2009-06-08 Thread ricardo figueiredo
do >> >> >> On Mon, Jun 8, 2009 at 10:38 AM, Foster, Stephen (ASPIRE) < >> steve.fos...@hmrcaspire.com> wrote: >> >>> >>> >>> >>> -------------- >>> >>> *From:* ricardo figueiredo [mailto:ricardoogra...@gmail.com] >>> *Sent:* 08 June 200

Re: [us...@httpd] Information in mod_status to text file

2009-06-08 Thread ricardo figueiredo
AM, Foster, Stephen (ASPIRE) < >>> steve.fos...@hmrcaspire.com> wrote: >>> >>>> >>>> >>>> >>>> -- >>>> >>>> *From:* ricardo figueiredo [mailto:ricardoogra...@gmail.com] >>