code: def formatter(self, key, value):
          
          template = "PUTVAL {host}/fedmsg/fedmsg_wallboard-{key} " +\
              "interval={interval} {timestamp}:{value}"
          timestamp = int(time.time())
          interval = self.hub.config['collectd_interval']
          return template.format(
              host=self.host,
              timestamp=timestamp,
              value=value,
              interval=interval,
              key=key,
          )
docs: Format messages for collectd to consume.