X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fwrite_riemann.c;h=2875a0177240d3d8219002d69298b82bee4666a3;hb=639f00e946bb3182688661a99119aa5f5d6c81b6;hp=75325cd3aea1e13a71d85df21c54b4aa06870d48;hpb=4b49024edd5c38af0d920b005d7e709953c2d342;p=collectd.git diff --git a/src/write_riemann.c b/src/write_riemann.c index 75325cd3..2875a017 100644 --- a/src/write_riemann.c +++ b/src/write_riemann.c @@ -428,6 +428,9 @@ static Msg *riemann_notification_to_protobuf (struct riemann_host *host, /* {{{ n->type, n->type_instance); event->service = strdup (&service_buffer[1]); + if (n->message[0] != 0) + riemann_event_add_attribute (event, "description", n->message); + /* Pull in values from threshold and add extra attributes */ for (meta = n->meta; meta != NULL; meta = meta->next) {