def METHOD_NAME(self, template, dashboard=False):
    result = ""
    delta = Plugin.DELTA.as_is
    for i, item in enumerate(self.ProcessItems):
        # split each item to get values for keys of both agent type and mamonsu type
        keys = item[1].split("[")
        if i == 2 and Plugin.Type == "agent":
            delta = Plugin.DELTA.speed_per_second
        result += template.item({
            "name": "System: Processes {0}".format(item[2]),
            "key": self.right_type(self.key + keys[0] + "{0}", keys[1][:-1]),
            "delay": self.plugin_config("interval"),
            "delta": delta
        })
    if Plugin.Type == "mamonsu":
        delta = Plugin.DELTA.as_is
    else:
        delta = Plugin.DELTA.speed_per_second
    for item in self.CpuItems:
        # split each item to get values for keys of both agent type and mamonsu type
        keys = item[1].split("[")
        result += template.item({
            "name": "System: CPU Time Spent {0}".format(item[2]),
            "key": self.right_type(self.key + keys[0] + "{0}", keys[1][:-1]),
            "delay": self.plugin_config("interval"),
            "delta": delta
        })
    if not dashboard:
        return result
    else:
        return []