summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a38c240)
raw | patch | inline | side by side (parent: a38c240)
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 df0c373352d696ebd8b6ff7490f14f1c715862f0..72ec879f99c8a2abb8dd915630bb17fb1c7365b2 100644 (file)
--- a/src/write_riemann.c
+++ b/src/write_riemann.c
switch (n->severity)
{
- case NOTIF_OKAY: severity = "okay"; 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);