Any help appreciated. I have spent a couple of hrs on this, and have read all the wiki pages and forum threads.
I am using the free v4.1 version:
Hyperic Server on System A
Hyperic Agent on System B
All systems are Win2003.
I am trying to create and use a custom plugin on System B.
My plugin is simple. I simply want to read a Windows performance counter (it is a custom counter our software creates and maintains).
To get started, I thought I would just read an existing service for state and read an existing perf counter.
I can run the test fine... but the test command:
C:\temp\hqagent\hyperic-hq-agent-4.1.0>jre\bin\java -jar bundles\agent-4.1.0-101
9\pdk\lib\hq-product.jar -Dplugins.include=MyTEST
returns empty (if I have a problem in the XML, it complains, so I know it is being read).
My questions are:
a) Is there some environmental reason this plugin is not working? (e.g. some global setting that is needed, or different version of hyperic)
b) Is there something about my plugin that is an issue?
I tried the terminal services example that is published here:
http://support.hyperic.com/display/hypcomm/Windows+Plugin
When I run it from a command line, it also returns nothing. No errors... no results of any kind.
TIA!!!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<plugin>
<server name="MyTEST"
platforms="Win32">
<plugin type="measurement"
class="org.hyperic.hq.product.MeasurementPlugin"/>
<!-- Checks that Windows 'SQLBrowser' service is running playing around -->
<metric name="Availability"
template="win32:Service=SQLBrowser:Availability"
indicator="true"/>
<!-- test of an arbitrary perf counter playing around -->
<filter name="object" value="Print Queue"/>
<filter name="template"
value="win32:Object=${object}:${name}"/>
<metric name="Total Jobs Printed"
indicator="true"/>
</server>
</plugin>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<
I am using the free v4.1 version:
Hyperic Server on System A
Hyperic Agent on System B
All systems are Win2003.
I am trying to create and use a custom plugin on System B.
My plugin is simple. I simply want to read a Windows performance counter (it is a custom counter our software creates and maintains).
To get started, I thought I would just read an existing service for state and read an existing perf counter.
I can run the test fine... but the test command:
C:\temp\hqagent\hyperic-hq-agent-4.1.0>jre\bin\java -jar bundles\agent-4.1.0-101
9\pdk\lib\hq-product.jar -Dplugins.include=MyTEST
returns empty (if I have a problem in the XML, it complains, so I know it is being read).
My questions are:
a) Is there some environmental reason this plugin is not working? (e.g. some global setting that is needed, or different version of hyperic)
b) Is there something about my plugin that is an issue?
I tried the terminal services example that is published here:
http://support.hyperic.com/display/hypcomm/Windows+Plugin
When I run it from a command line, it also returns nothing. No errors... no results of any kind.
TIA!!!
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<plugin>
<server name="MyTEST"
platforms="Win32">
<plugin type="measurement"
class="org.hyperic.hq.product.MeasurementPlugin"/>
<!-- Checks that Windows 'SQLBrowser' service is running playing around -->
<metric name="Availability"
template="win32:Service=SQLBrowser:Availability"
indicator="true"/>
<!-- test of an arbitrary perf counter playing around -->
<filter name="object" value="Print Queue"/>
<filter name="template"
value="win32:Object=${object}:${name}"/>
<metric name="Total Jobs Printed"
indicator="true"/>
</server>
</plugin>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<