diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-02-15 01:24:38 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-02-15 01:24:38 +0200 |
commit | 577dbe94496479256311a8c84909c36123b7a406 (patch) | |
tree | 0da15d70575595e4c6e852514c2b1df129cbe05d /src/proc_net_rpc_nfsd.c | |
parent | 066e6219897943550489d89a745ffe34e388677a (diff) |
allow netdata to be easily relocatable
Diffstat (limited to 'src/proc_net_rpc_nfsd.c')
-rw-r--r-- | src/proc_net_rpc_nfsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proc_net_rpc_nfsd.c b/src/proc_net_rpc_nfsd.c index e857ad6a40..969910f32c 100644 --- a/src/proc_net_rpc_nfsd.c +++ b/src/proc_net_rpc_nfsd.c @@ -217,7 +217,7 @@ int do_proc_net_rpc_nfsd(int update_every, usec_t dt) { if(!ff) { char filename[FILENAME_MAX + 1]; - snprintfz(filename, FILENAME_MAX, "%s%s", global_host_prefix, "/proc/net/rpc/nfsd"); + snprintfz(filename, FILENAME_MAX, "%s%s", netdata_configured_host_prefix, "/proc/net/rpc/nfsd"); ff = procfile_open(config_get("plugin:proc:/proc/net/rpc/nfsd", "filename to monitor", filename), " \t", PROCFILE_FLAG_DEFAULT); } if(!ff) return 1; |