summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 130dd69)
raw | patch | inline | side by side (parent: 130dd69)
author | Adrian Miron <adrian.miron.v2@gmail.com> | |
Sat, 8 Mar 2014 18:17:09 +0000 (20:17 +0200) | ||
committer | Adrian Miron <adrian.miron.v2@gmail.com> | |
Sat, 8 Mar 2014 18:17:09 +0000 (20:17 +0200) |
src/write_riemann.c | patch | blob | history |
diff --git a/src/write_riemann.c b/src/write_riemann.c
index c890818dc8bf8073f0b7655a81b5a6e2e1527d1b..e85e943614f6fd5bfbb5007bbe1c64c7777683d7 100644 (file)
--- a/src/write_riemann.c
+++ b/src/write_riemann.c
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)
{