monitoring & alerts for a j2se application
monitoring & alerts for a j2se application
I am designing a J2SE application, and looking for a solution for monitoring and alerts. The requirements are:
- Objects can report their status and issue alerts when they have problems.
- Calling some pre-defined methods on specific objects (e.g. to dump their state).
- Monitoring JVM health, especially memory usage.
- Preferably access all of the above from a remote computer.
What would be the best solution for that? Anything involving JMX?
Answer by Joachim Sauer for monitoring & alerts for a j2se application
Yes, you're describing pretty much JMX and MBeans.
Answer by Adinochestva for monitoring & alerts for a j2se application
You can use smartinspect to can log whatever you want in your app: objects, pictures, etc. You can also have access to it from remote computers.
Answer by Brian Agnew for monitoring & alerts for a j2se application
See JConsole, which is packaged with the Java install. This allows you to inspect JMX-available statistics, whether on local or remote machines. You need to start up your monitored VM with the appropriate options (detailed in the linked article) and then simply start JConsole and point to the required VM (you can secure via authentication if you require).
JConsole can inspect all the standard JMX beans, plus any that you create/register. The GUI will allow you to call exposed methods, and chart statistics etc.
Answer by Thorbj?rn Ravn Andersen for monitoring & alerts for a j2se application
If you use Java 6u10 or later, also see VisualVM (jvisualvm.exe in the JDK) which can do all kinds of interesting things, including (with a plugin) the same things jconsole can.
It is really great for inspecting.
Answer by Heiko Rupp for monitoring & alerts for a j2se application
If you want to throw alerts into the mix too, have a look at Jopr (http://www.jboss.org/jopr/)
Answer by Kire Haglin for monitoring & alerts for a j2se application
If you want to inspect JMX-data try the Management Console that comes with JRockit Mission Control. It's JConsole/VisualVM on steroids. It's very easy to inspect arrays, maps, Collections, compositeData etc., and add the monitored attributes to a graph or a dial. It's also possible to create trigger alerts.
You can download it here for free.
Answer by prasanna jayapalan for monitoring & alerts for a j2se application
If you need a continues monitoring solution, consider Evident ClearStone for Java. With this you can monitor any custom mbeans and also set it up to send you alerts when thresholds are breached.
Fatal error: Call to a member function getElementsByTagName() on a non-object in D:\XAMPP INSTALLASTION\xampp\htdocs\endunpratama9i\www-stackoverflow-info-proses.php on line 72
0 comments:
Post a Comment