projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into feature-riemann-threshold
[collectd.git]
/
src
/
write_riemann.c
diff --git
a/src/write_riemann.c
b/src/write_riemann.c
index
75325cd
..
2875a01
100644
(file)
--- 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]);
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)
{
/* Pull in values from threshold and add extra attributes */
for (meta = n->meta; meta != NULL; meta = meta->next)
{