# Config file for collectd(1). # # Some plugins need additional configuration and are disabled by default. # Please read collectd.conf(5) for details. # # You should also read /usr/share/doc/collectd-core/README.Debian.plugins # before enabling any more plugins. ############################################################################## # Global # #----------------------------------------------------------------------------# # Global settings for the daemon. # ############################################################################## Hostname "nsb_stats" FQDNLookup true Interval {{ interval }} ############################################################################## # LoadPlugin section # #----------------------------------------------------------------------------# # Specify what features to activate. # ############################################################################## #LoadPlugin syslog {% for plugin in loadplugins if plugin != "ovs_stats" %} LoadPlugin {{ plugin }} {% endfor %} {% if "ovs_stats" in plugins %} Interval 1 {% endif %} ############################################################################## # Plugin configuration # #----------------------------------------------------------------------------# # In this section configuration stubs for each plugin are provided. A desc- # # ription of those options is available in the collectd.conf(5) manual page. # ############################################################################## # # LogLevel debug # Host "0.0.0.0" Port "5672" VHost "/" User "admin" Password "admin" Exchange "amq.fanout" RoutingKey "collectd" Persistent false StoreRates false ConnectionRetryDelay 0 ReportByCpu true ReportByState true ValuesPercentage true ValuesAbsolute true ValuesPercentage false ReportPerNodeHP true ReportRootHP true ValuesPages true ValuesBytes false ValuesPercentage false {% if "intel_rdt" in plugins %} Cores "" {% endif %} {% if "intel_pmu" in plugins %} ReportHardwareCacheEvents true ReportKernelPMUEvents true ReportSoftwareEvents true EventList "{{ plugins['intel_pmu']['pmu_event_path'] }}" {% endif %} {% if "dpdkstat" in plugins %} Coremask "0x1" MemoryChannels "4" ProcessType "secondary" FilePrefix "rte" SharedMemObj "dpdk_collectd_stats_0" EnabledPortMask 0xffff {% for port_name in port_names %} PortName {{ port_name }} {% endfor %} {% endif %} {% if "virt" in plugins %} # monitor all domains RefreshInterval 60 ExtraStats "cpu_util disk disk_err domain_state fs_info job_stats_background pcpu perf vcpupin" {% endif %} {% if "ovs_stats" in plugins %} Port "6640" Address "127.0.0.1" Socket "{{ plugins['ovs_stats']['ovs_socket_path'] }}" # don't specify bridges, monitor all bridges {% endif %}