def _create_monit_operation(self): """A wrapper method to create a monit operation and register it with the core. Returns: - Nothing """ if settings.AgentId: operation = MonitOperation() operation.type = MonitOperationValue.MonitorData self._register_operation(operation.to_json())