zabbix_get 找不到命令是因为没有安装上zabbix_get ,解决办法:

查看是否安装:

[root@zabbixserver ~]# rpm -qa | grep zabbix
zabbix-web-6.4.8-release2.el8.noarch
zabbix-server-mysql-6.4.8-release2.el8.x86_64
zabbix-release-6.4-1.el8.noarch
zabbix-web-mysql-6.4.8-release2.el8.noarch
zabbix-nginx-conf-6.4.8-release2.el8.noarch
zabbix-sql-scripts-6.4.8-release2.el8.noarch
zabbix-agent-6.4.8-release2.el8.x86_64
zabbix-web-deps-6.4.8-release2.el8.noarch
zabbix-selinux-policy-6.4.8-release2.el8.x86_64

显示没有安装。

安装:

[root@zabbixserver ~]# rpm -qa | grep zabbix
zabbix-web-6.4.8-release2.el8.noarch
zabbix-server-mysql-6.4.8-release2.el8.x86_64
zabbix-release-6.4-1.el8.noarch
zabbix-web-mysql-6.4.8-release2.el8.noarch
zabbix-nginx-conf-6.4.8-release2.el8.noarch
zabbix-sql-scripts-6.4.8-release2.el8.noarch
zabbix-agent-6.4.8-release2.el8.x86_64
zabbix-web-deps-6.4.8-release2.el8.noarch
zabbix-selinux-policy-6.4.8-release2.el8.x86_64
[root@zabbixserver ~]#yum list all |grep zabbix
zabbix-agent2.x86_64                                              6.4.8-release2.el8                                                zabbix
zabbix-agent2-plugin-mongodb.x86_64                               6.4.8-release2.el8                                                zabbix
zabbix-agent2-plugin-postgresql.x86_64                            6.4.8-release2.el8                                                zabbix
zabbix-apache-conf.noarch                                         6.4.8-release2.el8                                                zabbix
zabbix-get.x86_64                                                 6.4.8-release2.el8                                                zabbix
zabbix-java-gateway.x86_64                                        6.4.8-release2.el8                                                zabbix
zabbix-js.x86_64   
[root@zabbixserver ~]# yum install zabbix-get.x86_64 -