Forget to mention, when using this UserParameter
UserParameter=mysqld_cpu.pc,ps auxw|grep mysqld|grep -v grep| awk '{s+=$3} END {print s}'
you need to divide by the number of cpu's. In the Zabbix Item that means using a Custom Multiplier, for example, 2 cpu's X 0.5, 4 cpu's X 0.25, etc.
MrKen
UserParameter=mysqld_cpu.pc,ps auxw|grep mysqld|grep -v grep| awk '{s+=$3} END {print s}'
you need to divide by the number of cpu's. In the Zabbix Item that means using a Custom Multiplier, for example, 2 cpu's X 0.5, 4 cpu's X 0.25, etc.
MrKen

Comment