mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-03-29 21:46:53 +02:00
update collectd
This commit is contained in:
parent
2bd33382c9
commit
09b2938e7e
34
collectd/collectd/conf.d/filters.conf
Normal file
34
collectd/collectd/conf.d/filters.conf
Normal file
@ -0,0 +1,34 @@
|
||||
# Filter configuration for collectd(1).
|
||||
#
|
||||
# See the section "FILTER CONFIGURATION" in collectd.conf(5) for details.
|
||||
|
||||
#PreCacheChain "PreCache"
|
||||
#PostCacheChain "PostCache"
|
||||
|
||||
#LoadPlugin match_empty_counter
|
||||
#LoadPlugin match_hashed
|
||||
#LoadPlugin match_regex
|
||||
#LoadPlugin match_timediff
|
||||
#LoadPlugin match_value
|
||||
|
||||
#LoadPlugin target_notification
|
||||
#LoadPlugin target_replace
|
||||
#LoadPlugin target_scale
|
||||
#LoadPlugin target_set
|
||||
#LoadPlugin target_v5upgrade
|
||||
|
||||
#<Chain "PreCache">
|
||||
# <Rule "no_fqdn">
|
||||
# <Match "regex">
|
||||
# Host "^[^\.]*$"
|
||||
# Invert false
|
||||
# </Match>
|
||||
# Target "stop"
|
||||
# </Rule>
|
||||
#</Chain>
|
||||
|
||||
# Default behavior:
|
||||
#<Chain "PostCache">
|
||||
# Target "write"
|
||||
#</Chain>
|
||||
|
17
collectd/collectd/conf.d/graphite.conf
Normal file
17
collectd/collectd/conf.d/graphite.conf
Normal file
@ -0,0 +1,17 @@
|
||||
<LoadPlugin write_graphite>
|
||||
Interval 60
|
||||
</LoadPlugin>
|
||||
|
||||
<Plugin write_graphite>
|
||||
<Node "graphite">
|
||||
Host "example.com"
|
||||
Port "2003"
|
||||
Protocol "tcp"
|
||||
LogSendErrors true
|
||||
Prefix "collectd."
|
||||
Postfix ""
|
||||
StoreRates true
|
||||
AlwaysAppendDS false
|
||||
EscapeCharacter "_"
|
||||
</Node>
|
||||
</Plugin>
|
@ -1,5 +1,6 @@
|
||||
LoadPlugin network
|
||||
|
||||
<Plugin "network">
|
||||
Listen "0.0.0.0" "25826"
|
||||
Server "influxdb" "25826"
|
||||
</Plugin>
|
||||
|
6
collectd/collectd/conf.d/ping.conf
Normal file
6
collectd/collectd/conf.d/ping.conf
Normal file
@ -0,0 +1,6 @@
|
||||
LoadPlugin ping
|
||||
|
||||
<Plugin ping>
|
||||
Host "httpbin.org"
|
||||
Host "ifconfig.co"
|
||||
</Plugin>
|
51
collectd/collectd/conf.d/thresholds.conf
Normal file
51
collectd/collectd/conf.d/thresholds.conf
Normal file
@ -0,0 +1,51 @@
|
||||
# Threshold configuration for collectd(1).
|
||||
#
|
||||
# See the collectd-threshold(5) manual page for details.
|
||||
|
||||
#LoadPlugin "threshold"
|
||||
#<Plugin "threshold">
|
||||
# <Type "counter">
|
||||
# WarningMin 0.00
|
||||
# WarningMax 1000.00
|
||||
# FailureMin 0
|
||||
# FailureMax 1200.00
|
||||
# Invert false
|
||||
# Persist false
|
||||
# Instance "some_instance"
|
||||
# </Type>
|
||||
#
|
||||
# <Type "load">
|
||||
# DataSource "midterm"
|
||||
# WarningMax 1
|
||||
# Hysteresis 0.3
|
||||
# </Type>
|
||||
#
|
||||
# <Type "cpu">
|
||||
# Instance "user"
|
||||
# WarningMax 85
|
||||
# Hits 6
|
||||
# </Type>
|
||||
#
|
||||
# <Plugin "interface">
|
||||
# Instance "eth0"
|
||||
# <Type "if_octets">
|
||||
# DataSource "rx"
|
||||
# FailureMax 10000000
|
||||
# </Type>
|
||||
# </Plugin>
|
||||
#
|
||||
# <Host "hostname">
|
||||
# <Type "cpu">
|
||||
# Instance "idle"
|
||||
# FailureMin 10
|
||||
# </Type>
|
||||
#
|
||||
# <Plugin "memory">
|
||||
# <Type "memory">
|
||||
# Instance "cached"
|
||||
# WarningMin 100000000
|
||||
# </Type>
|
||||
# </Plugin>
|
||||
# </Host>
|
||||
#</Plugin>
|
||||
|
Loading…
x
Reference in New Issue
Block a user