This file is indexed.

/etc/ganglia/conf.d/varnish.pyconf.disabled is in ganglia-monitor-python 3.6.0-6.

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
modules {
    module {
        name = "varnish"
        language = "python"
        param stats_command {
            value = "varnishstat -1"
        }
    }
}

collection_group {
    collect_every = 30
    time_threshold = 60

#    If you want all of metrics kept track by varnishstat ie. all 100 of them
#    you can simply uncomment line below and comment out all the other ones
#    metric {
#        name_match = "varnish_(.+)"
#    }

    metric {
        name = "varnish_client_req"
        title = "Client Requests"
    }

    metric {
        name = "varnish_backend_req"
        title = "Backend Requests"
    }
    metric {
        name = "varnish_backend_unhealthy"
        title = "Backend conn. not attempted"
    }
    metric {
        name = "varnish_backend_busy"
        title = "Backend conn. too many"
    }
    metric {
        name = "varnish_cache_hit_ratio"
        title = "Cache Hit Ratio"
    }
    metric {
        name = "varnish_n_object"
        title = "Objects in Cache"
    }
    metric {
        name = "varnish_sm_balloc"
        title = "Allocated Storage"
    }
    metric {
        name = "varnish_n_wrk"
        title = "Worker Threads"
    }



}