projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98c0b65
)
routeros: Use 'voltage' and 'temperature' as reported types
author
Pavel Rochnyack
<pavel2000@ngs.ru>
Sun, 8 Jul 2018 08:24:07 +0000
(15:24 +0700)
committer
Pavel Rochnyack
<pavel2000@ngs.ru>
Sun, 8 Jul 2018 08:24:07 +0000
(15:24 +0700)
src/routeros.c
patch
|
blob
|
history
diff --git
a/src/routeros.c
b/src/routeros.c
index
7598698
..
63ad3c4
100644
(file)
--- 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 */