Révision f15a674c
fixed php5 idle/active values
| plugins/nginx/php5-fpm_status | ||
|---|---|---|
| 41 | 41 |
exit 0 |
| 42 | 42 |
else |
| 43 | 43 |
awk ' |
| 44 |
/^idle/ {print "active.value " $3}
|
|
| 45 |
/^active/{print "idle.value " $3}
|
|
| 44 |
/^idle/ {print "idle.value " $3}
|
|
| 45 |
/^active/{print "active.value " $3}
|
|
| 46 | 46 |
/^total/ {print "total.value " $3}
|
| 47 | 47 |
' < $statusfile |
| 48 | 48 |
fi |
Formats disponibles : Unified diff