i've setup the following mpstat readings on a couple of machines and am using zabbix_sender to send them to my zabbix server:
mpstat_user[cpu_num]
mpstat_system[cpu_num]
mpstat_iowait[cpu_num]
mpstat_busy[cpu_num]
i haven't looked into it, but this works great when i start it from the command line, but when i start it from a cron job, zabbix_sender is never called...
EDIT: removed code -- fresher version attached in this thread.
mpstat_user[cpu_num]
mpstat_system[cpu_num]
mpstat_iowait[cpu_num]
mpstat_busy[cpu_num]
i haven't looked into it, but this works great when i start it from the command line, but when i start it from a cron job, zabbix_sender is never called...
EDIT: removed code -- fresher version attached in this thread.

I did edit the script to send on port 10051 which is the value of ListenPort=10051 in the /etc/zabbix/zabbix_server.conf. Any ideas?
Comment