Go Back   RightScale Forums > RightScale

Thread Tools Display Modes
Old 04-18-2012, 09:31 PM
StevenSage StevenSage is offline
Junior Member
Join Date: Aug 2011
Posts: 3
Default Graphing with custom collectd plugin

I wrote a plugin for collectd to report on the status of passenger. The plugin works great but I am unable to get all of my results to show up on the same graph. the metrics from passenger currently being reported are max threads, active threads, inactive threads, and items waiting on global queue. Each of these metrics currently show up in a separate graph. I've seen other collectd graph with all metrics in one view with colored lines. How do I go about getting this to happen? the code that outputs the values is below. Any help here would be greatly appreciated.

puts("PUTVAL #{hostname}/#{PLUGIN_NAME}/gauge-max_allowed_connections #{start_run}:#{max}")
puts("PUTVAL #{hostname}/#{PLUGIN_NAME}/gauge-thread_count #{start_run}:#{count}")
puts("PUTVAL #{hostname}/#{PLUGIN_NAME}/gauge-threads_active #{start_run}:#{active}")
puts("PUTVAL #{hostname}/#{PLUGIN_NAME}/gauge-threads_inactive #{start_run}:#{inactive}")
puts("PUTVAL #{hostname}/#{PLUGIN_NAME}/gauge-waiting_in_queue #{start_run}:#{waiting}")
Current Graphs I would like consolidated

Into something like this
Reply With Quote

collectd, graphs, monitor, monitoring, passenger

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 05:29 AM.