页面介绍:https://blog.csdn.net/qq_40200087/article/details/89971465

 

监控一个主机监控项的简单流程

1.添加一个服务器

 Configuration--》Hosts--》Create Host

Host name 需要填写和 zabbix_agent.conf  中hostname 一样的名称

group 选择 Linux server  或者自己创建的群组

 

 

zabbix4.2使用

 

2.添加监控项

 Configuration--》Hosts--》Items--》Create  Item

Name 填写名字 随意填写,最好填写有意义的

Type类型 :页面介绍会详细介绍。这里选择zabbix agent

Key 要监控哪一项 这里选择 cup负载      system.cup.load     

Type of information 这个按照Key的返回值选择, system.cup.load   的返回值是float 所以我选择float

Ypdate interval 获取数据时间 这里设置的是30s

添加完后等待30秒就可以在Monitoring--》Latest data--》hosts选择刚刚创建的主机--》Apply 就可以查看到数据

zabbix4.2使用

 

3.添加触发器

Configuration--》Hosts--》Triggers--》Create Trigger

 

 

 

4.配置触发器执行动作

 

5配置通知媒介

相关文章: