Netdata: Difference between revisions
imported>Beardedtek m →nvidia-smi: edit quotes to not include html code |
imported>Beardedtek →samba: replace html code " with " |
||
| Line 84: | Line 84: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
services.netdata.configDir. | services.netdata.configDir."python.d.conf" = pkgs.writeText "python.d.conf" '' | ||
samba: yes | samba: yes | ||
''; | ''; | ||
# add samba and sudo to path of python plugin | # add samba and sudo to path of python plugin | ||
systemd.services.netdata.path = [ pkgs.samba | systemd.services.netdata.path = [ pkgs.samba "/run/wrappers" ]; | ||
# permit to run sudo smbstatus -P | # permit to run sudo smbstatus -P | ||
| Line 98: | Line 98: | ||
# as documented here : https://github.com/netdata/netdata/blob/master/system/netdata.service.in | # as documented here : https://github.com/netdata/netdata/blob/master/system/netdata.service.in | ||
# review capabilityset above if other plugins are non functional | # review capabilityset above if other plugins are non functional | ||
systemd.services.netdata.serviceConfig.CapabilityBoundingSet = [ | systemd.services.netdata.serviceConfig.CapabilityBoundingSet = ["CAP_SETGID"]; | ||
# enable profiling | # enable profiling | ||