65 lines
951 B
JSON
65 lines
951 B
JSON
{
|
|
"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",
|
|
"_sum" : {
|
|
"values" : [
|
|
{
|
|
"_minus" : [
|
|
"size",
|
|
"used"
|
|
]
|
|
},
|
|
"unit"
|
|
],
|
|
"separator" : " ",
|
|
"as" : "HD Space Left"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "HasVolatileMemory",
|
|
"target": {
|
|
"type": "MemoryFacet",
|
|
"jvmMaxMemory" : null,
|
|
"_sum" : {
|
|
"values" : [
|
|
"size",
|
|
"unit"
|
|
],
|
|
"separator" : " ",
|
|
"as" : "Mem. Available."
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |