From: Pavel Rochnyack Date: Sun, 8 Jul 2018 08:24:07 +0000 (+0700) Subject: routeros: Use 'voltage' and 'temperature' as reported types X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=0832e872abcf1db9afb80924dbd01ad578c8a657;p=collectd.git routeros: Use 'voltage' and 'temperature' as reported types --- diff --git a/src/routeros.c b/src/routeros.c index 7598698d..63ad3c4a 100644 --- a/src/routeros.c +++ b/src/routeros.c @@ -225,8 +225,8 @@ static int handle_system_health(__attribute__((unused)) return (EINVAL); rd = user_data; - cr_submit_gauge(rd, "gauge", "voltage", (gauge_t)r->voltage); - cr_submit_gauge(rd, "gauge", "temperature", (gauge_t)r->temperature); + cr_submit_gauge(rd, "voltage", "system", (gauge_t)r->voltage); + cr_submit_gauge(rd, "temperature", "system", (gauge_t)r->temperature); return (0); } /* }}} int handle_system_health */