diff options
author | Adrien Mahieux <adrien.mahieux@gmail.com> | 2019-09-18 14:13:32 +0200 |
---|---|---|
committer | Chris Akritidis <43294513+cakrit@users.noreply.github.com> | 2019-09-18 14:13:32 +0200 |
commit | 0942680f85a3fb0a03bc8c211fcc9d286572c242 (patch) | |
tree | f0d664bad2627e0bf488f970927be55c05c5b0d7 /netdata.spec.in | |
parent | a3a46cb6d5147a1e8159de468523cd91d08bc2cf (diff) |
Collector slabinfo (#6800)
### Summary
Provide new collector parsing `/proc/slabinfo` to provide details on kernel slab structures.
Asked by issue #13 (very happy for the oldest issue in backlog)
##### Component Name
collectors/slabinfo.plugin
##### Additional Information
This slabinfo details allows to have clues on actions done on your system.
In the following screenshot, you can clearly see a `find` done on a ext4 filesystem (the number of `ext4_inode_cache` & `dentry` are rising fast), and a few seconds later, an admin issued a `echo 3 > /proc/sys/vm/drop_cached` as their count dropped.
Diffstat (limited to 'netdata.spec.in')
-rw-r--r-- | netdata.spec.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/netdata.spec.in b/netdata.spec.in index 4bad813d53..5f25659ef7 100644 --- a/netdata.spec.in +++ b/netdata.spec.in @@ -279,6 +279,9 @@ install -m 4750 -p perf.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins. # Install cups.plugin install -m 0750 -p cups.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/cups.plugin" +# ########################################################### +# Install slabinfo.plugin +install -m 4750 -p slabinfo.plugin "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/plugins.d/slabinfo.plugin" # ########################################################### # Install registry directory @@ -451,6 +454,8 @@ rm -rf "${RPM_BUILD_ROOT}" # perf plugin %caps(cap_setuid=ep) %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/perf.plugin +# perf plugin +%caps(cap_setuid=ep) %attr(4550,root,netdata) %{_libexecdir}/%{name}/plugins.d/slabinfo.plugin # freeipmi files %caps(cap_setuid=ep) %attr(4550,root,netdata) %{_libexecdir}/%{name}/plugins.d/freeipmi.plugin |