Ad Widget
Collapse
cpuinfo: iowait, irq, softirq, steal
Collapse
X
-
-
porting this patch to 1.4.6 and found this which i think is a bug in the patch:
+ CALC_CPU_LOAD(irq, 1);
+ CALC_CPU_LOAD(irq, 5);
+ CALC_CPU_LOAD(irq, 15);
+
+ CALC_CPU_LOAD(softirq, 1);
+ CALC_CPU_LOAD(softirq, 5);
+ CALC_CPU_LOAD(softirq, 15);
+
+ CALC_CPU_LOAD(irq, 1);
+ CALC_CPU_LOAD(irq, 5);
+ CALC_CPU_LOAD(irq, 15);
i think the last 3 lines in the patch there should be s/irq/steal/Comment
-
port to 1.4.6
here's a port to 1.4.6
- no guarantees
- compiles
- i tested on one box and got sane values for user/sys/nice/idle/iowait
- not sure about how i handled sys/pstat.h since i don't have that on RHEL:
-- added CP_INTR for irq (not sure if this should be irq or softirq or both)
-- set other values to zero (not sure if that is the right idea either)
-- don't know if there are pstat.h linux versions out there that support iowait or other values because i could only find BSD versions of pstat.h on google
( all that shouldn't affect anyone that has /proc/stat instead of /usr/include/sys/pstat.h, which i think is the vast majority of linux use cases )Attached FilesComment
-
It is very likely this will be supported by 1.6.3!
Comment
-
Am I seeing things? I think someone hacked the zabbix ticket system. This can't be!Comment
-
It was implemented. Please wait for official 1.6.3!
Comment
-
Wait? Are you insane? Now I have a good reason to update agents. I still have 1.4 agents out there because (to me anyway) there hasn't been a reason to upgrade. I wonder how many system.run items I'll eliminate with these new features. I'll be honest, I have a gripe that WAY too many custom items are necessary to collect performance metrics. I use very little of what the agent does because it's too generic.Comment
-
It would be interesting to know what metrics could be also integrated into the agent. By the way, I am sure you are already aware of this, you may take advantage of the 'Include' statement in zabbix_agentd.conf to manage user parameter in a more structured way. It works under 1.6.x though.
Comment

Comment