code: def get_message(self, level, alert, value, **kwargs):
          
          target, ntype = kwargs.get('target'), kwargs.get('ntype')
  
          msg_type = 'telegram' if ntype == 'graphite' else 'short'
          tmpl = TEMPLATES[ntype][msg_type]
          generated = tmpl.generate(
              level=level, reactor=self.reactor, alert=alert,
              value=value, target=target,)
          return generated.decode().strip()
docs: Standart alert message. Same format across all
          graphite-beacon handlers.