Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed options and metadata

  • Loading branch information...
commit 8851d61416deeab440be45b0aefdebee004b2e55 1 parent 168896c
Andre Lewis authored
View
17 passenger/passenger.rb
@@ -8,15 +8,14 @@
class PassengerStats < Scout::Plugin
OPTIONS=<<-EOS
- options:
- passenger_memory_stats_command:
- name: The Passenger Memory Stats Command
- notes: The full path to the passenger-memory-stats command (possibly with sudo).
- default: sudo /usr/bin/passenger-memory-stats
- passenger_status_command:
- name: The Passenger Status Command
- notes: The full path to the passenger-status command (possibly with sudo).
- default: sudo /usr/bin/passenger-status
+ passenger_memory_stats_command:
+ name: The Passenger Memory Stats Command
+ notes: The full path to the passenger-memory-stats command (possibly with sudo).
+ default: sudo /usr/bin/passenger-memory-stats
+ passenger_status_command:
+ name: The Passenger Status Command
+ notes: The full path to the passenger-status command (possibly with sudo).
+ default: sudo /usr/bin/passenger-status
EOS
def build_report
View
13 passenger/passenger.yml
@@ -1,79 +1,66 @@
metadata:
passenger_max_pool_size:
units: ""
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Passenger Max Pool Size
passenger_process_current:
units: ""
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Passenger Running Processes
passenger_process_active:
units: ""
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Passenger Active Processes
passenger_process_inactive:
units: ""
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Passenger Inactive Processes
passenger_queue_depth:
units: ""
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Passenger Global Queue Depth
apache_private_total:
units: ""
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Apache private total
apache_processes:
units: ""
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Apache processes
passenger_vmsize_total:
units: "MB"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Passenger vmsize total
nginx_vmsize_total:
units: "MB"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Nginx vmsize total
nginx_processes:
units: ""
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Nginx processes
passenger_private_total:
units: "MB"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Passenger private total
nginx_private_total:
units: "MB"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Nginx private total
apache_vmsize_total:
units: "MB"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Apache vmsize total
View
5 swappiness/swappiness.yml
@@ -1,31 +1,26 @@
metadata:
Swap-ins:
units: "KB/s"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Swap-ins
Swap-outs:
units: "KB/s"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Swap-outs
Page-ins:
units: "pages/s"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Page-ins
Page-outs:
units: "pages/s"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Page-outs
Page Faults:
units: "faults/s"
- larger_is_better: "0"
delimiter: ","
precision: "0"
label: Page faults
Please sign in to comment.
Something went wrong with that request. Please try again.