Closed r0h4n closed 6 years ago
Target is to generate status change alerts for Volumes, Clusters, Bricks, Nodes via the object.watch_attrs functionality.
@shtripat @Tendrl/admins any other suggestions?
Agree as that would be best place to do this.
Add "watch_attrs" (type: list) to Tendrl definition schema for the Object
In Services (tendrl-node-agent, tendrl-gluster-integration etc) that can .save() an object, a watcher thread will be created per attribute of that instance of the object.
eg: /clusters/asdadwwasd/status (creates 1 watcher per service for given integration_id/status)