]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
routeros: Fixed typo in 'sectors_written' metric name 2851/head
authorPavel Rochnyack <pavel2000@ngs.ru>
Sun, 8 Jul 2018 08:25:51 +0000 (15:25 +0700)
committerPavel Rochnyack <pavel2000@ngs.ru>
Sun, 8 Jul 2018 08:25:51 +0000 (15:25 +0700)
src/routeros.c

index 63ad3c4acbf3c2ad43208dedd9750134ededad68..111feb6f81a1355eb48908e0bdbd25ed792fb899 100644 (file)
@@ -206,7 +206,7 @@ static int handle_system_resource(__attribute__((unused))
   }
 
   if (rd->collect_disk) {
-    cr_submit_counter(rd, "counter", "secors_written",
+    cr_submit_counter(rd, "counter", "sectors_written",
                       (derive_t)r->write_sect_total);
     cr_submit_gauge(rd, "gauge", "bad_blocks", (gauge_t)r->bad_blocks);
   }