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.&quot;python.d.conf&quot; = pkgs.writeText &quot;python.d.conf&quot; ''
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 &quot;/run/wrappers&quot; ];
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 = [&quot;CAP_SETGID&quot;];
systemd.services.netdata.serviceConfig.CapabilityBoundingSet = ["CAP_SETGID"];


# enable profiling
# enable profiling