summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2010-05-09 10:58:23 -0400
committerMicah Anderson <micah@riseup.net>2010-05-09 10:58:23 -0400
commitf2a42cf9ffde9c6a2ac466aacf4e413d0c6197fa (patch)
tree0befccb37f4cf28da1af1d34112573940ab9acc5
parentfaf21f62222898758cdec3ce1207bf02d5dbeb78 (diff)
change default munin category for graphs
-rwxr-xr-xfiles/munin/passenger_memory_stats4
-rwxr-xr-xfiles/munin/passenger_stats2
2 files changed, 3 insertions, 3 deletions
diff --git a/files/munin/passenger_memory_stats b/files/munin/passenger_memory_stats
index d71b2a5..eb9b284 100755
--- a/files/munin/passenger_memory_stats
+++ b/files/munin/passenger_memory_stats
@@ -18,7 +18,7 @@ This configuration section shows the defaults of the plugin:
Options
env.passenger_memory_stats '/path/to/passenger-memory-stats' # Path to passenger memory status.
- env.graph_category 'App' # Graph Category. Defaults to App.
+ env.graph_category 'App' # Graph Category. Defaults to Passenger.
ln -s /usr/share/munin/plugins/passenger_memory_stats /etc/munin/plugins/passenger_memory_stats
@@ -45,7 +45,7 @@ MIT
POD
# Globals
-GRAPH_CATEGORY = ENV['graph_category'] || 'App'
+GRAPH_CATEGORY = ENV['graph_category'] || 'Passenger'
PASSENGER_MEMORY_STATS = ENV['passenger_memory_stats'] || '/usr/local/bin/passenger-memory-stats'
# Check if this plugin can run
diff --git a/files/munin/passenger_stats b/files/munin/passenger_stats
index 00bf5e4..a117903 100755
--- a/files/munin/passenger_stats
+++ b/files/munin/passenger_stats
@@ -2,7 +2,7 @@
def output_config
puts <<-END
-graph_category App
+graph_category Passenger
graph_title passenger status
graph_vlabel count