From f15a674c84bffe59a81e1534030e0c88aba5c3d9 Mon Sep 17 00:00:00 2001 From: Alex Vasilenko Date: Wed, 18 Apr 2012 12:09:20 +0300 Subject: [PATCH] fixed php5 idle/active values --- plugins/nginx/php5-fpm_status | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/nginx/php5-fpm_status b/plugins/nginx/php5-fpm_status index 4b9396bd..c885225d 100755 --- a/plugins/nginx/php5-fpm_status +++ b/plugins/nginx/php5-fpm_status @@ -41,8 +41,8 @@ if [ "$1" = "config" ]; then exit 0 else awk ' - /^idle/ {print "active.value " $3} - /^active/{print "idle.value " $3} + /^idle/ {print "idle.value " $3} + /^active/{print "active.value " $3} /^total/ {print "total.value " $3} ' < $statusfile fi