-
Notifications
You must be signed in to change notification settings - Fork 3
/
envrules.std
71 lines (64 loc) · 1.9 KB
/
envrules.std
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
# This block at the beginning don't have rules but are there to make parsing
# this file every so slightly faster, noting the commas are really only
# needed to make visual parsing easier.
>ProLiant BL460c G1,ProLiant BL460c G6,ProLiant BL490c G6<
>ProLiant BL685c G1,ProLiant BL2x220c G5<
>ProLiant DL145 G2<
>ProLiant DL360 G3,ProLiant DL380 G3,ProLiant DL380 G5<
>ProLiant DL385 G5,ProLiant DL585 G5,ProLiant DL585 G7<
>ProLiant ML370 G6<
# These are the real rules and the headers much EXACTLY match everything to the
# right of the ": " returned by the command "dmidecode|grep -m1 'Product Name'"
# for example: "Product Name: ProLiant BL460c G1"
>ProLiant DL185 G5<
[pre]
/CPU(\d) Diode/CPUTemp$1/
/Power Ambient/ATemp/
/Front Panel Temp/FPTemp/
>ProLiant DL160 G5<
[pre]
/ ROTOR/R/
/Rear Ambient/RTemp/
/PCI Ambient/ATemp/
/CPU(\d) Dmn (\d) Temp/Temp$1-$2/
>ProLiant DL785<
[pre]
/Zone /Z/
>SE4208<
[pre]
/^CPU/CTemp/
/^System/STemp/
/^FAN6CPU/Fan6C/
# There is a lot of remappings to get SL170h temperatures into fixed format as follows
# CPU1 Temp->CTemp1 CPU2 Temp->CTemp2 CPU1 DIMM->CTemp1D CPU2 DIMM->CTemp2D
# CPU2_DIMM6G->CTemp6G CPU2_DIMM5B->CTemp5B CPU2_DIMM4E->CTemp4E
# CPU2_DIMM3H->CTemp3H CPU2_DIMM2C->CTemp2C CPU2_DIMM1F->CTemp1F
# Node Exit Amb->ETemp Front I/O Amb->FTemp HDD BP Amb->HTemp
# Node Inlet Amb->ITemp PCIE local Temp->LTemp Northbridge Amb->NTemp PSU BP->PTemp
>ProLiant SL170h G6,ProLiant SL2x170z G6<
[pre]
/^CPU(\d) DIMM Amb/CTemp$1D/
/^Node //
/Amb/Temp/
/DIMM(.*)/Temp$1/
/.*Internal/Temp/
/^PCIE l/L/
# This on also has a lot of remapping
>ProLiant DL160 G6,ProLiant DL160se G6<
[pre]
/_INLET/I/
/_OUTLET/O/
/Rear Board/xTemp/
/^Front Board/BTemp/
/^Front dimm/FTemp/
/^Rear dimm/RTemp/
/^PCI outlet/PTemp/
/^IOH outlet/ITemp1/
/^Front IOH/ITemp2/
/^Inlet ambient/ATemp/
/ sensor/ Temp/
[post]
/^BTemp/BTempF/
/^xTemp/BTempR/
[ignore]
/^Fan Redundant/