<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/ganglia/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/ganglia/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 06 Feb 2018 15:54:55 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ganglia/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/ganglia/wiki/Home/?limit=50#b37d</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Dear all&lt;br/&gt;
do you have metrics avaialable in Ganglia for Spark memory variables such as :&lt;/p&gt;
&lt;p&gt;Input, Storage Memory, Shuffle Read and Shuffle Writte  &lt;/p&gt;
&lt;p&gt;for the Active tasks for driver and executors for each application_xxxxxx&lt;/p&gt;
&lt;p&gt;and for the cluster as a whole please? I attache the Memory settigs we got now in static manner only from Spark JOb HIstory as what we want to have in Ganglia :&lt;/p&gt;
&lt;p&gt;Please help. Thanks.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Silviu Chiric</dc:creator><pubDate>Tue, 06 Feb 2018 15:54:55 -0000</pubDate><guid>https://sourceforge.nete6a20fe68ccf073a089223b59a6b14757b41dbab</guid></item><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/ganglia/wiki/Home/?limit=25#884b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
I'm using ganglia-3.7.2. And I have one secruity issue when doing secruity scanning:&lt;br/&gt;
&lt;em&gt;Description:&lt;/em&gt;&lt;br/&gt;
Unix-based systems support variable settings to control access to files. World writable files are the least secure. See the chmod(2) man page for more information.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Rationale: &lt;/em&gt;&lt;br/&gt;
Data in world-writable files can be modified and compromised by any user on the system. World writable files may also indicate an incorrectly written script or program that could potentially be the cause of a larger compromise to the system's integrity.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Remediation: &lt;/em&gt;&lt;br/&gt;
Removing write access for the "other" category ( chmod o-w &amp;lt;filename&amp;gt; ) is advisable, but always consult relevant vendor documentation to avoid breaking any application dependencies on a given file.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Assessment: &lt;/em&gt;&lt;br/&gt;
Ensure no world writable files exist -- Less&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;Script: sce/world_writable_files.sh &lt;br/&gt;
Standard Output: &lt;br/&gt;
World-Writable file /var/log/sdc_alarm.log &lt;br/&gt;
World-Writable file /var/lib/ganglia/dwoo/compiled/templates/default/host_extra.tpl.d17.php &lt;br/&gt;
World-Writable file /var/lib/ganglia/dwoo/compiled/templates/default/cluster_host_metric_graphs.tpl.d17.php &lt;br/&gt;
World-Writable file /var/lib/ganglia/dwoo/compiled/templates/default/host_view.tpl.d17.php &lt;br/&gt;
World-Writable file /var/lib/ganglia/dwoo/compiled/templates/default/cluster_overview.tpl.d17.php &lt;br/&gt;
World-Writable file /var/lib/ganglia/dwoo/compiled/templates/default/footer.tpl.d17.php &lt;br/&gt;
World-Writable file /var/lib/ganglia/dwoo/compiled/templates/default/metric_group_view.tpl.d17.php &lt;br/&gt;
World-Writable file /var/lib/ganglia/dwoo/compiled/templates/default/host_overview.tpl.d17.php &lt;br/&gt;
World-Writable file /var/lib/ganglia/dwoo/compiled/templates/default/cluster_extra.tpl.d17.php &lt;br/&gt;
World-Writable file /var/lib/ganglia/dwoo/compiled/templates/default/cluster_view.tpl.d17.php &lt;br/&gt;
World-Writable file /var/lib/ganglia/dwoo/compiled/templates/default/header.tpl.d17.php &lt;br/&gt;
Standard Error: &lt;br/&gt;
No Standard Error was produced &lt;/p&gt;
&lt;p&gt;I found these files were be generated automatically when user accessed gweb GUI. Do we have resoluton or other opinions about secruity scanning? Please help. Thanks.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Juan</dc:creator><pubDate>Mon, 17 Jul 2017 03:45:21 -0000</pubDate><guid>https://sourceforge.neta349ee2d87fe583aa43bd550c10ea153b0c6dbc3</guid></item><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/ganglia/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have to monitor fds for perticular processes. I did below changes in ganglia configuration but I am getting blank graph.When same script I run through console I get output.&lt;/p&gt;
&lt;p&gt;***In this path I added /usr/lib64/ganglia/pythonmodules/&lt;br/&gt;
procfds.py: *&lt;/p&gt;
&lt;p&gt;import os&lt;/p&gt;
&lt;p&gt;OBSOLETE_POPEN = False&lt;br/&gt;
try:&lt;br/&gt;
    import subprocess&lt;br/&gt;
