X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.in;h=f9d011fcdaa63d7deb748689a1a6f5ac50cc92ee;hb=443afcad2cbacaca9bb1fd7d9ea790cbeb6ff015;hp=31dce556d10d4ae308b820c7890a1d7a357254ea;hpb=b4da854362a1e649b5767d79361dc08d6f41c4e1;p=collectd.git diff --git a/src/collectd.conf.in b/src/collectd.conf.in index 31dce556..f9d011fc 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -16,9 +16,19 @@ #PIDFile "@localstatedir@/run/@PACKAGE_NAME@.pid" #PluginDir "@libdir@/@PACKAGE_NAME@" #TypesDB "@prefix@/share/@PACKAGE_NAME@/types.db" + +#----------------------------------------------------------------------------# +# Interval at which to query values. This may be overwritten on a per-plugin # +# base by using the 'Interval' option of the LoadPlugin block: # +# # +# Interval 60 # +# # +#----------------------------------------------------------------------------# #Interval 10 + #Timeout 2 #ReadThreads 5 +#WriteThreads 5 ############################################################################## # Logging # @@ -134,6 +144,7 @@ #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail +#@BUILD_PLUGIN_TAIL_CSV_TRUE@LoadPlugin tail_csv #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2 @@ -327,6 +338,7 @@ # #SelectDB "custdb0" # Query "num_of_customers" # #Query "..." +# #Host "..." # # @@ -601,7 +613,7 @@ # Password "secret" # Interface "eth0" @LOAD_PLUGIN_NETWORK@ -# TimeToLive "128" +# TimeToLive 128 # # # server setup: # Listen "ff18::efc0:4a42" "25826" @@ -610,7 +622,7 @@ # AuthFile "/etc/collectd/passwd" # Interface "eth0" # -# MaxPacketSize 1024 +# MaxPacketSize 1452 # # # proxy setup (client and server as above): # Forward true @@ -754,6 +766,11 @@ # ValuesFrom "count" # # +# +# # See contrib/postgresql/collectd_insert.sql for details +# Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);" +# StoreRates true +# # # Host "hostname" # Port "5432" @@ -769,6 +786,12 @@ # Query backend # predefined # Query rt36_tickets # +# +# Service "collectd_store" +# Writer sqlstore +# # see collectd.conf(5) for details +# CommitInterval 30 +# # # @@ -832,13 +855,16 @@ # DaemonAddress "unix:/tmp/rrdcached.sock" # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd" # CreateFiles true +# CreateFilesAsync false # CollectStatistics true # # # DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd" +# CreateFilesAsync false # CacheTimeout 120 # CacheFlush 900 +# WritesPerSecond 50 # # @@ -934,6 +960,33 @@ # # +# +# +# Type "percent" +# Instance "dropped" +# ValueFrom 1 +# +# +# Type "bytes" +# Instance "wire-realtime" +# ValueFrom 2 +# +# +# Type "alerts_per_second" +# ValueFrom 3 +# +# +# Type "kpackets_wire_per_sec.realtime" +# ValueFrom 4 +# +# +# Instance "snort-eth0" +# Interval 600 +# Collect "dropped" "mbps" "alerts" "kpps" +# TimeFrom 0 +# +# + # # ListeningPorts false # LocalPort "25" @@ -999,15 +1052,15 @@ # # -# +# # Host "localhost" # Port "2003" # Prefix "collectd" # Postfix "collectd" -# StoreRates false +# StoreRates true # AlwaysAppendDS false # EscapeCharacter "_" -# +# # # @@ -1028,6 +1081,9 @@ # Port "27017" # Timeout 1000 # StoreRates false +# Database "auth_db" +# User "auth_user" +# Password "auth_passwd" # # @@ -1041,9 +1097,11 @@ # # -# Host "localhost"> +# Host "localhost" # Port 5555 +# Protocol UDP # StoreRates true +# AlwaysAppendDS false # # Tag "foobar" #