From: Pavel Rochnyack Date: Sun, 8 Jul 2018 08:24:07 +0000 (+0700) Subject: routeros: Use 'voltage' and 'temperature' as reported types X-Git-Tag: collectd-5.9.0~159^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0832e872abcf1db9afb80924dbd01ad578c8a657;p=thirdparty%2Fcollectd.git routeros: Use 'voltage' and 'temperature' as reported types --- diff --git a/src/routeros.c b/src/routeros.c index 7598698da..63ad3c4ac 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 */