I have created a custom plugin and I have loaded the plugin to the hq-plugins directory and in the <Agent dir>/pdk/scripts.
I tried running the plug-in stand-alone but it complains that it cannot find the plug-in
DEBUG [main] [PluginData] etc/plugin.properties => jar:file:/opt/hyperic/agent-4.5.1/bundles/agent-4.5.1/pdk/plugins/sqlquery-plugin.jar!/etc/plugin.properties
DEBUG [main] [PluginData] etc/hq-plugin.xml => jar:file:/opt/hyperic/agent-4.5.1/bundles/agent-4.5.1/pdk/plugins/sqlquery-plugin.jar!/etc/hq-plugin.xml
DEBUG [main] [PluginLoader] sqlquery-plugin.jar expanding /opt/hyperic/agent-4.5.1/bundles/agent-4.5.1/pdk/lib/jdbc...
DEBUG [main] [PluginLoader] sqlquery-plugin.jar += /opt/hyperic/agent-4.5.1/bundles/agent-4.5.1/pdk/lib/jdbc/postgresql-7.4.3.jar
DEBUG [main] [PluginLoader] sqlquery-plugin.jar += /opt/hyperic/agent-4.5.1/bundles/agent-4.5.1/pdk/lib/jdbc/mysql-connector-java-5.1.10.jar
INFO [main] [SQLQueryMeasurementPlugin] Registered proxy for domain: sql
Exception in thread "main" org.hyperic.hq.product.PluginNotFoundException: product plugin name=prueba-plugin not found
at org.hyperic.hq.product.PluginManager.getPlugin(PluginManager.java:286)
at org.hyperic.hq.product.util.PluginDumper.init(PluginDumper.java:369)
at org.hyperic.hq.product.util.PluginMain.main(PluginMain.java:320)
Any idea?
Thanks
I tried running the plug-in stand-alone but it complains that it cannot find the plug-in
DEBUG [main] [PluginData] etc/plugin.properties => jar:file:/opt/hyperic/agent-4.5.1/bundles/agent-4.5.1/pdk/plugins/sqlquery-plugin.jar!/etc/plugin.properties
DEBUG [main] [PluginData] etc/hq-plugin.xml => jar:file:/opt/hyperic/agent-4.5.1/bundles/agent-4.5.1/pdk/plugins/sqlquery-plugin.jar!/etc/hq-plugin.xml
DEBUG [main] [PluginLoader] sqlquery-plugin.jar expanding /opt/hyperic/agent-4.5.1/bundles/agent-4.5.1/pdk/lib/jdbc...
DEBUG [main] [PluginLoader] sqlquery-plugin.jar += /opt/hyperic/agent-4.5.1/bundles/agent-4.5.1/pdk/lib/jdbc/postgresql-7.4.3.jar
DEBUG [main] [PluginLoader] sqlquery-plugin.jar += /opt/hyperic/agent-4.5.1/bundles/agent-4.5.1/pdk/lib/jdbc/mysql-connector-java-5.1.10.jar
INFO [main] [SQLQueryMeasurementPlugin] Registered proxy for domain: sql
Exception in thread "main" org.hyperic.hq.product.PluginNotFoundException: product plugin name=prueba-plugin not found
at org.hyperic.hq.product.PluginManager.getPlugin(PluginManager.java:286)
at org.hyperic.hq.product.util.PluginDumper.init(PluginDumper.java:369)
at org.hyperic.hq.product.util.PluginMain.main(PluginMain.java:320)
Any idea?
Thanks