Skip to content

Instantly share code, notes, and snippets.

@leepa
Last active April 4, 2016 08:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leepa/824041adc4d7c824fd5139567c130965 to your computer and use it in GitHub Desktop.
Save leepa/824041adc4d7c824fd5139567c130965 to your computer and use it in GitHub Desktop.
Interval 10
LoadPlugin logfile
<Plugin logfile>
LogLevel debug
File STDOUT
Timestamp true
PrintSeverity true
</Plugin>
LoadPlugin network
LoadPlugin statsd
<Plugin network>
<Server "127.0.0.1" "20500">
</Server>
</Plugin>
<Plugin statsd>
Host "127.0.0.1"
Port "8126"
DeleteCounters false
DeleteTimers false
DeleteGauges false
DeleteSets false
TimerPercentile 90.0
TimerPercentile 95.0
TimerPercentile 99.0
TimerLower false
TimerUpper false
TimerSum false
TimerCount false
</Plugin>
option = Interval; value = 10.000000;
Created new plugin context.
[2016-04-04 09:10:37] type = logfile, key = Timestamp, value = true
[2016-04-04 09:10:37] type = logfile, key = PrintSeverity, value = true
[2016-04-04 09:10:37] [debug] Done parsing `/usr/local/Cellar/collectd/5.5.1/share/collectd/types.db'
[2016-04-04 09:10:37] [debug] interval_g = 10.000;
[2016-04-04 09:10:37] [debug] timeout_g = 2;
[2016-04-04 09:10:37] [debug] hostname_g = lees-macbook-pro.local;
[2016-04-04 09:10:37] [debug] plugin_read_thread: Handling `statsd'.
[2016-04-04 09:10:37] [info] Initialization complete, entering read-loop.
[2016-04-04 09:10:37] [debug] Created new plugin context.
[2016-04-04 09:10:37] [debug] plugin_read_thread: Effective interval of the statsd plugin is 10.000 seconds.
[2016-04-04 09:10:37] [debug] plugin_read_thread: Next read of the statsd plugin at 1459757447.935.
[2016-04-04 09:10:37] [debug] statsd plugin: Trying to bind to [127.0.0.1]:8126 ...
[2016-04-04 09:10:47] [debug] plugin_read_thread: Handling `statsd'.
[2016-04-04 09:10:47] [debug] plugin_read_thread: Effective interval of the statsd plugin is 10.000 seconds.
[2016-04-04 09:10:47] [debug] plugin_read_thread: Next read of the statsd plugin at 1459757457.935.
[2016-04-04 09:10:47] [debug] Created new plugin context.
[2016-04-04 09:10:47] [debug] Created new plugin context.
[2016-04-04 09:10:47] [debug] plugin_dispatch_values: time = 1459757447.940; interval = 10.000; host = lees-macbook-pro.local; plugin = statsd; plugin_instance = ; type = derive; type_instance = foo;
[2016-04-04 09:10:47] [debug] plugin_dispatch_values: time = 1459757447.940; interval = 10.000; host = lees-macbook-pro.local; plugin = statsd; plugin_instance = ; type = gauge; type_instance = foo;
[2016-04-04 09:10:47] [debug] uc_insert: Added lees-macbook-pro.local/statsd/derive-foo to the cache.
[2016-04-04 09:10:47] [debug] plugin: plugin_write: Writing values via network.
[2016-04-04 09:10:47] [debug] uc_insert: Added lees-macbook-pro.local/statsd/gauge-foo to the cache.
[2016-04-04 09:10:47] [debug] plugin: plugin_write: Writing values via network.
[2016-04-04 09:10:57] [debug] plugin_read_thread: Handling `statsd'.
[2016-04-04 09:10:57] [debug] plugin_read_thread: Effective interval of the statsd plugin is 10.000 seconds.
[2016-04-04 09:10:57] [debug] Created new plugin context.
[2016-04-04 09:10:57] [debug] plugin_read_thread: Next read of the statsd plugin at 1459757467.935.
[2016-04-04 09:10:57] [debug] Created new plugin context.
[2016-04-04 09:10:57] [debug] plugin_dispatch_values: time = 1459757457.940; interval = 10.000; host = lees-macbook-pro.local; plugin = statsd; plugin_instance = ; type = derive; type_instance = foo;
[2016-04-04 09:10:57] [debug] plugin_dispatch_values: time = 1459757457.940; interval = 10.000; host = lees-macbook-pro.local; plugin = statsd; plugin_instance = ; type = gauge; type_instance = foo;
[2016-04-04 09:10:57] [debug] uc_update: lees-macbook-pro.local/statsd/derive-foo: ds[0] = 0.000000
[2016-04-04 09:10:57] [debug] plugin: plugin_write: Writing values via network.
[2016-04-04 09:10:57] [debug] uc_update: lees-macbook-pro.local/statsd/gauge-foo: ds[0] = 1.000000
[2016-04-04 09:10:57] [debug] plugin: plugin_write: Writing values via network.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment