I developed an simple python based xml plugin, which just parse some log file and get some stats. I uploaded to the hyperic server and installed well. But the hyperic server does not show any stats from the plugin, saying" no metric data available". I checked the agent side, the plugin is invoked every one minute and is doing the right job (I embedded some code in the plugin to output the results to a local file, from which I can verify if it is working well). Any hints for that? I am using hq-agent 5.7.1.
I also tried using " java -jar /home/hyperic/hyperic-hqee-agent-5.7.1/bundles/agent-5.7.1/pdk/lib/hq-pdk-5.7.1.jar -p pluginName -m metric" to test the plugin at the agent side, but get the following errors:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/hyperic/hyperic-hqee-agent-5.7.1/bundles/agent-5.7.1/pdk/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/hyperic/hyperic-hqee-agent-5.7.1/bundles/agent-5.7.1/pdk/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
vm ha client bin directory is -->/home/hyperic/hyperic-hqee-agent-5.7.1/bundles/agent-5.7.1/lib/vm-ha-client-bin
[com.hyperic.hq.plugin.system.VMGuestAppMonitor.requestStatusChange()]: return code: 1(OtherError)
WARN [main] [MetricsTag] MsSQL 2000 include not found: mssql-cache
WARN [main] [MetricsTag] MsSQL 2012 include not found: mssql-cache
Any comment would be greatly appreciated!
Thanks!