Host /etc/zabbix/zabbix_agentd.d monitored in the monitoring module is new
For example, disk io
Need to use iostat command (yum install -y sysstat)
Normal operation iostat awk '/ ^ sda / {print $ 2}' can be seen in the data tps
Made module
vim /etc/zabbix/zabbix_agentd.d/iotps.conf
iostat awk '/^sda/ {print $2}'
Restart a process
View all local key zabbix_agentd -p
Filter zabbix_agentd -p for the value iotps | grep iotps
Server zabbix_get view client database (yum install -y zabbix-get)
zabbix_get -s [IP] -p [10050] -k [iotps] port can be ignored
Host Configuration --- --- corresponds to a host on the monitoring page - term monitoring - monitoring the upper right corner to create items
Add after
Detection of Home - the latest data Name fill out this monitoring key search term