Skip to content

Commit

Permalink
Merge pull request #262 from asgothian/master
Browse files Browse the repository at this point in the history
add nvme temperature to parsers.json
  • Loading branch information
Garfonso authored Feb 6, 2025
2 parents 819c827 + 6edf019 commit b6d9334
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/parsers.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,13 @@
"regexp": "(.*)",
"post": "$1/1000",
"role": "value.temperature"
},
"nvme_temp": {
"command": "test -e /usr/sbin/nvme && sudo nvme smart-log /dev/nvme0 || echo \"0\"",
"regexp": "temperature\\s+:\\s+(\\d+)",
"post": "%1",
"role": "value.temperature",
"multiline": true
}
},
"uptime": {
Expand Down

0 comments on commit b6d9334

Please sign in to comment.