Changes between Version 3 and Version 4 of SystemAdministration/Default_VM_setup


Ignore:
Timestamp:
11/24/15 08:37:31 (8 years ago)
Author:
Willem Elbers
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SystemAdministration/Default_VM_setup

    v3 v4  
    4747https://access.redhat.com/articles/1492923
    4848https://forums.docker.com/t/docker-storage-config-on-centos-7-1/3164
     49
     50== CollectD ==
     51
     52Example collectd configuration
     53{{{
     54##############################################################################
     55# Global                                                                     #
     56#----------------------------------------------------------------------------#
     57# Global settings for the daemon.                                            #
     58##############################################################################
     59
     60#Hostname    "localhost"
     61#FQDNLookup   true
     62#BaseDir     "/var/lib/collectd"
     63#PIDFile     "/var/run/collectd.pid"
     64#PluginDir   "/usr/lib64/collectd"
     65TypesDB     "/usr/share/collectd/merged_types.db"
     66
     67#----------------------------------------------------------------------------#
     68# When enabled, plugins are loaded automatically with the default options    #
     69# when an appropriate <Plugin ...> block is encountered.                     #
     70# Disabled by default.                                                       #
     71#----------------------------------------------------------------------------#
     72#AutoLoadPlugin false
     73
     74#----------------------------------------------------------------------------#
     75# Interval at which to query values. This may be overwritten on a per-plugin #
     76# base by using the 'Interval' option of the LoadPlugin block:               #
     77#   <LoadPlugin foo>                                                         #
     78#       Interval 60                                                          #
     79#   </LoadPlugin>                                                            #
     80#----------------------------------------------------------------------------#
     81Interval     10
     82
     83#Timeout      2
     84#ReadThreads  5
     85#WriteThreads 5
     86
     87# Limit the size of the write queue. Default is no limit. Setting up a limit is
     88# recommended for servers handling a high volume of traffic.
     89#WriteQueueLimitHigh 1000000
     90#WriteQueueLimitLow   800000
     91
     92##############################################################################
     93# Logging                                                                    #
     94#----------------------------------------------------------------------------#
     95# Plugins which provide logging functions should be loaded first, so log     #
     96# messages generated when loading or configuring other plugins can be        #
     97# accessed.                                                                  #
     98##############################################################################
     99
     100LoadPlugin logfile
     101<Plugin logfile>
     102        LogLevel info
     103        File "/var/log/collectd/collectd.log"
     104        Timestamp true
     105        PrintSeverity false
     106</Plugin>
     107
     108##############################################################################
     109# LoadPlugin section                                                         #
     110#----------------------------------------------------------------------------#
     111# Lines beginning with a single `#' belong to plugins which have been built  #
     112# but are disabled by default.                                               #
     113#                                                                            #
     114# Lines begnning with `##' belong to plugins which have not been built due   #
     115# to missing dependencies or because they have been deactivated explicitly.  #
     116##############################################################################
     117
     118LoadPlugin cpu
     119LoadPlugin df
     120<Plugin df>
     121       MountPoint "/"
     122       IgnoreSelected false
     123       ReportByDevice false
     124       ReportReserved false
     125       ReportInodes true
     126       ValuesAbsolute true
     127       ValuesPercentage true
     128</Plugin>
     129LoadPlugin disk
     130<Plugin disk>
     131</Plugin>
     132LoadPlugin interface
     133<Plugin interface>
     134       Interface "eth0"
     135       IgnoreSelected false
     136</Plugin>
     137LoadPlugin load
     138LoadPlugin memory
     139LoadPlugin network
     140<Plugin network>
     141        Server "metrics.clarin.eu" "25826"
     142</Plugin>
     143LoadPlugin processes
     144LoadPlugin users
     145
     146Include "/etc/collectd.d"
     147}}}