libgs.monitoring.Monitor.register_parent

Monitor.register_parent(name, parent=None)[source]

A parent monitor is not really a monitor. It is merely the product of its children and exists for visualisation/grouping purposes only.

Its alert status will always be the worst of its children.

Parameters:
  • name (str) – The name of the parent to register
  • parent (str(optional)) – The parent of the parent you are registering