This file is indexed.

/usr/share/collectl/envrules.std is in collectl 4.0.5-1.

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
# 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/

>ProLiant SL230s Gen8,ProLiant SL250s Gen8<
[pre]
/^\d*-//
/Inlet Ambient/ATemp/
/CPU/CTemp/
/Chipset/CTemp/
/.*P(\d) DIMM (\d).*/$1Temp$2D/
/HD Max/mTemp/
/HD C.*/cTemp/
/HD z.*/zTemp/
/VR P(\d)Mem Zone/VTemp$1MZ/
/VR P(\d) ([MZ]).*/VTemp$1$2/
/VR P(\d)/VTemp$1/
/SuperCap.*/STemp/
/LOM Card/lTemp/
/LOM/LTemp/
/PCI 2 Zone/pTemp/
/PCI 2/PTemp/
/PS Board/uTemp/
/Sys Ex.*/STemp/
/Coprocessor (\d)/GTemp$1/
[post]
/^STemp/STempE/
/^cTemp/HTempC/
/^mTemp/HTempM/
/^zTemp/HTempZ/
/^lTemp/LTempC/
/^pTemp/PTempZ/
/^uTemp/PTempS/

>SE1170s<
[pre]
/Fan(\d)a/F$1a/
/CPU(\d)_DIMM(.*)/$1Temp$2/
/HDD BP(\d).*/HTemp$1/
/PCIE.*/PTemp/
/Front.*/ATemp/