projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a38c240
)
respect riemann's terminology
author
Pierre-Yves Ritschard
<pyr@spootnik.org>
Thu, 7 Mar 2013 08:18:04 +0000
(09:18 +0100)
committer
Florian Forster
<octo@collectd.org>
Sat, 23 Mar 2013 09:20:21 +0000
(10:20 +0100)
Signed-off-by: Florian Forster <octo@collectd.org>
src/write_riemann.c
patch
|
blob
|
history
diff --git
a/src/write_riemann.c
b/src/write_riemann.c
index
df0c373
..
72ec879
100644
(file)
--- a/
src/write_riemann.c
+++ b/
src/write_riemann.c
@@
-226,9
+226,9
@@
static Msg *riemann_notification_to_protobuf (struct riemann_host *host, /* {{{
switch (n->severity)
{
- case NOTIF_OKAY: severity = "ok
ay
"; break;
+ case NOTIF_OKAY: severity = "ok"; break;
case NOTIF_WARNING: severity = "warning"; break;
- case NOTIF_FAILURE: severity = "
failure
"; break;
+ case NOTIF_FAILURE: severity = "
critical
"; break;
default: severity = "unknown";
}
event->state = strdup (severity);