except ImportError:&lt;br/&gt;
    import popen2&lt;br/&gt;
    OBSOLETE_POPEN = True&lt;/p&gt;
&lt;p&gt;import threading&lt;br/&gt;
import time&lt;/p&gt;
&lt;p&gt;_refresh_rate = 30  # Refresh rate of the netstat data&lt;/p&gt;
&lt;p&gt;_conns = {'process_fds': 0}&lt;/p&gt;
&lt;p&gt;def TCP_Connections(name):&lt;br/&gt;
    global tempconns&lt;br/&gt;
    tempconns= []&lt;br/&gt;
    pid = file('/var/run/computenode.pid', 'rt').readline().strip()&lt;br/&gt;
    process = subprocess.Popen("ls /proc/"+pid+"/fd | wc -l", stdout=subprocess.PIPE,shell=True)&lt;br/&gt;
    lines = process.communicate()&lt;span&gt;[0]&lt;/span&gt;.strip()&lt;br/&gt;
    _conns&lt;span&gt;['process_fds']&lt;/span&gt;=lines&lt;br/&gt;
    ret = int(_conns&lt;span&gt;[name]&lt;/span&gt;)&lt;br/&gt;
    return ret&lt;/p&gt;
&lt;h1 id="metric-descriptions"&gt;Metric descriptions&lt;/h1&gt;
&lt;p&gt;_descriptors = &lt;span&gt;[{&lt;br/&gt;
                    'name': 'process_fds',&lt;br/&gt;
                    'call_back': TCP_Connections,&lt;br/&gt;
                    'time_max': 20,&lt;br/&gt;
                    'value_type': 'uint',&lt;br/&gt;
                    'units': '',&lt;br/&gt;
                    'slope': 'both',&lt;br/&gt;
                    'format': '%u',&lt;br/&gt;
                    'description': 'Total number of file descriptor ',&lt;br/&gt;
                    'groups': 'procstat'&lt;br/&gt;
                }]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;def metric_init(params):&lt;br/&gt;
    '''Initialize the tcp connection status module and create the&lt;br/&gt;
    metric definition dictionary object for each metric.'''&lt;br/&gt;
    global _refresh_rate&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;if 'RefreshRate' in params:
    _refresh_rate = int(params['RefreshRate'])
_descriptors[:]=[]
#Return the metric descriptions to Gmond
_descriptors.append({
                    'name':'process_fds',
                    'call_back': TCP_Connections,
                    'time_max': 20,
                    'value_type': 'uint',
                    'units': '',
                    'slope': 'both',
                    'format': '%u',
                    'description': 'Total number of file descriptor ',
                    'groups': 'procstat'
                    })

return _descriptors
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;def metric_cleanup():&lt;br/&gt;
    '''Clean up the metric module.'''&lt;br/&gt;
    pass&lt;/p&gt;
&lt;p&gt;if &lt;strong&gt;name&lt;/strong&gt; == '&lt;strong&gt;main&lt;/strong&gt;':&lt;br/&gt;
    params = {'Refresh': '20'}&lt;br/&gt;
    metric_init(params)&lt;br/&gt;
    while True:&lt;br/&gt;
        try:&lt;br/&gt;
            for d in _descriptors:&lt;br/&gt;
                v = d&lt;a class="" href="../d['name']"&gt;'call_back'&lt;/a&gt;&lt;br/&gt;
                print 'value for %s is %u' % (d&lt;span&gt;['name']&lt;/span&gt;,  v)&lt;br/&gt;
            time.sleep(5)&lt;br/&gt;
        except KeyboardInterrupt:&lt;br/&gt;
            os._exit(1)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;configuration file: &lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[root@mtl-nes-qa3-cn1 conf.d]&lt;/span&gt;# cat proc_fds.pyconf&lt;br/&gt;
