Skip to content

Commit

Permalink
Update parsers.json
Browse files Browse the repository at this point in the history
Add NVME temperature to measurements
  • Loading branch information
asgothian authored Feb 1, 2025
1 parent 819c827 commit 6edf019
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 6edf019

Please sign in to comment.