Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-2499

Waiting process for nginx are not reported

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • Community Edition
    • Unix Agent

    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

      Attachments

        Activity

          People

            sid3windr Tom Laermans
            akotelba Adrian Kotelba
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: