From 4ef5f413511b0dc459dfe00b5a1ed6dff73968a4 Mon Sep 17 00:00:00 2001 From: netkiller Date: Tue, 22 Nov 2016 17:30:16 +0800 Subject: [PATCH] fixed graph --- nginx/nginx.sh | 2 +- nginx/zbx_export_templates.xml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nginx/nginx.sh b/nginx/nginx.sh index e17cbd0..21008be 100644 --- a/nginx/nginx.sh +++ b/nginx/nginx.sh @@ -10,7 +10,7 @@ HOST="localhost" PORT="80" -function check { +function check() { /sbin/pidof nginx | wc -l } diff --git a/nginx/zbx_export_templates.xml b/nginx/zbx_export_templates.xml index 10c2619..226a0b4 100644 --- a/nginx/zbx_export_templates.xml +++ b/nginx/zbx_export_templates.xml @@ -11,7 +11,7 @@