summaryrefslogtreecommitdiffstats
path: root/monitor/config/collectd-client.conf
diff options
context:
space:
mode:
authorYang Yu <Gabriel.yuyang@huawei.com>2018-05-02 16:52:11 +0800
committerYu Yang (Gabriel) <Gabriel.yuyang@huawei.com>2018-05-03 08:19:30 +0000
commit3f3676124f276985a0eb8986f53683a39f353dc2 (patch)
tree226b177ff6e8a227368c2d765174ba9d4f875829 /monitor/config/collectd-client.conf
parent14add4c9ee3c3114a92ee6c8cf6a6f677ec386a8 (diff)
Restructure monitoring scripts
Restructure the monitoring scripts and modify the scripts to remove the redundance Change-Id: Ib4a5d7bea2dc455ec03ad61780b6caf06831daa8 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com> (cherry picked from commit cb67313c1e14b6eca057bdfc7722bc11506b7a2a)
Diffstat (limited to 'monitor/config/collectd-client.conf')
-rw-r--r--monitor/config/collectd-client.conf125
1 files changed, 0 insertions, 125 deletions
diff --git a/monitor/config/collectd-client.conf b/monitor/config/collectd-client.conf
deleted file mode 100644
index 96a2a690..00000000
--- a/monitor/config/collectd-client.conf
+++ /dev/null
@@ -1,125 +0,0 @@
-#
-# Config file for collectd(1).
-# Please read collectd.conf(5) for a list of options.
-# http://collectd.org/
-#
-
-##############################################################################
-# Global #
-#----------------------------------------------------------------------------#
-# Global settings for the daemon. #
-##############################################################################
-
-#Hostname "localhost"
-#FQDNLookup true
-#BaseDir "${prefix}/var/lib/collectd"
-#PIDFile "${prefix}/var/run/collectd.pid"
-#PluginDir "${exec_prefix}/lib/collectd"
-#TypesDB "/usr/share/collectd/types.db"
-
-#----------------------------------------------------------------------------#
-# When enabled, plugins are loaded automatically with the default options #
-# when an appropriate <Plugin ...> block is encountered. #
-# Disabled by default. #
-#----------------------------------------------------------------------------#
-#AutoLoadPlugin false
-
-#----------------------------------------------------------------------------#
-# When enabled, internal statistics are collected, using "collectd" as the #
-# plugin name. #
-# Disabled by default. #
-#----------------------------------------------------------------------------#
-#CollectInternalStats false
-
-#----------------------------------------------------------------------------#
-# Interval at which to query values. This may be overwritten on a per-plugin #
-# base by using the 'Interval' option of the LoadPlugin block: #
-# <LoadPlugin foo> #
-# Interval 60 #
-# </LoadPlugin> #
-#----------------------------------------------------------------------------#
-#Interval 10
-
-#MaxReadInterval 86400
-#Timeout 2
-#ReadThreads 5
-#WriteThreads 5
-
-# Limit the size of the write queue. Default is no limit. Setting up a limit is
-# recommended for servers handling a high volume of traffic.
-#WriteQueueLimitHigh 1000000
-#WriteQueueLimitLow 800000
-
-##############################################################################
-# Logging #
-#----------------------------------------------------------------------------#
-# Plugins which provide logging functions should be loaded first, so log #
-# messages generated when loading or configuring other plugins can be #
-# accessed. #
-##############################################################################
-
-LoadPlugin syslog
-#<Plugin syslog>
-# LogLevel info
-#</Plugin>
-
-##############################################################################
-# LoadPlugin section #
-#----------------------------------------------------------------------------#
-# Lines beginning with a single `#' belong to plugins which have been built #
-# but are disabled by default. #
-# #
-# Lines begnning with `##' belong to plugins which have not been built due #
-# to missing dependencies or because they have been deactivated explicitly. #
-##############################################################################
-
-LoadPlugin cpu
-LoadPlugin interface
-LoadPlugin memory
-LoadPlugin network
-LoadPlugin rrdtool
-LoadPlugin write_http
-
-##############################################################################
-# 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. #
-##############################################################################
-
-#<Plugin cpu>
-# ReportByCpu true
-# ReportByState true
-# ValuesPercentage false
-#</Plugin>
-
-#<Plugin interface>
-# Interface "eth0"
-# IgnoreSelected false
-#</Plugin>
-
-#<Plugin memory>
-# ValuesAbsolute true
-# ValuesPercentage false
-#</Plugin>
-
-<Plugin network>
- Server "192.168.121.2" "25826"
-</Plugin>
-
-#<Plugin rrdtool>
-# DataDir "${prefix}/var/lib/collectd/rrd"
-# CreateFilesAsync false
-# CacheTimeout 120
-# CacheFlush 900
-# WritesPerSecond 50
-#</Plugin>
-
-#<Plugin write_http>
-# <Node "collectd_exporter">
-# URL "http://192.168.121.2:9103/collectd-post"
-# Format "JSON"
-# StoreRates false
-# </Node>
-#</Plugin>
-