Skip to content

Instantly share code, notes, and snippets.

@sumanyu
Created October 24, 2014 22:40
Show Gist options
  • Save sumanyu/e7260a94809eecee208d to your computer and use it in GitHub Desktop.
Save sumanyu/e7260a94809eecee208d to your computer and use it in GitHub Desktop.
Sample metric
{
"id": "",
"host": "",
"psuBlock": [
{
"utilities": [
{
"slot": "",
"status": ""
}
],
"psus": [
{
"slot": 0,
"current": 0,
"power": 0,
"volt": 0,
"temp": 0,
"fanSpeed": 0,
"utility": "",
"totalHarmonicDistortion": 0,
"powerFactor": 0,
"commStatus": "",
"commError": "",
"acOn": false,
"dcOn": false
}
]
}
],
"cacheBlock": [
{
"cache": [
{
"slot": 0,
"current": 0,
"power": 0,
"volt": 0,
"temp": 0,
"remainingCharge": 0,
"status": "",
"chargeCycle": 0
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment