您好,登录后才能下订单哦!
密码登录
登录注册
点击 登录注册 即表示同意《亿速云用户服务条款》
yum -y install zabbix-agent #yum默认安装最新版本的
vim /etc/zabbix/zabbix_agentd.conf
Server=10.127.0.133 #被动模式
ServerActive=10.127.0.133 #主动模式
Hostname=*** # 需要与agent主机名称一致
tailf /var/log/zabbix/zabbix-agent.conf
2645:20190411:181453.092 Starting Zabbix Agent [cs_linux]. Zabbix 4.2.6 (revision d3bb18bbc4).
2645:20190411:181453.092 **** Enabled features ****
2645:20190411:181453.092 IPv6 support: YES
2645:20190411:181453.092 TLS support: YES
2645:20190411:181453.092 **************************
2645:20190411:181453.092 using configuration file: /etc/zabbix/zabbix_agentd.conf
2645:20190411:181453.094 agent #0 started [main process]
2649:20190411:181453.104 agent #4 started [listener #3]
2646:20190411:181453.108 agent #1 started [collector]
2647:20190411:181453.113 agent #2 started [listener #1]
2650:20190411:181453.116 agent #5 started [active checks #1]
2648:20190411:181453.120 agent #3 started [listener #2]
2650:20190411:181453.352 no active checks on server [192.168.146.133:10051]: host [cs_linux] not found
#发现已经启动,但是还主机还没有被发现
(这里我关联的是zabbix自带的模板)
可以看到,触发器已经触发报警了
欢×××
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。