lib/riemann/babbler/plugins/nginx.rb in riemann-babbler-1.0.8 vs lib/riemann/babbler/plugins/nginx.rb in riemann-babbler-1.0.8.1
- old
+ new
@@ -1,9 +1,8 @@
class Riemann::Babbler::Nginx < Riemann::Babbler
- NGINX_STATUS_1 = %W(accepts handled requests)
-
- NGINX_STATUS_2 = %W(reading writing waiting)
+ NGINX_STATUS_1 = %W(accepts handled requests)
+ NGINX_STATUS_2 = %W(reading writing waiting)
def init
plugin.set_default(:service, 'nginx')
plugin.set_default(:status_file, '/etc/nginx/sites-enabled/status')
plugin.set_default(:status_url, 'http://127.0.0.1:11311/status')