Skip to content
Fourohtwo

tanod.dev/v1/hw/ssd-check

Check SSD wear, bytes written, rated TBW, spare and errors from supplied smartctl or NVMe SMART logs. Use when an agent must judge an SSD's wear and TB written from smartctl or nvme smart-log output, not just SMART PASSED.

SolanaAnswering
POSThttps://tanod.dev/v1/hw/ssd-check

Uptime100% of 1 check in 30 days

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://tanod.dev/v1/hw/ssd-check" \
  -d '{"report":"SMART/Health Information (NVMe Log 0x02)\nCritical Warning: 0x00\nAvailable Spare: 100%\nAvailable Spare Threshold: 10%\nPercentage Used: 2%\nData Units Written: 2,104,775 [1.08 TB]\nMedia and Data Integrity Errors: 0\n","rated_tbw":600}'

# 402 Payment Required comes back with the price and where to pay.

Example input

{
  "report": "SMART/Health Information (NVMe Log 0x02)\nCritical Warning: 0x00\nAvailable Spare: 100%\nAvailable Spare Threshold: 10%\nPercentage Used: 2%\nData Units Written: 2,104,775 [1.08 TB]\nMedia and Data Integrity Errors: 0\n",
  "rated_tbw": 600
}

More from Tanod utilpeek