return ""

# sadly, monitor is not ready yet to handle another master
# AND one may want to use a different url for its monitor app
"""
base_url = 'https://monitor.app.officejs.com/#/?page=ojsm_dispatch&query=portal_type:"Software Instance" AND '

if context.getPortalType() in ["Organisation", "Computer Network"]:
  if compute_node_list is None:
    return ""
  compute_node_reference = ",".join([ '"' + i.getReference() + '"' for i in compute_node_list])
  return base_url + "aggregate_reference:(%s)" % compute_node_reference

if context.getPortalType() == "Instance Tree":
  for connection_parameter in context.InstanceTree_getConnectionParameterList(raw=True):
    if connection_parameter['connection_key'] == "monitor-setup-url":
      return connection_parameter['connection_value']
  base_url = 'https://monitor.app.officejs.com/#/?page=ojsm_dispatch&query=portal_type:"Instance Tree" AND '
  return base_url + "title:(%s)" % context.getTitle()

if context.getPortalType() in ["Software Instance", "Slave Instance"]:
  return base_url + "reference:%s" % context.getReference()

if context.getPortalType() == "Compute Node":
  return base_url + "aggregate_reference:%s" % context.getReference()
"""
