This file is indexed.

/etc/ganglia/conf.d/memcached.pyconf.disabled 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
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
modules {
  module {
    name     = "memcached"
    language = "python"

    param host {
      value = "localhost"
    }
    param port {
      value = 11211
    }
    param type {
      value = "memcached"
    }

    param refresh_rate {
      value = 15
    }

    # param metrix_prefix {
    #   value = "mc"
    # }
    # param spoof_host {
    #   value = "__IPADDRESS__:__HOSTNAME__"
    # }
  }
}

collection_group {
  collect_every  = 20
  time_threshold = 90

  metric {
    name  = "mc_curr_items"
    title = "Current number of items stored"
    value_threshold = 0
  }
  metric {
    name  = "mc_cmd_get"
    title = "Cumulative number of retrieval reqs"
    value_threshold = 0
  }
  metric {
    name  = "mc_cmd_set"
    title = "Cumulative number of storage reqs"
    value_threshold = 0
  }
  metric {
    name  = "mc_cmd_get_rate"
    title = "Retrieval reqs/sec"
    value_threshold = 0
  }
  metric {
    name  = "mc_cmd_set_rate"
    title = "Storage reqs/sec"
    value_threshold = 0
  }
  metric {
    name  = "mc_bytes_read"
    title = "Total number of bytes read by this server from network"
    value_threshold = 0
  }
  metric {
    name  = "mc_bytes_written"
    title = "Total number of bytes sent by this server to network"
    value_threshold = 0
  }
  metric {
    name  = "mc_bytes"
    title = "Current number of bytes used to store items"
    value_threshold = 0
  }
  metric {
    name  = "mc_limit_maxbytes"
    title = "Number of bytes this server is allowed to use for storage"
    value_threshold = 0
  }
  metric {
    name  = "mc_curr_connections"
    title = "Number of open connections"
    value_threshold = 0
  }
  metric {
    name  = "mc_evictions"
    title = "Number of valid items removed from cache to free memory for new items"
    value_threshold = 0
  }
  metric {
    name  = "mc_get_hits"
    title = "Number of keys that have been requested and found present "
    value_threshold = 0
  }
  metric {
    name  = "mc_get_misses"
    title = "Number of items that have been requested and not found"
    value_threshold = 0
  }
  metric {
    name  = "mc_get_hits_rate"
    title = "Hits/sec"
    value_threshold = 0
  }
  metric {
    name  = "mc_get_misses_rate"
    title = "Misses/sec"
    value_threshold = 0
  }

}