-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathvsphere-graphite-example.json
60 lines (60 loc) · 2.3 KB
/
vsphere-graphite-example.json
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
{
"Domain": ".contoso.com",
"ReplacePoint": false,
"CPUProfiling": false,
"MEMProfiling": false,
"Properties": [ "all" ],
"Interval": 60,
"FlushSize": 1000,
"VCenterResultLimit": 500000,
"VCenterInstanceRatio": 3.0,
"VCenters": [
{ "Username": "CONTOSO\\Administrator", "Password": "$P@ssw0rd", "Hostname": "vc1.contoso.com" },
{ "Username": "CONTOSO\\Administrator", "Password": "$P@ssw0rd", "Hostname": "vc2.contoso.com" }
],
"Backend": {
"Type": "graphite",
"Hostname": "graphite.contoso.com",
"Port": 2003,
"Encrypted": false
},
"Metrics": [
{
"ObjectType": [ "VirtualMachine", "HostSystem" ],
"Definition": [
{ "Metric": "cpu.usage.average", "Instances": "" },
{ "Metric": "cpu.usage.maximum", "Instances": "" },
{ "Metric": "cpu.usagemhz.average", "Instances": "" },
{ "Metric": "cpu.usagemhz.maximum", "Instances": "" },
{ "Metric": "cpu.totalCapacity.average", "Instances": "" },
{ "Metric": "mem.usage.average", "Instances": "" },
{ "Metric": "mem.usage.maximum", "Instances": "" },
{ "Metric": "mem.consumed.average", "Instances": "" },
{ "Metric": "mem.consumed.maximum", "Instances": "" },
{ "Metric": "mem.active.average", "Instances": "" },
{ "Metric": "mem.active.maximum", "Instances": "" },
{ "Metric": "mem.vmmemctl.average", "Instances": "" },
{ "Metric": "mem.vmmemctl.maximum", "Instances": "" },
{ "Metric": "mem.totalCapacity.average", "Instances": "" }
]
},
{
"ObjectType": [ "VirtualMachine" ],
"Definition": [
{ "Metric": "virtualDisk.totalWriteLatency.average", "Instances": "*" },
{ "Metric": "virtualDisk.totalReadLatency.average", "Instances": "*" },
{ "Metric": "virtualDisk.numberReadAveraged.average", "Instances": "*" },
{ "Metric": "virtualDisk.numberWriteAveraged.average", "Instances": "*" },
{ "Metric": "cpu.ready.summation", "Instance": ""}
]
},
{
"ObjectType": [ "HostSystem" ],
"Definition": [
{ "Metric": "disk.maxTotalLatency.latest", "Instances": "" },
{ "Metric": "disk.numberReadAveraged.average", "Instances": "*" },
{ "Metric": "disk.numberWriteAveraged.average", "Instances": "*" }
]
}
]
}