Created
January 31, 2014 13:55
-
-
Save marianogg9/8732467 to your computer and use it in GitHub Desktop.
/etc/collectd.conf
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
Hostname xx | |
FQDNLookup false | |
Interval 10 | |
<Include "/etc/collectd.d"> | |
Filter "*.conf" | |
</Include> | |
LoadPlugin syslog | |
LoadPlugin logfile | |
<Plugin logfile> | |
LogLevel debug | |
File "/var/log/collectd/collectd.log" | |
Timestamp true | |
PrintSeverity false | |
</Plugin> | |
<Plugin syslog> | |
LogLevel debug | |
</Plugin> | |
LoadPlugin cpu | |
LoadPlugin csv | |
<Plugin csv> | |
DataDir "/var/lib/collectd/csv" | |
StoreRates false | |
</Plugin> | |
LoadPlugin load | |
LoadPlugin memory | |
LoadPlugin interface | |
<Plugin "interface"> | |
Interface eth0 | |
</Plugin> | |
LoadPlugin df | |
<Plugin "df"> | |
Device "/dev/xvda1" | |
MountPoint "/" | |
FSType "ext4" | |
IgnoreSelected false | |
# Since 4.9 | |
ReportReserved false | |
ReportInodes false | |
ValuesAbsolute true | |
ValuesPercentage true | |
</Plugin> | |
LoadPlugin amqp | |
<plugin "amqp"> | |
<publish "graphite"> | |
Host "Host_IP" | |
Port "5672" | |
VHost "/sensu" | |
User "user" | |
Password "mypass" | |
Format "Graphite" | |
Exchange "metrics" | |
# ExchangeType "amq.topic" | |
Persistent true | |
GraphitePrefix "collectd." | |
GraphiteEscapeChar "-" | |
</publish> | |
</plugin> | |
LoadPlugin disk | |
<Plugin "disk"> | |
Disk "/^xvd/" | |
IgnoreSelected false | |
</Plugin> | |
LoadPlugin "threshold" | |
<Plugin "threshold"> | |
</Plugin> | |
LoadPlugin "curl_json" | |
<Plugin curl_json> | |
<URL "https://API_url"> | |
Instance "Load_Balancer" | |
Header "X-Auth-Token: my_token" | |
<Key "LoadBalancerUsageRecords/*/averageNumConnections"> | |
Type "connections" | |
</Key> | |
<Key "LoadBalancerUsageRecords/*/averageNumConnectionsSsl"> | |
Type "ssl_connections" | |
</Key> | |
<Key "LoadBalancerUsageRecords/*/incomingTransfer"> | |
Type "income" | |
</Key> | |
<Key "LoadBalancerUsageRecords/*/incomingTransferSsl"> | |
Type "ssl_incoming" | |
</Key> | |
<Key "LoadBalancerUsageRecords/*/outgoingTransfer"> | |
Type "outgoing" | |
</Key> | |
<Key "LoadBalancerUsageRecords/*/outgoingTransferSsl"> | |
Type "ssl_outgoing" | |
</Key> | |
</URL> | |
</Plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment