|
From: Doug M. <do...@hy...> - 2007-03-09 00:04:28
|
On Mar 8, 2007, at 1:45 AM, Alexander M=FCller wrote:
> I think I found something. Even If execute the example script, only =20=
> the first value ist collected. So it seems to be a more general =20
> problem. Any Idea's were to look ?
>
>
>
> drssm102:/home/hyperic/agent-2.7.6-EE# java -jar pdk/lib/hq-=20
> product.jar -Dplugins.include=3Dio-device
> I/O Device Availability:
> I/O Device:exec:file=3Dpdk/scripts/=20
> device_iostat.pl,args=3Dsda:Availability
> =3D>50,0%<=3D
Notice Availability is not 100%, add -Dlog=3Ddebug to the command line =20=
and you should see:
[DEBUG] Collector - [Warn] (pdk/scripts/device_iostat.pl) sda not =20
found at pdk/scripts/device_iostat.pl line 30.
You need to configure the device option, for example to hda:
java -jar pdk/lib/hq-product.jar -Dplugins.include=3Dio-device -=20
Ddevice=3Dhda
I/O Device Availability:
I/O Device:exec:file=3Dpdk/scripts/=20
device_iostat.pl,args=3Dhda:Availability
=3D>100.0%<=3D
I/O Device Read Requests Merged per Second:
I/O Device:exec:file=3Dpdk/scripts/device_iostat.pl,args=3Dhda:rrqm/s
=3D>0.1<=3D
I/O Device Write Requests Merged per Second:
I/O Device:exec:file=3Dpdk/scripts/device_iostat.pl,args=3Dhda:wrqm/s
=3D>1.5<=3D
Does your plugin collect all expected values from the command line? =20
If not, maybe -Dlog=3Ddebug will shed some light.
|