collectd.service: add intel_rdt plugin capability requirement
authorPrzemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
Fri, 3 Feb 2017 13:22:18 +0000 (13:22 +0000)
committerPrzemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
Fri, 3 Feb 2017 13:47:47 +0000 (13:47 +0000)
Change-Id: I08849f5947b052d8ffae263396f4e7deba8966f3
Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
contrib/systemd.collectd.service
src/collectd.conf.pod

index d0f1bde..8a1fc27 100644 (file)
@@ -18,6 +18,7 @@ ProtectHome=true
 #   ceph            CAP_DAC_OVERRIDE
 #   dns             CAP_NET_RAW
 #   exec            CAP_SETUID CAP_SETGID
+#   intel_rdt       CAP_SYS_RAWIO
 #   iptables        CAP_NET_ADMIN
 #   ping            CAP_NET_RAW
 #   turbostat       CAP_SYS_RAWIO
index 51fe68d..6931066 100644 (file)
@@ -2958,6 +2958,10 @@ allows to monitor instructions per clock (IPC).
 Monitor events are hardware dependant. Monitoring capabilities are detected on
 plugin initialization and only supported events are monitored.
 
+B<Note:> I<intel_rdt> plugin is using model-specific registers (MSRs), which
+require an additional capability to be enabled if collectd is run as a service.
+Please refer to I<contrib/systemd.collectd.service> file for more details.
+
 B<Synopsis:>
 
   <Plugin "intel_rdt">