-
Notifications
You must be signed in to change notification settings - Fork 1
/
TopMetric.json
55 lines (55 loc) · 5.54 KB
/
TopMetric.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
{
"EsxTopConfig": {
"FixedFields": [
{
"Fields": [
"LCPUID",
"CPUHz",
"Server"
],
"Counter": "LCPU"
},
{
"Fields": [
"PortID",
"IsUplink"
],
"Counter": "NetPort"
}
],
"TopInterval": 5,
"StatInterval": 20
},
"EsxTopMetrics": [
{
"StatMetric": "cpu.usage.average",
"TopMetric": "LCPU/UsedTimeInUsec",
"EsxTop": "PCPU USED(%)",
"Formula": "($n - $p)/$TopInterval/1E6 * 100"
},
{
"StatMetric": "cpu.utilization.average",
"TopMetric": "LCPU/HaltTimeInUsec",
"EsxTop": "PCPU UTIL(%)",
"Formula": "(1 - ($n - $p)/$TopInterval/1E6) * 100"
},
{
"StatMetric": "cpu.coreUtilization.average",
"TopMetric": "LCPU/CoreHaltTimeInUsec",
"EsxTop": "CORE UTIL(%)",
"Formula": "(1 - ($n - $p)/$TopInterval/1E6) * 100"
},
{
"StatMetric": "net.packetsTx.summation",
"TopMetric": "NetPort/NumOfSendPackets",
"EsxTop": "PKTTX/s",
"Formula": "($n - $p)/$TopInterval"
},
{
"StatMetric": "net.packetsRx.summation",
"TopMetric": "NetPort/NumOfRecvPackets",
"EsxTop": "PKTRX/s",
"Formula": "($n - $p)/$TopInterval"
}
]
}