modules {&lt;br/&gt;
  module {&lt;br/&gt;
    name     = 'proc_fds'&lt;br/&gt;
    language = 'python'&lt;/p&gt;
&lt;p&gt;}&lt;br/&gt;
}&lt;/p&gt;
&lt;p&gt;collection_group {&lt;br/&gt;
  collect_every  = 30&lt;br/&gt;
  time_threshold = 30&lt;/p&gt;
&lt;p&gt;metric {&lt;br/&gt;
    name = "process_fds"&lt;br/&gt;
    value_threshold = "256.0"&lt;br/&gt;
    title = "process_fds"&lt;/p&gt;
&lt;p&gt;}&lt;br/&gt;
}&lt;/p&gt;
&lt;p&gt;Please let me know why blank graph is showing and also value_threshold is not changing its 0.0/0.5 range&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jagannath Nagare</dc:creator><pubDate>Mon, 19 Dec 2016 14:10:19 -0000</pubDate><guid>https://sourceforge.netb62382738693ce409bef04d702abe4827c1470de</guid></item><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/ganglia/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello:&lt;br/&gt;
  I using ganglia-3.7.1  on aix7.1 of IBM POWER6 . When I configure it , receive error messages:&lt;br/&gt;
 Checking for confuse&lt;br/&gt;
 checking for cfg_parse in -lconfuse...  no&lt;br/&gt;
 Trying harder including gettext&lt;br/&gt;
 checking for cfg_parse in -lconfuse...  no&lt;br/&gt;
 Trying harder including iconv&lt;br/&gt;
 checking for cfg_parse in -lconfuse...  no&lt;br/&gt;
 libconfuse not found&lt;/p&gt;
&lt;p&gt;But I have installed libconfuse-2.7-1 and libconfuse-devel-2.7-1&lt;br/&gt;
 Please help me!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jigli</dc:creator><pubDate>Fri, 01 Apr 2016 02:39:09 -0000</pubDate><guid>https://sourceforge.nete9960b380ef3f8107c2a038c21ae4b0b8448118d</guid></item><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/ganglia/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Great software, really couldnt ask more from it &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Charlotte9</dc:creator><pubDate>Wed, 05 Aug 2015 10:56:36 -0000</pubDate><guid>https://sourceforge.nete04feaac4f88a0cd0fa8d7b26586238543aa5833</guid></item><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/ganglia/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;am using Ganglia to monitor huge infrastructure with more than 300 nodes, But the central machine which collecting data from those nodes by gmetad has very high cpu load due to heavy I/O operations, i tried to put the rrds files in ramdisk it gets better but still has load about 9!! Any one has resolution for this please help me as this cause me panic.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ayman</dc:creator><pubDate>Thu, 21 Nov 2013 13:28:59 -0000</pubDate><guid>https://sourceforge.net66ce29e7d1aeefabd7bae5c5901e7309d9bf4b62</guid></item><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/ganglia/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;cygwin&lt;/p&gt;
&lt;p&gt;gmond.c:160: error: parse error before '*' token&lt;br /&gt;
gmond.c:160: warning: type defaults to &lt;code&gt;int' in declaration of&lt;/code&gt;hosts_mutex'&lt;br /&gt;
gmond.c:160: warning: data definition has no type or storage class&lt;br /&gt;
gmond.c: In function &lt;code&gt;Ganglia_host_get':
gmond.c:1029: warning: implicit declaration of function&lt;/code&gt;apr_thread_mutex_create'&lt;br /&gt;
gmond.c:1029: error: &lt;code&gt;APR_THREAD_MUTEX_DEFAULT' undeclared (first use in this function)
gmond.c:1029: error: (Each undeclared identifier is reported only once
gmond.c:1029: error: for each function it appears in.)
gmond.c:1055: warning: implicit declaration of function&lt;/code&gt;apr_thread_mutex_lock'&lt;br /&gt;
gmond.c:1057: warning: implicit declaration of function &lt;code&gt;apr_thread_mutex_unlock'
gmond.c: In function&lt;/code&gt;tcp_listener':&lt;br /&gt;
gmond.c:3056: warning: implicit declaration of function &lt;code&gt;apr_thread_exit'
gmond.c: In function&lt;/code&gt;main':&lt;br /&gt;
gmond.c:3174: error: `APR_THREAD_MUTEX_DEFAULT' undeclared (first use in this function)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">char tao</dc:creator><pubDate>Fri, 08 Mar 2013 04:51:30 -0000</pubDate><guid>https://sourceforge.neta6eb4eec0e11744ca90248c40731720e2489fe14</guid></item><item><title>WikiPage Home modified by Matt Massie</title><link>https://sourceforge.net/p/ganglia/wiki/Home/</link><description>Welcome to your wiki!

This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].

The wiki uses [Markdown](/p/ganglia/wiki/markdown_syntax/) syntax.

[[project_admins]]
[[download_button]]
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Massie</dc:creator><pubDate>Sun, 09 Dec 2012 07:21:10 -0000</pubDate><guid>https://sourceforge.netd4bff2f002ebf655802bf38efb0289ab584b7783</guid></item></channel></rss>