]> arthur.barton.de Git - netdata.git/blobdiff - src/proc_sys_kernel_random_entropy_avail.c
all internal plugins create chart at localhost except plugins.d that respects the...
[netdata.git] / src / proc_sys_kernel_random_entropy_avail.c
index cac8954954a2a84e676b3870c9ba94cc89a3f548..fea8900d33cc7ef0c89fbc3a81e3da4b1e9db575 100644 (file)
@@ -19,7 +19,8 @@ int do_proc_sys_kernel_random_entropy_avail(int update_every, usec_t dt) {
 
     RRDSET *st = rrdset_find_bytype_localhost("system", "entropy");
     if(unlikely(!st)) {
-        st = rrdset_create("system", "entropy", NULL, "entropy", NULL, "Available Entropy", "entropy", 1000, update_every, RRDSET_TYPE_LINE);
+        st = rrdset_create_localhost("system", "entropy", NULL, "entropy", NULL, "Available Entropy", "entropy", 1000
+                                     , update_every, RRDSET_TYPE_LINE);
         rrddim_add(st, "entropy", NULL, 1, 1, RRD_ALGORITHM_ABSOLUTE);
     }
     else rrdset_next(st);