Mail Archive Home | architecture List | April 2005 Index
| <-- Date Index --> | <-- Thread Index --> |
Georges,You has written, you were trying to developp a probe which should analyse the logging of JOnAS and send alarms to a central repository.
So, I guess you might take a look at TPTP (http://www.eclipse.org/tptp).The TPTP project (Test & Performance Tools Platform, ex-Hyades) aims to provide an extensible platform for test, monitoring, tracing and (possibly heterogenous and remote) application profiling.
TPTP v3.1 is released with 4 statistical agents :* Windows Host (Perfmon): Standard Perfmon API metrics - CPU, network, disk etc..
* Linux Host: Standard /proc metrics - CPU, network, disk etc..* JBoss J2EE Application Server: Counters exported by JBoss server (not by the Application running on the server).
* JOnAS J2EE Application Server: Similar to JBoss agent.Note that the TPTP extensible platform contains agent (including one JOnAS agent), common data sets/models (in order to normalize data representation and then, to enable TPTP component interoperability)...
IBM has made a presentation about using TPTP for JOnAS monitoring during ObjectWebCon'05. See Using the Hyades Open Source Test and Performance platform with JOnAS by Christophe Telep, IBM (https://wiki.objectweb.org/ObjectWebCon05/attach?page=Sessions%2Fhyades.pdf)
See also EclipseCon'05 Session : Adopting the Eclipse TPTP Projecthttp://eclipsecon.org/presentations/EclipseCon2005_1.1_Adopting_the_Eclipse_TPTP_Project.ppt
Dominique georges.goebel@xxxxxxxx a écrit :
Hi, I have integrated the "getHandle" in the MBeans in JOnAS, and I am now able to get the filename (used by monolog to write in) through jmx (MBean) back. Thanks a lot for the hint ! For the moment I try to developpe a probe which should analyse the logging of JOnAS and send alarms to a central repository. My initial intention was to parse the log file for any warnings, errors (depending on the state). But this will do a lot of IO operations (File open, file close) which is probably slowing down the machine. So my next idea was to hack the probe between JOnAS and monolog (like an interceptor). The probe would not need to open the log file but the probe would receive the events and forward them to the writing process and to the global repository. As you mentioned you were depevoping some stuff using JMX (notification, listeners, ...), that would be perfect. So should I wait until you have done the contribution of the JMX stuff and is it possible to do what I want to do, or should I start with my initial idea of parsing the log fine ??? Thanks a lot Georges Goebel PS: Sorry I have difficulties with the mailing list to address my mails correctly :-(------------------------------------------------------------------------
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.