Skip to content

Instantly share code, notes, and snippets.

@jamtur01
Last active August 29, 2015 14:22
Show Gist options
  • Save jamtur01/4c669d2496e2432d0609 to your computer and use it in GitHub Desktop.
Save jamtur01/4c669d2496e2432d0609 to your computer and use it in GitHub Desktop.
Interval 10
CheckThresholds true
LoadPlugin syslog
LoadPlugin cpu
LoadPlugin df
LoadPlugin interface
LoadPlugin load
LoadPlugin memory
LoadPlugin processes
LoadPlugin swap
LoadPlugin threshold
LoadPlugin aggregation
LoadPlugin match_regex
LoadPlugin write_riemann
Include "/etc/collectd.d/*.conf"
<Plugin "processes">
Process "collectd"
</Plugin>
<Plugin "aggregation">
<Aggregation>
Plugin "cpu"
Type "cpu"
GroupBy "Host"
GroupBy "TypeInstance"
CalculateAverage true
</Aggregation>
</Plugin>
<Chain "PostCache">
<Rule>
<Match regex>
Plugin "^cpu$"
PluginInstance "^[0-9]+$"
</Match>
<Target write>
Plugin "aggregation"
</Target>
Target stop
</Rule>
Target "write"
</Chain>
LoadPlugin nginx
<Plugin nginx>
URL "http://127.0.0.1/nginx_status"
</Plugin>
<Plugin "processes">
Process "nginx"
</Plugin>
<Plugin "processes">
Process "collectd"
</Plugin>
<Plugin "processes">
Process "rsyslogd"
</Plugin>
<Plugin "write_riemann">
<Node "riemanna">
Host "riemanna.lovedthanlost.net"
Port "5555"
Protocol TCP
StoreRates true
CheckThresholds true
</Node>
Tag "collectd"
</Plugin>
Jun 4 14:40:22 app1-web1 collectd[14553]: fc_process_chain (PostCache): Signaling `continue' at end of chain.
Jun 4 14:40:22 app1-web1 collectd[14553]: plugin_dispatch_values: time = 1433428822.424; interval = 10.000; host = app1-web1; plugin = processes; plugin_instance = rsyslogd; type = ps_disk_octets; type_instance = ;
Jun 4 14:40:22 app1-web1 collectd[14553]: uc_update: app1-web1/processes-rsyslogd/ps_disk_octets: ds[0] = 0.000000
Jun 4 14:40:22 app1-web1 collectd[14553]: uc_update: app1-web1/processes-rsyslogd/ps_disk_octets: ds[1] = 14912.625390
Jun 4 14:40:22 app1-web1 collectd[14553]: fc_process_chain (chain = PostCache);
Jun 4 14:40:22 app1-web1 collectd[14553]: regex match: Regular expression `^cpu$' does not match `processes'.
Jun 4 14:40:22 app1-web1 collectd[14553]: fc_process_chain (PostCache): Executing the default targets.
Jun 4 14:40:22 app1-web1 collectd[14553]: plugin: plugin_write: Writing values via aggregation.
Jun 4 14:40:22 app1-web1 collectd[14553]: plugin: plugin_write: Writing values via write_riemann/riemanna.
Jun 4 14:40:22 app1-web1 collectd[14553]: write_riemann plugin: Successfully created protobuf for metric: host = "app1-web1", service = "processes-rsyslogd/ps_disk_octets/read"
Jun 4 14:40:22 app1-web1 collectd[14553]: write_riemann plugin: Successfully created protobuf for metric: host = "app1-web1", service = "processes-rsyslogd/ps_disk_octets/write"
Jun 4 14:40:22 app1-web1 collectd[14553]: fc_process_chain (PostCache): Signaling `continue' at end of chain.
Jun 4 14:40:22 app1-web1 collectd[14553]: plugin_dispatch_values: time = 1433428822.424; interval = 10.000; host = app1-web1; plugin = processes; plugin_instance = rsyslogd; type = ps_disk_ops; type_instance = ;
Jun 4 14:40:22 app1-web1 collectd[14553]: uc_update: app1-web1/processes-rsyslogd/ps_disk_ops: ds[0] = 0.000000
Jun 4 14:40:22 app1-web1 collectd[14553]: uc_update: app1-web1/processes-rsyslogd/ps_disk_ops: ds[1] = 41.105801
Jun 4 14:40:22 app1-web1 collectd[14553]: fc_process_chain (chain = PostCache);
Jun 4 14:40:22 app1-web1 collectd[14553]: regex match: Regular expression `^cpu$' does not match `processes'.
Jun 4 14:40:22 app1-web1 collectd[14553]: fc_process_chain (PostCache): Executing the default targets.
Jun 4 14:40:22 app1-web1 collectd[14553]: plugin: plugin_write: Writing values via aggregation.
Jun 4 14:40:22 app1-web1 collectd[14553]: plugin: plugin_write: Writing values via write_riemann/riemanna.
Jun 4 14:40:22 app1-web1 collectd[14553]: write_riemann plugin: Successfully created protobuf for metric: host = "app1-web1", service = "processes-rsyslogd/ps_disk_ops/read"
Jun 4 14:40:22 app1-web1 collectd[14553]: write_riemann plugin: Successfully created protobuf for metric: host = "app1-web1", service = "processes-rsyslogd/ps_disk_ops/write"
Jun 4 14:40:22 app1-web1 collectd[14553]: fc_process_chain (PostCache): Signaling `continue' at end of chain.
Jun 4 14:40:22 app1-web1 collectd[14553]: plugin_dispatch_values: time = 1433428822.424; interval = 10.000; host = app1-web1; plugin = processes; plugin_instance = ; type = fork_rate; type_instance = ;
Jun 4 14:40:22 app1-web1 collectd[14553]: uc_update: app1-web1/processes/fork_rate: ds[0] = 6.585022
Jun 4 14:40:22 app1-web1 collectd[14553]: fc_process_chain (chain = PostCache);
Jun 4 14:40:22 app1-web1 collectd[14553]: regex match: Regular expression `^cpu$' does not match `processes'.
Jun 4 14:40:22 app1-web1 collectd[14553]: fc_process_chain (PostCache): Executing the default targets.
Jun 4 14:40:22 app1-web1 collectd[14553]: plugin: plugin_write: Writing values via aggregation.
Jun 4 14:40:22 app1-web1 collectd[14553]: plugin: plugin_write: Writing values via write_riemann/riemanna.
Jun 4 14:40:22 app1-web1 collectd[14553]: write_riemann plugin: Successfully created protobuf for metric: host = "app1-web1", service = "processes/fork_rate"
Jun 4 14:40:22 app1-web1 collectd[14553]: fc_process_chain (PostCache): Signaling `continue' at end of chain.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment