标签:systemctl mic 自定义key res tar pre ram 自定义 info
[root@node ~]# vim /etc/zabbix/zabbix_agentd.d/userparameter_mysql.conf UserParameter=mysql.ping,mysqladmin -uroot -p123456 -h‘127.0.0.1‘ ping 2> /dev/null | grep -c alive UserParameter=mysql.version,mysql -V
[root@node ~]#systemctl restart zabbix-agent
[root@master ~]# zabbix_get -s 192.168.1.130 -k mysql.ping 1
标签:systemctl mic 自定义key res tar pre ram 自定义 info
原文地址:https://www.cnblogs.com/psc0218/p/13019042.html