[csw-maintainers] [csw-buildfarm] Fwd: OpenCSW catalog update report (ganglia)

Dagobert Michelsen dam at opencsw.org
Tue Nov 29 09:27:24 CET 2011


Hi Daniel,

Am 29.11.2011 um 06:08 schrieb Daniel Pocock:
> On 28/11/11 22:43, Daniel Pocock wrote:
>> On 28/11/11 21:22, Dagobert Michelsen wrote:
>>> Am 28.11.2011 um 14:14 schrieb Daniel Pocock:
>>>>>> 3. be aware the this gmond version doesn't run on a non-global zone
>>>>>> 
>>>>>> http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=100
>>>>> 
>>>>> If course the webserver runs in a non-global zone :-P
>>>>> Could you please apply Brians patch as cited in the patch report?
>>>>> 
>>>> 
>>>> There are comments in the bug report suggesting the patch may cause
>>>> gmond not to work in a global zone, so I'm not sure if the patch is ideal
>>>> 
>>>> I'll have to find a quick way to test if running in a zone or not
>>> 
>>> Comment #19 reads ok for me:
>>> 
>>>  "Just meet this issue in a Solaris zone. I compiled a small test with Brian's
>>>   fix. And I found it works great, both in a non-global zone and global zone."
>> 
>> http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=100#c3
>> 
>>   'The problem with the "simple" solution is that it breaks normal
>> (non-zone)
>> setups.
>> 
>> e.g. the following is from a Solaris-10 HA configuration:......'
>> 
>> sounds a bit ominous to me.

But http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=100#c19 sounds promising.
Do you have upstream contacts who can aid in finally fixing this?

>> At the very least, Ganglia 3.1 series might be able to just refuse to
>> run in a zone, display a more meaningful error than `ioctl failed' or
>> just disable this code in a zone or some other `safe' hack, and then
>> comprehensive zone support can be introduced through trunk
>> 
>> I don't know enough about zones, HA setups and other permutations to say
>> the ideal way to address the issue
>> 
>> However, another issue that does come to mind: if someone runs gmond in
>> a zone, is it meaningful to report all of the CPU stats for every zone?
>> Or is the CPU inside a zone not really measurable in the same way as a
>> physical CPU in the global zone?

It is measurable, but by default you would also get some of the performance data
from the global zone (like system load).

> Another thought:
> 
> - has anyone tried the Host sFlow agent on Solaris (and in a zone)?
> http://host-sflow.sourceforge.net/

Solaris doesn't seem to be on the list of supported operating systems. Have
you tried compiling it?

> - if I update my package for Ganglia 3.2 and build a package of Host
> sFlow agent, then that may provide an alternative solution, as the Host
> sFlow agent may not face the zone problem, and users can still use
> Ganglia's web interface as the reporting tool:
> http://blog.sflow.com/2011/07/ganglia-32-released.html

sflow support in ganglia would certainly be a good thing.


Best regards

  -- Dago


-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896



More information about the maintainers mailing list