]> git.openstreetmap.org Git - chef.git/commitdiff
Anchor passenger graphs to zero
authorTom Hughes <tom@compton.nu>
Mon, 2 Jul 2018 20:45:44 +0000 (21:45 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 2 Jul 2018 20:45:44 +0000 (21:45 +0100)
cookbooks/munin/files/default/plugins/passenger_processes
cookbooks/munin/files/default/plugins/passenger_queues
cookbooks/munin/files/default/plugins/passenger_requests

index eddcf558abe3976ce49179ff037253458688278b..863ff86106bbca36d533ea9d6e52bd0157acee39 100755 (executable)
@@ -9,6 +9,7 @@ end
 
 def output_config
   puts <<~CONFIG
+    graph_args --lower-limit 0
     graph_category passenger
     graph_title Passenger processes
     graph_order active inactive
index 5e5785796427ebdde798fae51dde9ceba197bde3..a5467660c9f2867b3e7f4cbba5a526d23ef3ebf0 100755 (executable)
@@ -9,6 +9,7 @@ end
 
 def output_config
   puts <<~CONFIG
+    graph_args --lower-limit 0
     graph_category passenger
     graph_title Passenger queues
     graph_vlabel count
index 2e113bf505eb9f14cad6ce8d2fead9f6dfbae5bd..67dc34367766c8688b1a4323d1daa07f52e12b60 100755 (executable)
@@ -9,7 +9,7 @@ end
 
 def output_config
   puts <<~CONFIG
-    graph_args --base 1000
+    graph_args --base 1000 --lower-limit 0
     graph_category passenger
     graph_title Passenger requests
     graph_vlabel requests / ${graph_period}