Forum OpenACS Q&A: Monitoring

Collapse
Posted by Malte Sussdorff on
I find the monitoring package highly useful, especially when it is sending out reminders of errors happening on the site. Very good to see what is happening on the production site while you are not watching 😊. I was wondering though if there is a general rule to follow to make it available to the 5.3 release. Should it be imported into the oacs-5-3 branch, or should it just be tagged as openacs-5-3-compat?

In the long run we might think of making the monitoring package part of core, as we might do with the request monitor, as both give highly useful informations also to new users of OpenACS who want to see what is happening on their site. The missing link would be an OpenACS awstats package that analyzes the log files, bringing you (in conjunction with the other two) information on:

* What is happening at my site at the moment (request-monitor)
* How many users are accessing my site on average
* Where do my users come from
* What are the most accessed areas on my site
* What scheduled procedures are running in the background
* What errors happen on my site while I am asleep

Note, that none of these tools use the monitoring packages that are e.g part of .LRN giving more information about usage of OpenACS users. I hope to learn more about them and discuss (if time permits) good solutions during the conference in Vienna and the session on "Tracking users in OpenACS/dotLRN"

Collapse
2: Re: Monitoring (response to 1)
Posted by Eduardo Santos on
Hi Malte,

I also think monitoring is a very useful package. Actually our team has worked in some improvements for it, basically in graphics design using the diagram package. We have a test instance that shows the improvements. Take a look:

http://comunidades.softwarepublico.gov.br/monitoring/

In this machine you can see everything, even if you are not logged in. There's also an interface to take the backups via Web, just in case you don't have easy access to the machine.

Collapse
3: Re: Monitoring (response to 2)
Posted by Malte Sussdorff on
Hi Eduardo, I was about to test it again, sadly I cannot access it.

Is there any reason why your are not releasing your improvements on CVS HEAD then I could actually check it out on one of our instances and help clean up the code / make it generally applicable.

Collapse
4: Re: Monitoring (response to 3)
Posted by Eduardo Santos on
Hi Malte,

Sorry about that. It seems like my test server is down. I'm going there today or tomorrow to see what happened, and you can check it out again in the weekend. I'll post here as soon as it is available.

The reason for wich I don't commit is: I'm not a commiter. I don't have permission to commit there. If you guys give me access to the CVS, I'll be happy to put my improvements there.

Collapse
5: Re: Monitoring (response to 4)
Posted by Malte Sussdorff on
Hello Eduardo, can you send me the diff to the current version from HEAD so I could apply it? I added a couple more things to it so I am careful not to overwrite things.
Collapse
6: Re: Monitoring (response to 5)
Posted by Eduardo Santos on
Hi Malte,

Take a look at the code:

http://svn.softwarepublico.gov.br/trac/openacs/browser/spb/packages/monitoring

You can also look at the working application at the link:

http://teste.softwarepublico.gov.br/monitoring

Log in with this info:

User: mailto:test@test.com
Password: test

If you have any doubts let me know and I'll solve it as soon as possible.

Collapse
7: Re: Monitoring (response to 6)
Posted by Malte Sussdorff on
Hmm.. the login does not seem to work. Can you make a tarball available ?
Collapse
8: Re: Monitoring (response to 7)
Posted by Eduardo Santos on
That's odd. It seems like the system can't find the user for log in, even though the user is there and can be found in the system. It doesn't matter. The tarball is available at:

http://www.softwarepublico.gov.br/dotlrn/file-storage/download/monitoring.tar.gz?file%5fid=1801581

You can also make a svn checkout and get the latest code:

svn co http://svn.softwarepublico.gov.br/svn/openacs/spb/packages/monitoring

Sorry about the troubles. I guess it's gonna work now.