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

Daniel Pocock daniel at opencsw.org
Tue Nov 29 06:08:47 CET 2011


On 28/11/11 22:43, Daniel Pocock wrote:
> On 28/11/11 21:22, Dagobert Michelsen wrote:
>> Hi Daniel,
>>
>> 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.
> 
> 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?
> 

Another thought:

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

- 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


More information about the maintainers mailing list