Hyperic recognized my custom plugin xml and show the service I've added to the 'SUN JVM 1.5' under 'RESOURCES' tab. However, when I clicked on the link the following error occurred.
org.hyperic.hq.appdef.shared.ServiceNotFoundException: 3:10135 not found at org.hyperic.hq.appdef.shared.AppdefEntityNotFoundException.build
and the following error was logged into server.log.
2007-05-22 18:59:30,564 ERROR [org.jboss.ejb.plugins.LogInterceptor] EJBException in method: public abstract boolean org.hyperic.hq.bizapp.shared.ControlBoss.isControlSupported(int,org.hyperic.hq.appdef.shared.AppdefResourceValue) throws org.hyperic.hq.auth.shared.SessionNotFoundException,org.hyperic.hq.auth.shared.SessionTimeoutException,java.rmi.RemoteException, causedBy:
java.lang.NullPointerException
at org.hyperic.hq.product.PluginInfo.<init>(PluginInfo.java:82)
Please let me know if anyone has any idea.
'HyperMetricService' has getAA() method and the xml file as follows:
---------------------------------------------------------------------------------------------------------------------
<?xml version="1.0"?>
<plugin>
<service name="Hyper Metric Service"
server="Sun JVM" version="1.5">
<property name="OBJECT_NAME"
value="DefaultDomain:service=HyperMetricService"/>
<property name="AUTOINVENTORY_NAME"
value="%platform.name% Hyperic Metric Service"/>
<plugin type="autoinventory"/>
<plugin type="measurement"
class="org.hyperic.hq.product.jmx.MxMeasurementPlugin"/>
<plugin type="control"
class="org.hyperic.hq.product.jmx.MxControlPlugin"/>
<filter name="template" value="${OBJECT_NAME}:${alias}"/>
<metric name="Availability" indicator="true"/>
<metric name="AA"
collectionType="trendsup"
indicator="true"/>
</service>
</plugin>