Created
February 7, 2018 21:53
-
-
Save mohclips/08ea9971767a14334e51e59c53b9e8d2 to your computer and use it in GitHub Desktop.
RPi collctd config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
FQDNLookup false | |
#BaseDir "/var/lib/collectd" | |
#PluginDir "/usr/lib/collectd" | |
#TypesDB "/usr/share/collectd/types.db" "/etc/collectd/my_types.db" | |
Interval 30 | |
#Timeout 2 | |
ReadThreads 4 | |
#LoadPlugin logfile | |
#LoadPlugin apache | |
LoadPlugin cpu | |
LoadPlugin df | |
LoadPlugin disk | |
LoadPlugin interface | |
LoadPlugin load | |
LoadPlugin memory | |
#LoadPlugin nginx | |
LoadPlugin ping | |
LoadPlugin processes | |
LoadPlugin protocols | |
LoadPlugin swap | |
LoadPlugin tcpconns | |
#LoadPlugin thermal | |
LoadPlugin uptime | |
LoadPlugin write_http | |
<Plugin write_http> | |
<Node "node1"> | |
URL "https://10.0.0.67:8088/services/collector/raw" | |
Header "Authorization: Splunk b5d1291a-315b-4de1-8d9a-bb4918a68046" | |
Metrics true | |
Format "JSON" | |
VerifyPeer false | |
VerifyHost false | |
StoreRates true | |
</Node> | |
</Plugin> | |
LoadPlugin exec | |
<Plugin exec> | |
Exec "pi:pi" "/home/pi/ownet-collectd.py" | |
</Plugin> | |
<Plugin memory> | |
ValuesAbsolute true | |
ValuesPercentage true | |
</Plugin> | |
<Plugin swap> | |
ReportByDevice true | |
ValuesPercentage true | |
</Plugin> | |
<Plugin df> | |
ReportByDevice true | |
ValuesPercentage true | |
</Plugin> | |
#<Plugin logfile> | |
# LogLevel info | |
# File "/var/log/collectd.log" | |
# Timestamp true | |
# PrintSeverity true | |
#</Plugin> | |
<Plugin load> | |
ReportRelative true | |
</Plugin> | |
<Plugin processes> | |
ProcessMatch "all" "(.*)" | |
</Plugin> | |
<Plugin cpu> | |
ValuesPercentage true | |
</Plugin> | |
<Plugin interface> | |
Interface "eth0" | |
IgnoreSelected false | |
ReportInactive true | |
UniqueName false | |
</Plugin> | |
<Plugin protocols> | |
Value "/^Tcp:/" | |
IgnoreSelected false | |
</Plugin> | |
<Plugin tcpconns> | |
ListeningPorts false | |
AllPortsSummary false | |
LocalPort "25" | |
RemotePort "25" | |
</Plugin> | |
#<Plugin thermal> | |
# ForceUseProcfs false | |
# Device "THRM" | |
# IgnoreSelected false | |
#</Plugin> | |
#<Plugin apache> | |
# <Instance "local"> | |
# URL "http://localhost/server-status?auto" | |
# Server "apache" | |
# </Instance> | |
#</Plugin> | |
#<Plugin "nginx"> | |
# URL "http://localhost:8080/nginx_status" | |
#</Plugin> | |
<Plugin "ping"> | |
Host "splunk.com" | |
</Plugin> | |
<Include "/etc/collectd/collectd.conf.d"> | |
Filter "*.conf" | |
</Include> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment