Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To support the redfish based sensor monitoring, the standard redfish interfaces are used as mentioned in the DMTF. Idea is to use as much possible the standard REST API URLs to reach the sensor resources. In order to impletment implement and utilize the redfish interfaces one must understand the concept of resoure maps in DMTF redfish architecture. 

The resource traversing for each elements can happen via well defined reource resource map. As described in the below diagram, These resource maps can be used directly to depict the REST URL to use GET or POST requests to certain resources. For the purpose of this plugin, the main focus is on the resources below /"redfish/v1/Chassis/<id>".   



Image Modified


Resource Map in Redfish (courtsey : DMTF)

...

Collectd'd standard framework calls are used to read the configurations details and then make a read callback for specified sensors. Once the sensor values are fetched, they are pushed to the cache. Following state diagram gives an idea on how the sensor values are picked.


Image Modified

Collectd redfish State diagram

...