66 lines
1014 B
JSON
66 lines
1014 B
JSON
{
|
|
"_projection" : {
|
|
"type": "HostingNode",
|
|
"_emit" : {
|
|
"id" : "Id",
|
|
},
|
|
"metadata" : {
|
|
"_emit" : {
|
|
"lastUpdateTime" : "Last Update Time"
|
|
}
|
|
},
|
|
"consistsOf": [
|
|
{
|
|
"type": "IsIdentifiedBy",
|
|
"target": {
|
|
"type": "NetworkingFacet",
|
|
"_emit" : {
|
|
"hostName" : "HostName"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ConsistsOf",
|
|
"target": {
|
|
"type": "StateFacet",
|
|
"_emit" : {
|
|
"value" : "Status"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "HasPersistentMemory",
|
|
"target": {
|
|
"type": "MemoryFacet",
|
|
"_concat" : {
|
|
"values" : [
|
|
{
|
|
"_sub" : [
|
|
"size",
|
|
"used"
|
|
]
|
|
},
|
|
"unit"
|
|
],
|
|
"separator" : " ",
|
|
"as" : "HD Space Left"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "HasVolatileMemory",
|
|
"target": {
|
|
"type": "MemoryFacet",
|
|
"_concat" : {
|
|
"values" : [
|
|
"size",
|
|
"unit"
|
|
],
|
|
"separator" : " ",
|
|
"as" : "Mem. Available."
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |