VMware Cloud Community
damukethireddy
Contributor
Contributor

Measurement Plugin Error

Hi All,
I am creating iAnyWherePlugin. In this the following error is displayed.
IAnyWhereMeasurementPlugin.java:276: getCachedConnection(java.lang.String,java.lang.String,java.lang.String) in org.hyperic.hq.product.JDBCMeasurementPlugin can
not be applied to (org.hyperic.hq.product.Metric)
Connection conn = getCachedConnection(metric);

how to solve this problem. Can anybody help me.

Thanks & Regards
Damodara Reddy K
0 Kudos
2 Replies
admin
Immortal
Immortal

I'm not familar with iAnyWhere, how do you plan on collecting metrics? If its SQL based, you can write your plugin completely in XML. The HQ inventory plugin is a good example:

http://svn.hyperic.org/trunk/plugins/examples/hq-inventory-plugin.xml?revision=205&root=Hyperic+HQ&v...

-Ryan
0 Kudos
damukethireddy
Contributor
Contributor

Hi Ryan,
iAnyWhere is a SQL Anywhere Database.This is a sybase product.
Thanks & Regards
Damodara Reddy K
0 Kudos