|
|
39c1f46 |
From 21b3d860c17d7997d64267963f91ed75ca8a3e03 Mon Sep 17 00:00:00 2001
|
|
|
39c1f46 |
From: Lars Kruse <devel@sumpfralle.de>
|
|
|
39c1f46 |
Date: Thu, 29 Mar 2018 03:15:42 +0200
|
|
|
39c1f46 |
Subject: [PATCH] plugins nginx_*: change category from 'nginx' to 'webserver'
|
|
|
39c1f46 |
|
|
|
39c1f46 |
---
|
|
|
39c1f46 |
plugins/node.d/nginx_request | 2 +-
|
|
|
39c1f46 |
plugins/node.d/nginx_status | 2 +-
|
|
|
39c1f46 |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
39c1f46 |
|
|
|
39c1f46 |
diff --git a/plugins/node.d/nginx_request.in b/plugins/node.d/nginx_request.in
|
|
|
39c1f46 |
index 38f1cbe6c..9cd41d7cf 100755
|
|
|
39c1f46 |
--- a/plugins/node.d/nginx_request.in
|
|
|
39c1f46 |
+++ b/plugins/node.d/nginx_request.in
|
|
|
39c1f46 |
@@ -94,7 +94,7 @@ if ( exists $ARGV[0] and $ARGV[0] eq "config" )
|
|
|
39c1f46 |
{
|
|
|
39c1f46 |
print "graph_title Nginx requests\n";
|
|
|
39c1f46 |
print "graph_args --base 1000\n";
|
|
|
39c1f46 |
- print "graph_category nginx\n";
|
|
|
39c1f46 |
+ print "graph_category webserver\n";
|
|
|
39c1f46 |
print "graph_vlabel Requests per \${graph_period}\n";
|
|
|
39c1f46 |
print "request.type DERIVE\n";
|
|
|
39c1f46 |
print "request.min 0\n";
|
|
|
39c1f46 |
diff --git a/plugins/node.d/nginx_status.in b/plugins/node.d/nginx_status.in
|
|
|
39c1f46 |
index f69b6ab8d..1834dada4 100755
|
|
|
39c1f46 |
--- a/plugins/node.d/nginx_status.in
|
|
|
39c1f46 |
+++ b/plugins/node.d/nginx_status.in
|
|
|
39c1f46 |
@@ -93,7 +93,7 @@ if ( exists $ARGV[0] and $ARGV[0] eq "autoconf" ) {
|
|
|
39c1f46 |
if ( exists $ARGV[0] and $ARGV[0] eq "config" ) {
|
|
|
39c1f46 |
print "graph_title Nginx status\n";
|
|
|
39c1f46 |
print "graph_args --base 1000\n";
|
|
|
39c1f46 |
- print "graph_category nginx\n";
|
|
|
39c1f46 |
+ print "graph_category webserver\n";
|
|
|
39c1f46 |
print "graph_vlabel Connections\n";
|
|
|
39c1f46 |
|
|
|
39c1f46 |
print "total.label Active connections\n";
|