metrics return zeroes if the collector is unable to gather information

XMLWordPrintable

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

      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?

            Assignee:
            Unassigned
            Reporter:
            Aleksandrs Saveljevs
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: