This file is indexed.

/etc/ganglia/conf.d/procstat.pyconf is in ganglia-monitor-python 3.6.0-7.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#

modules {
  module {
    name = 'procstat'
    language = 'python'

    param gmond {
      value = '/gmond/'
    }

/*
    param httpd {
      value = '/var/run/httpd.pid'
    }

    param mysqld {
      value = '/\/usr\/libexec\/mysqld/'
    }

    param splunk {
      value = '/splunkd.*start/'
    }

    param splunk-web {
      value = '/twistd.*SplunkWeb/'
    }

*/
  }
}

collection_group {
  collect_every = 30
  time_threshold = 30

  metric {
    name_match = "procstat_(.+)_cpu"
  }

  metric {
    name_match = "procstat_(.+)_mem"
  }
}