Jim -
The first thing I notice is that my sblim-base is version 1.5.5. The
other sblim stuff is the same.
These are my openwbem packages:
openwbem-hms-providers-1.1.0-26.4
openwbem-smash-providers-1.0.7-1.3
openwbem-devel-3.2.0-24.10
openwbem-base-providers-1.0.0-30.4
openwbem-3.2.0-24.10
openwbem-smash-providers-devel-1.0.7-1.3
openwbem-base-providers-devel-1.0.0-30.4
My cimom output is similar to yours for the gather service, however the
error in XenMetric suggests that you should go to LinuxMetricRepository
and start that service (reposd). That might give you the attached bmp.
I found this by accident, there is no mention of reposd in the
documentation I read. That's really about as far as I got with this.
Sorry for the delay in the response.
HTH,
Luke
-----Original Message-----
From: Jim Fehlig [mailto:jfehlig@xxxxxxxxxx]
Sent: Friday, January 19, 2007 12:28 PM
To: Szymanski, Lukasz K
Subject: Re: sblim-gather summary
Szymanski, Lukasz K wrote:
> Ah, I just realized you said you had trouble with the function
returns.
> I should not reply to emails before morning coffee...
>
:-)
> What is the output of the cimom ? What version of openwbem do you
> have ?
>
xen81:/tests/jim/cimxml # rpm -qa | grep openwbem
openwbem-devel-3.2.0-24.15
openwbem-3.2.0-24.15
openwbem-smash-providers-1.0.7-1.8
openwbem-base-providers-1.0.1-0.4
xen81:/tests/jim/cimxml # rpm -qa | grep sblim
sblim-indication_helper-0.4.2-10.4
sblim-cmpi-base-1.5.4-14.4
sblim-gather-2.1.2-1.3
Nothing interesting from the cimom. For
Linux_MetricGatherer.StartService():
[3039488928] CIMServer invoking extrinsic method provider:
root/cimv2:/root/cimv2:Linux_MetricGatherer.CreationClassName="Linux_Met
ricGatherer",SystemName="xen81.cim.lab.novell.com",Name="gatherd",System
CreationClassName="Linux_ComputerSystem".StartService()
[3039488928] CMPIMethodProviderProxy::invokeMethod()
PID TTY TIME CMD
[3039488928] CIMServer finished invoking extrinsic method provider:
/root/cimv2:Linux_MetricGatherer.CreationClassName="Linux_MetricGatherer
",SystemName="xen81.cim.lab.novell.com",Name="gatherd",SystemCreationCla
ssName="Linux_ComputerSystem".StartService
OUT Params() return value: 1
For Linux_MetricGatherer.StartSampling():
[3039488928] CIMServer invoking extrinsic method provider:
root/cimv2:/root/cimv2:Linux_MetricGatherer.CreationClassName="Linux_Met
ricGatherer",SystemName="xen81.cim.lab.novell.com",Name="gatherd",System
CreationClassName="Linux_ComputerSystem".StartSampling()
[3039488928] CMPIMethodProviderProxy::invokeMethod()
[3039488928] CIMServer finished invoking extrinsic method provider:
/root/cimv2:Linux_MetricGatherer.CreationClassName="Linux_MetricGatherer
",SystemName="xen81.cim.lab.novell.com",Name="gatherd",SystemCreationCla
ssName="Linux_ComputerSystem".StartSampling
OUT Params() return value: false
Then when trying to get instances of Linux_XenMetric using yawn I get:
<?xml version="1.0" ?>
<CIM CIMVERSION="2.0" DTDVERSION="2.0">
<MESSAGE ID="1001" PROTOCOLVERSION="1.0">
<SIMPLERSP>
<IMETHODRESPONSE NAME="EnumerateInstances">
<ERROR CODE="1" DESCRIPTION="Repository Service not active"/>
</IMETHODRESPONSE>
</SIMPLERSP>
</MESSAGE>
</CIM>
And trying to get instances of Linux_XenMetricValue I get:
?xml version="1.0" ?>
<CIM CIMVERSION="2.0" DTDVERSION="2.0">
<MESSAGE ID="1001" PROTOCOLVERSION="1.0">
<SIMPLERSP>
<IMETHODRESPONSE NAME="EnumerateInstances">
<ERROR CODE="1" DESCRIPTION="Gatherer Service not active"/>
</IMETHODRESPONSE>
</SIMPLERSP>
</MESSAGE>
</CIM>
This would be expected since StartService() and StartSampling() above
failed.
Thanks,
Jim
> I don't remember if I got 0 or 1 as the return values from the "Start
> Service" call, but I'm pretty sure I never got True from the "Start
> Sampling" call. I got some numbers by looking at Xen_MetricValue
> stuff
> - I am not sure if they were accurate, but there was something there.
>
> Luke
>
> -----Original Message-----
> From: Jim Fehlig [mailto:jfehlig@xxxxxxxxxx]
> Sent: Thursday, January 18, 2007 10:43 PM
> To: Szymanski, Lukasz K
> Subject: Re: sblim-gather summary
>
> Szymanski, Lukasz K wrote:
>
>> Jim -
>>
>> I checked out sblim-gather and from what I can tell at this point it
>> works for your deadline tomorrow. I did not get too much of a chance
>> to play with it, but I could start the collection daemons and there
>> were even some metrics I could look at. As I was getting to know the
>> ins and outs of gather I ran into a bug with YAWN, the fixing of
>> which
>>
>
>
>> destablized my system - hence my exposure is limited. The only
>> comment I would make is that the versions sblim-gather and sblim-base
>> (a dependency for gather) that come with my version of SuSE 10 are
>> ancient - I am not sure if they were updated for 10.1. As I bring my
>> system back to life I will be able to offer some more pointers.
>>
>> Luke
>>
>>
>
> I tried to get this stuff working but was unsuccessful. Any hints to
> get it going? I tried the steps in README but the methods returned 1
> and FALSE respectively.
>
> ----------------------------------------------------------------------
> --
> --
> Before you can obtain metric values you have to start the gatherer.
> There's a CIM class Linux_MetricGatherer controlling gatherer
> operations. Using a CIM client, a CIM browser for instance, the
> methods StartService and StartSampling have to be called in order to
> start gatherer processing.
> ----------------------------------------------------------------------
> --
> --
>
> Thanks,
> Jim
>
>
_______________________________________________
Xen-cim mailing list
Xen-cim@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-cim
|