*nod*

I remember PCP from my days on IRIX (no pun intended?) ... I'm using a Perl
script in combination with gmetric in the meantime, but from a posting I
read here the other day apparently that interface is going away, so I am
going to give Brad Nicholes' suggestion a gander, too.

thanks,
Klaus

On 10/19/07 6:38 AM, "aurbain" <[EMAIL PROTECTED]>did etch on
stone tablets:

> 
> Consider a different approach, Performance Co-Pilot will provide a
> machines metrics in a unified format.  I use a bash script and grep |
> sed out what I want and call gmetric.  One nic or 6, I get the in and
> out stats on all.  Also nice because I get per-partition io stats.
> Current version of pcp is 2.7.1.1
> 
> 
> Klaus Steden wrote:
>> Hello,
>> 
>> I am investigating implementing some custom metrics in ganglia for use with
>> greceptor, specifically, to monitor hardware attributes.
>> 
>> It looks straightforward, but I think I've hit a bit of a wrinkle. I've got
>> systems in my cluster that are slightly assymetrical (i.e. some have two
>> CPUs, some have only one CPU) -- which means that I would need to make two
>> copies of my very simple greceptor plugin -- one for CPU 0, and one for CPU
>> 1, and hardwire the specific CPU information into each one.
>> 
>> This is not really ideal, as that means I have to do a hardware inventory on
>> a system-by-system basis to avoid creating more scripts than CPUs, or fewer
>> scripts than CPUs.
>> 
>> What would be ideal would be if I reference CPU information as generic
>> variables in the plugin, and it would be able to call each CPU individually
>> and return numbers to ganglia, i.e.
>> 
>> -- cut --
>> def value(self):
>>     cmd = 'read-cpu-temp %i' % cpu_id
>>     temp = os.popen(cmd).readline()
>>     return int(temp)
>> -- cut --
>> 
>> The question is ... is it possible to pass the CPU identity into the
>> 
>> 
>> 
>> Is such a thing possible?
>> 
>> I looked through Google and the ganglia-info list archives and couldn't find
>> any mention of it. Is there some documentation on greceptor plugins?
>> 
>> 
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> _______________________________________________
>> Ganglia-general mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/ganglia-general
>> 
>>   
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to