Changes between Version 33 and Version 34 of OperationalMonitoring/DatastorePolling
- Timestamp:
- 08/29/14 10:57:12 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OperationalMonitoring/DatastorePolling
v33 v34 16 16 == Info Queries == 17 17 18 The collector retrieves from a config local datastore a set of URLs of local datastores that are associated with one or more aggregate managers (AMs). This allows the collector to poll local datastores for information about the data associated with each local datastore and AM at <datastore_url>/info/aggregate/<aggregate_id>. The information returned is a list of properties about the aggregate as well as a list of nodes, slivers, and VLANs. Here is [wiki:OperationalMonitoring/DataSchema 20#Aggregatecallandresponse a detailed example of an aggregate info query].18 The collector retrieves from a config local datastore a set of URLs of local datastores that are associated with one or more aggregate managers (AMs). This allows the collector to poll local datastores for information about the data associated with each local datastore and AM at <datastore_url>/info/aggregate/<aggregate_id>. The information returned is a list of properties about the aggregate as well as a list of nodes, slivers, and VLANs. Here is [wiki:OperationalMonitoring/DataSchema#Aggregatecallandresponse a detailed example of an aggregate info query]. 19 19 20 The collector will then query for information about particular objects one at a time (i.e., a node). The query returns a list of properties about the object as well as a list of associated objects (i.e., a node's interfaces). In this example, a node info query will be at <datastore_url>/info/node/<node_id>. Here is a [wiki:OperationalMonitoring/DataSchema 20#Nodecallandresponse a detailed example of a node info query]. The collector would repeat for other nodes it received in the list in the aggregate info query.20 The collector will then query for information about particular objects one at a time (i.e., a node). The query returns a list of properties about the object as well as a list of associated objects (i.e., a node's interfaces). In this example, a node info query will be at <datastore_url>/info/node/<node_id>. Here is a [wiki:OperationalMonitoring/DataSchema#Nodecallandresponse a detailed example of a node info query]. The collector would repeat for other nodes it received in the list in the aggregate info query. 21 21 22 22 Depending on what the collector is supporting above it in the form of different monitoring applications, it may continue querying the local datastore about objects or resources it has data about. They are of similar form. Here are links to examples: 23 23 24 * [wiki:OperationalMonitoring/DataSchema 20#Interfacecallandresponse An example interface query]25 * [wiki:OperationalMonitoring/DataSchema 20#Slivercallandresponse An example sliver query]24 * [wiki:OperationalMonitoring/DataSchema#Interfacecallandresponse An example interface query] 25 * [wiki:OperationalMonitoring/DataSchema#Slivercallandresponse An example sliver query] 26 26 27 If the collector is tracking sliver and slice info, the collector may also be directed to a slice authority local datastore, which is a different datastore than one containing shared host nodes. Here is a [wiki:OperationalMonitoring/DataSchema 20#Sliceauthoritycallandresponse detailed example slice query], and here is a [wiki:OperationalMonitoring/DataSchema20#Usercallandresponse detailed example of a user query]. Both of these queries are of similar form with <datastore_url>/info/slice/<slice_id> and <datastore_url>/info/user/<user_id> respectively.27 If the collector is tracking sliver and slice info, the collector may also be directed to a slice authority local datastore, which is a different datastore than one containing shared host nodes. Here is a [wiki:OperationalMonitoring/DataSchema#Sliceauthoritycallandresponse detailed example slice query], and here is a [wiki:OperationalMonitoring/DataSchema#Usercallandresponse detailed example of a user query]. Both of these queries are of similar form with <datastore_url>/info/slice/<slice_id> and <datastore_url>/info/user/<user_id> respectively. 28 28 29 29 The API does not support querying multiple objects in a single info query. For example, <datastore_url>/info/node/ will not return all the nodes' info at that local datastore. … … 53 53 }}} 54 54 55 The response to this REST data query is a list of data items. Here are [wiki:OperationalMonitoring/DataSchema 20#Time-seriesmeasurementscallandresponse a few example responses] of a single and multiple data items.55 The response to this REST data query is a list of data items. Here are [wiki:OperationalMonitoring/DataSchema#Time-seriesmeasurementscallandresponse a few example responses] of a single and multiple data items. 56 56 57 57 == Security ==