Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-3281

metrics return zeroes if the collector is unable to gather information

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 1.8.4rc2
    • Fix Version/s: None
    • Component/s: Agent (G)
    • Labels:

      Description

      For instance, on NetBSD the format of /proc/stat is slightly different than that on Linux. Namely, it has only one space after "cpu", while the Linux version has two spaces, and we check for two spaces. The agent is thus unable to gather CPU statistics for all processors combined and returns zeroes for system.cpu.util[all,XXX,avgX] metrics. While the CPU problem on NetBSD can be easily fixed, can we make the agent return "ZBX_NOTSUPPORTED" in cases the collector cannot gather information for some reason?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                asaveljevs Aleksandrs Saveljevs
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: