We found that cpu measurement on Solaris with the zabbix agent provided does not give correct data.
We made our own "custom" cpu measurement, and put it in cron every 60 secs.
This is the commandline
vmstat 5 6|sed 1,2d|awk '{x=x+$22} END {print 100-x/6}'|xargs sh -c '/usr/local/zabbix/bin/zabbix_sender -z svr-zabbix -p 10051 -s rts-b -k cpu -o $0' > /dev/null 2>&1
We made our own "custom" cpu measurement, and put it in cron every 60 secs.
This is the commandline
vmstat 5 6|sed 1,2d|awk '{x=x+$22} END {print 100-x/6}'|xargs sh -c '/usr/local/zabbix/bin/zabbix_sender -z svr-zabbix -p 10051 -s rts-b -k cpu -o $0' > /dev/null 2>&1
Comment