Re: [Bigsister-devel] Status apears twice on webinterface/ Disk List isn?t displayed
Brought to you by:
aeby
|
From: Niels B. <nb...@us...> - 2007-03-19 20:06:05
|
On Mon, Mar 12, 2007 at 03:22:03PM +0100, stefan steimann wrote:
> I had already posted my problem a few day ago. Niels Baggesen mentioned that
> it?s caused by wrong variable declaration. Well, this was quite right, but
> it?s still not ok. I think that zpool.cfg isn?t able to fetch data from
> zpool.pm.
This not anything that I have tried at all (I maintly do SNMP based
tests), but looking at other tests I think that you will need some
additional packaging to make it work. Unfortunatelt Thomas didn't
include details of using perl based requesters in his tester sequel from
a few christmases back.
If you look at for instance the nut requester, you will it as a perl
package and I guess that is the magic incantiation that you will need:
> package Requester::nut;
>
> use Requester::SlowRequester;
>
> my $oldproto_warned = {};
>
> our( @ISA );
> @ISA = qw(Requester::SlowRequester);
>
> my $requester = new Requester::nut();
>
> sub new {
etc...
/Niels
--
Niels Baggesen - @home - Århus - Denmark - nb...@us...
The purpose of computing is insight, not numbers --- R W Hamming
|