Changes between Version 27 and Version 28 of OperationalMonitoring/DataSchema


Ignore:
Timestamp:
02/17/14 17:48:09 (6 years ago)
Author:
rirwin@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OperationalMonitoring/DataSchema

    v27 v28  
    410410}
    411411}}}
     412Queries on multiple eventTypes and object ID's will be presented in a list format.  Here is an example query for event types cpu utilization and active memory utilization for nodes pc1 and pc2 of instageni-bbn.
     413Also it is advised to provide timestamp filters with data queries.  Here is the format for [wiki:OperationalMonitoring/DatastorePolling#DataQueries timestamp filters] .
     414{{{
     415[
     416 {
     417   "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140131/data#",
     418    "id": "1",
     419    "subject": "https://datastore.instageni.gpolab.bbn.com/nodes/instageni.gpolab.bbn.com_node_pc1",
     420    "eventType": "ops_monitoring:cpu_utilization",
     421    "description": "CPU utilization percentage",
     422    "units": "percent",
     423    "tsdata": [
     424      { "ts": 1391198716651283, "val": 0.45 },
     425      { "ts": 1391198776651284, "val": 0.44 },
     426      { "ts": 1391198836651284, "val": 0.44 },
     427      { "ts": 1391198896651284, "val": 0.47 },
     428      { "ts": 1391198956651284, "val": 0.46 },
     429      { "ts": 1391199016651285, "val": 0.47 }
     430    ]
     431 }
     432,
     433 {
     434   "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140131/data#",
     435   "id": "1",
     436   "subject": "https://datastore.instageni.gpolab.bbn.com/nodes/instageni.gpolab.bbn.com_node_pc2",
     437   "eventType": "ops_monitoring:cpu_utilization",
     438   "description": "CPU utilization percentage",
     439   "units": "percent",
     440   "tsdata": [
     441     { "ts": 1391198716651283, "val": 0.45 },
     442     { "ts": 1391198776651284, "val": 0.48 },
     443     { "ts": 1391198836651284, "val": 0.45 },
     444     { "ts": 1391198896651284, "val": 0.49 },
     445     { "ts": 1391198956651284, "val": 0.50 },
     446     { "ts": 1391199016651285, "val": 0.51 }
     447    ]
     448 }
     449,
     450 {
     451  "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140131/data#",
     452  "id": "3",
     453  "subject": "https://datastore.instageni.gpolab.bbn.com/nodes/instageni.gpolab.bbn.com_node_pc1",
     454  "eventType": "ops_monitoring:mem_active_kb",
     455  "description": "Memory in active use",
     456  "units": "kilobytes",
     457  "tsdata": [
     458    { "ts": 1391198716651283, "val": 30030048 },
     459    { "ts": 1391198776651284, "val": 30031148 },
     460    { "ts": 1391198836651284, "val": 30031148 },
     461    { "ts": 1391198896651284, "val": 32222222 },
     462    { "ts": 1391198956651284, "val": 32222222 },
     463    { "ts": 1391199016651285, "val": 32222222 }
     464  ]
     465 }
     466,
     467 {
     468  "$schema": "http://www.gpolab.bbn.com/monitoring/schema/20140131/data#",
     469  "id": "3",
     470  "subject": "https://datastore.instageni.gpolab.bbn.com/nodes/instageni.gpolab.bbn.com_node_pc2",
     471  "eventType": "ops_monitoring:mem_active_kb",
     472  "description": "Memory in active use",
     473  "units": "kilobytes",
     474  "tsdata": [
     475    { "ts": 1391198716651283, "val": 20030048 },
     476    { "ts": 1391198776651284, "val": 20031148 },
     477    { "ts": 1391198836651284, "val": 20031148 },
     478    { "ts": 1391198896651284, "val": 22222222 },
     479    { "ts": 1391198956651284, "val": 22222222 },
     480    { "ts": 1391199016651285, "val": 22222222 }
     481  ]
     482 }
     483]
     484}}}
     485
     486