mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-27 23:59:05 +01:00
23 lines
421 B
Markdown
23 lines
421 B
Markdown
|
|
||
|
## `tempstat` collector
|
||
|
|
||
|
```json
|
||
|
"tempstat": {
|
||
|
"tag_override" : {
|
||
|
"<device like hwmon1>" : {
|
||
|
"type" : "socket",
|
||
|
"type-id" : "0"
|
||
|
}
|
||
|
},
|
||
|
"exclude_metrics": [
|
||
|
"metric1",
|
||
|
"metric2"
|
||
|
]
|
||
|
}
|
||
|
```
|
||
|
|
||
|
The `tempstat` collector reads the data from `/sys/class/hwmon/<device>/tempX_{input,label}`
|
||
|
|
||
|
Metrics:
|
||
|
* `temp_*`: The metric name is taken from the `label` files.
|