Monitoring a running instance of NetarchiveSuite
Contents
The Status component of the NetarchiveSuite GUI that uses JMX to communicate with all running applications makes it easy monitor a running NetarchiveSuite installation.This component gives you access to the 100 latest logmessages from the applications, and a proper errormessage, if any application is off-line.
If you want to get more information about the current status of a particular application, you can use the program ''jconsole''. You need to know on which machine the the application is running (MACHINE), the JMX port (JMX_PORT) and RMI port (RMI_PORT) assigned to the application instance, and password for the monitorRole
(set in jmx.password file and settings settings.monitor.jmxUsername
and settings.monitor.jmxPassword
, see Configure Monitoring). Then you just write jconsole, and click on the 'advanced' tab, enter the URL.
service:jmx:rmi://MACHINE:RMI_PORT/jndi/rmi://MACHINE:JMX_PORT/jmxrmi
When asked for username, enter monitorRole and the password set for the application. Log entries can now be examined for the given application instance by selecting MBeans, and unfolding dk.netarkivet.common.logging
. Furthermore you can examine the system resources allocated to any given application.