[ZBX-3281] metrics return zeroes if the collector is unable to gather information Created: 2010 Dec 11 Updated: 2017 May 30 Resolved: 2016 Jan 07 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | 1.8.4rc2 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Critical |
Reporter: | Aleksandrs Saveljevs | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 1 |
Labels: | agent | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
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? |
Comments |
Comment by Aleksandrs Saveljevs [ 2010 Dec 11 ] |
I have not checked, but maybe |
Comment by Aleksandrs Saveljevs [ 2010 Dec 11 ] |
The CPU problem on NetBSD fixed in the development branch for |
Comment by Aleksandrs Saveljevs [ 2010 Dec 14 ] |
The fix for CPU problem on NetBSD merged into pre-1.8.4 in r16087. |
Comment by Aleksandrs Saveljevs [ 2011 Mar 04 ] |
Raising priority because investigating issues like |
Comment by Alexander Vladishev [ 2011 May 11 ] |
Partially fixed in the |
Comment by Aleksandrs Saveljevs [ 2011 Sep 28 ] |
On Mac OS X, item system.cpu.util[] returns 0 for all supported metrics. |
Comment by Viktors Tjarve [ 2016 Jan 06 ] |
This issue was RESOLVED with |