mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-08-04 07:04:02 +00:00
Ruby plugins: apply style changes as suggested by "rubocop --fix-layout"
This commit is contained in:
parent
26c29daa2b
commit
b0b39b018e
30 changed files with 1447 additions and 1384 deletions
|
@ -1,27 +1,27 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
def output_config
|
||||
puts <<-END
|
||||
graph_category webserver
|
||||
graph_title status
|
||||
graph_vlabel count
|
||||
graph_info This graph shows how much passenger process are working, available and how much queries are waiting.
|
||||
max.label max processes
|
||||
max.draw AREA
|
||||
max.info Maximum processes allowed to run simultaneously.
|
||||
sessions.label queued requests
|
||||
sessions.draw LINE2
|
||||
sessions.info Requests queued, waiting to be processed.
|
||||
running.label running processes
|
||||
running.draw LINE1
|
||||
running.info The number of application instances that are currently alive.
|
||||
active.label active processes
|
||||
active.draw LINE1
|
||||
active.info The number of application instances that are currently processing requests.
|
||||
waiting.label waiting requests
|
||||
waiting.draw LINE2
|
||||
waiting.info Requests waiting to be queued.
|
||||
END
|
||||
puts <<~END
|
||||
graph_category webserver
|
||||
graph_title status
|
||||
graph_vlabel count
|
||||
graph_info This graph shows how much passenger process are working, available and how much queries are waiting.
|
||||
max.label max processes
|
||||
max.draw AREA
|
||||
max.info Maximum processes allowed to run simultaneously.
|
||||
sessions.label queued requests
|
||||
sessions.draw LINE2
|
||||
sessions.info Requests queued, waiting to be processed.
|
||||
running.label running processes
|
||||
running.draw LINE1
|
||||
running.info The number of application instances that are currently alive.
|
||||
active.label active processes
|
||||
active.draw LINE1
|
||||
active.info The number of application instances that are currently processing requests.
|
||||
waiting.label waiting requests
|
||||
waiting.draw LINE2
|
||||
waiting.info Requests waiting to be queued.
|
||||
END
|
||||
exit 0
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue