routeros: Fixed typo in 'sectors_written' metric name
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 63ad3c4..111feb6 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);
   }