Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Community Edition
Description
Hi,
Nginx waiting workers are reported as nan (not a number). The problem is caused by the unix_agent script for nginx. Namely, unix agent reports number of waiting workers followed by a trailing space which, in turn, confuses rrd updater.
The fix is very simple. One need to strip possible leading and/or trailing whitespaces. Thus, the last line of scripts/agent-local/nginx should read
print params[param].strip()
Best,
Adrian