X-Git-Url: https://arthur.barton.de/gitweb/?p=netdata.git;a=blobdiff_plain;f=src%2Fproc_sys_kernel_random_entropy_avail.c;h=fea8900d33cc7ef0c89fbc3a81e3da4b1e9db575;hp=cac8954954a2a84e676b3870c9ba94cc89a3f548;hb=6c9f0d2d75ee95bcaa74eed9fd9192eb24de7120;hpb=31d02cfae33331b29d915dbe19e5baf3bfd72df8 diff --git a/src/proc_sys_kernel_random_entropy_avail.c b/src/proc_sys_kernel_random_entropy_avail.c index cac89549..fea8900d 100644 --- a/src/proc_sys_kernel_random_entropy_avail.c +++ b/src/proc_sys_kernel_random_entropy_avail.c @@ -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);