[Ganglia-general] calculate cpu utilization with cpu time

2012-08-15 Thread Paul Hewlett
-Original Message- From: ganglia-general-requ...@lists.sourceforge.net [mailto:ganglia-general-requ...@lists.sourceforge.net] Sent: 14 August 2012 19:39 To: ganglia-general@lists.sourceforge.net Subject: Ganglia-general Digest, Vol 75, Issue 6 Send Ganglia-general mailing list

Re: [Ganglia-general] gmetad xml generation time

2012-08-15 Thread Vladimir Vuksan
On Tue, 14 Aug 2012, Chris Burroughs wrote: Sorry, 2000 milliseconds as in 2 seconds. That's from asking for the data to receiving all of it. It does not include waiting between polls. 2 seconds seems a bit excessive. Last time I tested downloading from gmetad on a setup with ~50k metrics

Re: [Ganglia-general] Error 1 sending the modular data

2012-08-15 Thread Chris Burroughs
Unfortunately there appears to be several problems, but they don't all correlate with Error 1 sending the modular data. There were reporting problems with approximately 75 gmond instances around midnight local time last night (which is still suspicious). Some examples: One case box #82: -

Re: [Ganglia-general] gmetad xml generation time

2012-08-15 Thread Chris Burroughs
On 08/15/2012 09:13 AM, Vladimir Vuksan wrote: 2 seconds seems a bit excessive. Last time I tested downloading from gmetad on a setup with ~50k metrics it took between 250-300ms to download XML. I will recheck later today. Can you tell me what the size of the downloaded XML is Bytes ie.

Re: [Ganglia-general] gmetad xml generation time

2012-08-15 Thread Jesse Becker
Rebuild with profiling? Just a thought... On Wed, Aug 15, 2012 at 05:42:52PM -0400, Chris Burroughs wrote: On 08/15/2012 09:13 AM, Vladimir Vuksan wrote: 2 seconds seems a bit excessive. Last time I tested downloading from gmetad on a setup with ~50k metrics it took between 250-300ms to

[Ganglia-general] ganglia fibrechannel python module

2012-08-15 Thread Michael Shearer
Hi all, I am trying out the fibrechannel module was recently published, to talk to some of our Brocade FC switches, and am having some difficulty. It appears as if the SNMP traffic is working, but there are no metrics being written (no directory for the switch hostname in the rrd directory), and

Re: [Ganglia-general] ganglia fibrechannel python module

2012-08-15 Thread Michael Shearer
Hi Evan, Thanks for the prompt reply. I think it is running ok from the shell, the first run gives all zero: python fibrechannel.py [switch] Received the following parameters {'switch_1': '10.0.31.30:adc_bd1'} 672 value for adc_bd1_fc_port_4_25_bitsin is 0 value for adc_bd1_fc_port_4_13_bitsin

Re: [Ganglia-general] ganglia fibrechannel python module

2012-08-15 Thread Evan Fraser
Hi Michael, That output looks good, just to check that it's creating the descriptors correctly could you perhaps add a line: pprint.pprint(descriptors) on line #258 and then paste the output of a few of those descriptors? Thanks, Evan. Evan Fraser Trade Me | Storage Engineer P +64 4 803

Re: [Ganglia-general] ganglia fibrechannel python module

2012-08-15 Thread Michael Shearer
Hi Evan, : python fibrechannel.py [switch] Received the following parameters {'switch_1': '10.0.31.30:adc_bd1'} [{'call_back': function get_delta at 0x2276848, 'description': 'received bits per sec', 'format': '%0f', 'groups': 'Throughput', 'name': 'adc_bd1_fc_port_4_25_bitsin',

Re: [Ganglia-general] ganglia fibrechannel python module

2012-08-15 Thread Evan Fraser
Hi Michael, What happens if you set the params in the __main__ section of fibrechannel.py and run it manually from the shell? Do you get valid metric names and values output to screen? Do you get any other (non fibrechannel) graphs? Could it be selinux issues? Cheers, Evan. Evan Fraser

Re: [Ganglia-general] ganglia fibrechannel python module

2012-08-15 Thread Bernard Li
Hi Michel: On Wed, Aug 15, 2012 at 4:59 PM, Michael Shearer zonked.mon...@gmail.com wrote: I am trying out the fibrechannel module was recently published, to talk to some of our Brocade FC switches, and am having some difficulty. It appears as if the SNMP traffic is working, but there are no

Re: [Ganglia-general] ganglia fibrechannel python module

2012-08-15 Thread Michael Shearer
Hi, Not that I can see. We have a mix of Silkworm 48000, 4100 and 4900, and none of the documentation I have been able to track down states sflow support. If we can configure sflow on these devices, I would be very happy indeed. I have connected to #ganglia (have to use the web client, as our

Re: [Ganglia-general] ganglia fibrechannel python module

2012-08-15 Thread Michael Shearer
Hi, This was resolved by applying the sysctl settings as per Evans readme file. In short, these settings seem to be non-optional, if you want to use the fibrechannel module, you will need to tweak the network memory settings. Cheers, Michael. On 16 August 2012 13:11, Michael Shearer