If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
Seems like a reasonable patch to include in upstream.
Those stats are very important for performance analysis. Zabbix agents out of the box don't collect enough info to troubleshoot performance.
Yes, these values are really important. I have updated the patch for 1.4.2.
Not only are these numbers important, but the current state can be considered buggy (at least for Linux). For example on a system with IDE disks the iowait state can take tens of percent.
This is a fantastic patch, we run large clusters of servers (ISP) for different uses (web,mail, mysql etc etc). IOWAIT is one of the BIGGEST factors we need to know when things slow down. To date (out of the box) only munin would graph this.
Alexei: Please PLEASE add this into the next version.
While /proc/loadavg and others might exist on one Solaris machine it could not exist on another but the behaviour is fixed in Zabbix cpu.c (ifdef HAVE_PROC_LOADAVG ...). Please determine the existence of this file dynamically and not at compile time !
It will not report any cpu data because of this.
While /proc/loadavg and others might exist on one ...
You don't even have to look at this file ! Just call getloadavg as you did in earlier versions. The exsistence of /proc/loadavg is no precondition for this function to work !
Please remove all #ifdef HAVE_PROC_LOADAVG calls from cpu.c.
Sorry, i tried your patch for zabbix_agent cpustat.[ch] and still i get "not supported" for idle,user,etc.
I didn't apply your Linux patch because i monitor Solaris.
Comment