This section details the manual configuration steps for monitoring resources.
To manually configure:
The following changes are required in \app\webcomponent\config\admin\resourcemanagement\resources\mbeanresourceslist_component.xml.
Add the JMXBeans to the <mbeantypes> node list.
<mbeantypes> <!--name denotes the exact name of MBean--> <mbeantype name=’IndexAgent’> <!--onclickcomponent specifies the component to be invoked--> <onclickcomponent>mbeanresourcemonitordialogcontainer</onclickcomponent> </mbeantype> </mbeantypes>
The following changes are required in \app\webcomponent\config\admin\resourcemanagement\resources\mbeanresourcemonitor_component.xml.
Add the JMXBeans to the <mbeantypes> node list.
<mbeantypes> <!--name denotes the exact name of the MBean--> <mbeantype name=’IndexAgent’> <!--attributes are the list of the attributes that need to be exposed in the monitor user interface--> <attributes> <attribute>Status</attribute> <attribute>Mode</attribute> <attribute>...</attribute> </attributes> <!--operations are the list of the operations that need to be exposed in the monitor user interface. launchcomponent=true will launch the operations user interface in a new window. Also if the operation requires user input, then the user interface automatically opens in a new window--> <operations> <operation launchcomponent=’false’>Start</operation> <operation launchcomponent=’true’>downloadLogFile</operation> <operation launchcomponent=’true’>...</operation> </operations> <!--notifications are the list of notifications, ideally the empty list will capture all notifications.--> <notifications> </notification></notification> </notifications> <!--refreshinterval denotes the interval in miliseconds for the monitor user interface to be refreshed. Ideal value should be 10sec.--> <refreshinterval>10000</refreshinterval> </mbeantype> </mbeantypes>