-
Notifications
You must be signed in to change notification settings - Fork 2
/
collectd.conf
184 lines (154 loc) · 4.89 KB
/
collectd.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
# 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 "@@HOSTNAME@@"
FQDNLookup true
#BaseDir "/var/lib/collectd"
#PluginDir "/usr/lib/collectd"
#TypesDB "/usr/share/collectd/types.db" "/etc/collectd/my_types.db"
CollectInternalStats true
#----------------------------------------------------------------------------#
# 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 #
#----------------------------------------------------------------------------#
# Specify what features to activate. #
##############################################################################
LoadPlugin match_regex
LoadPlugin contextswitch
LoadPlugin cpu
<LoadPlugin df>
Interval 60
</LoadPlugin>
LoadPlugin disk
LoadPlugin entropy
LoadPlugin fhcount
LoadPlugin filecount
LoadPlugin interface
LoadPlugin ipc
LoadPlugin irq
LoadPlugin load
LoadPlugin memory
LoadPlugin network
LoadPlugin ping
LoadPlugin processes
LoadPlugin protocols
LoadPlugin rrdtool
LoadPlugin tcpconns
LoadPlugin vmem
LoadPlugin unixsock
##############################################################################
# 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 df>
MountPoint "/"
</Plugin>
<Plugin disk>
Disk sda
</Plugin>
<Plugin filecount>
Directory "/var/lib/rnode/blockstore"
Directory "/var/lib/rnode/dagstorage"
Directory "/var/lib/rnode/rspace"
Directory "/var/lib/rnode/tmp"
</Plugin>
<Plugin interface>
Interface ens4
</Plugin>
<Plugin irq>
</Plugin>
<Plugin load>
</Plugin>
<Plugin memory>
ValuesAbsolute true
ValuesPercentage true
</Plugin>
<Plugin network>
Server "collectd-server.c.developer-222401.internal" "25826"
</Plugin>
#<Plugin notify_nagios>
# CommandFile "/var/lib/icinga/rw/icinga.cmd"
#</Plugin>
<Plugin ping>
Host "8.8.8.8"
Host "www.rchain-dev.tk"
Interval 10
Timeout 8
TTL 55
</Plugin>
<Plugin processes>
<Process java>
CollectContextSwitch true
CollectFileDescriptor true
CollectMemoryMaps true
</Process>
</Plugin>
<Plugin protocols>
</Plugin>
<Plugin rrdtool>
DataDir "/var/lib/collectd/rrd"
</Plugin>
<Plugin tcpconns>
LocalPort 40400
LocalPort 40401
LocalPort 40403
LocalPort 40404
RemotePort 40400
RemotePort 40401
RemotePort 40403
RemotePort 40404
AllPortsSummary true
</Plugin>
<Plugin vmem>
Verbose true
</Plugin>
<Include "/etc/collectd/collectd.conf.d">
Filter "*.conf"
</Include>
PreCacheChain PreCache
<Chain PreCache>
<Rule ignore_fhcount>
<Match regex>
Plugin "^fhcount"
TypeInstance "^(max|unused)$"
</Match>
Target stop
</Rule>
</Chain>