1. 个人技术记录首页
  2. 技术学习
  3. Linux学习

山石防火墙Hillstone配置Zabbix SNMP监控

You are here: Cookbook > Getting Started > Configuring the Device to Communicate with Zabbix Using SNMP
                                       

Configuring the Device to Communicate with Zabbix Using SNMP

This example introduces how to configure the device to communicate with Zabbix using SNMP. Zabbix can monitor various network parameters of the device to ensure the safe operation of the device.

The following shows a network environment. The device connects to Zabbix using SNMPv2 to manage the device.

山石防火墙Hillstone配置Zabbix SNMP监控

StoneOS

Step1: Configuring SNMP Agent

Select System > SNMP > SNMP Agent.

  • SNMP Agent: Click Enable

  • Host Port: 161

  • Virtual Router: trust-vr

  • Local Engine ID: 111

山石防火墙Hillstone配置Zabbix SNMP监控                                                   
Step2: Configuring SNMP Host

Select System > SNMP > SNMP Host. Click New.

  • Type: IP Address

  • Hostname: 10.1.1.1

  • SNMP Version: V2C

  • Community: hillstone

  • Permission: RO

山石防火墙Hillstone配置Zabbix SNMP监控
                                                   
Step3: Configuring Trap Host

Select System > SNMP > Trap Host. Click New.

  • Host: 10.1.1.1

  • Trap Host Port: 162

  • SNMP Agent: V2C

  • Community: hillstone

山石防火墙Hillstone配置Zabbix SNMP监控
                                                   
Step4: Enabling the SNMP Mode of the Interface

Select Network > Interface and double click ethernet0/6.

  • Zone: trust

  • Management: Click SNMP

山石防火墙Hillstone配置Zabbix SNMP监控
                                                   

Zabbix:

Step1: Configuring Host Group

Select Configuration >  Host groups. Click Create host group.

  • Group name: Hillstone_FW

山石防火墙Hillstone配置Zabbix SNMP监控
                                                   
Step2: Configuring Templates

Select Configuration > Templates . Click Create template.

  • Template name: Hillstone_SNMP

  • Click 山石防火墙Hillstone配置Zabbix SNMP监控 icon to add Hillstone_FW to In groups list.

山石防火墙Hillstone配置Zabbix SNMP监控
                                                   
Step3: Configuring Application

Select Configuration >Template > Applications. Click Create application.

  • Name: Hillstone_Interface

山石防火墙Hillstone配置Zabbix SNMP监控
                                                   
Step4: Configuring Item

Select Configuration > Templates > Applications. Click Items of Hillstone_Interface and click Create item.

  • Name: eth0/6 Egress interface rate

  • Type: SNMPv2 agent

  • SNMP OID: .1.3.6.1.4.1.28557.2.6.1.3.1.20.36

  • SNMP community: hillstone

  • Applications: Select Hillstone_Interface

Note: You need to add the index of the specified interface after OID. To view the index of the interface, use the command show ip route interface.

山石防火墙Hillstone配置Zabbix SNMP监控山石防火墙Hillstone配置Zabbix SNMP监控
                                                   
Step5: Configuring Host

Select Configurations > Hosts. Click Create host.

  • Host name:E1100

  • Click 山石防火墙Hillstone配置Zabbix SNMP监控icon to add Hillstone_FW to In groups list.

  • In SNMP interfaces area, click Add and type the ip address of StoneOS 192.168.1.1, Port 161.

山石防火墙Hillstone配置Zabbix SNMP监控
                                                   
Step6: Configuring Graph

Select Configuration > Hosts. Click E1100 > Graphs and click Create graph.

  • Name: eth0/6 interface rate

  • Click Add in the Items area. Select eth0/6 Egress interface rate.

山石防火墙Hillstone配置Zabbix SNMP监控
                                                   
Step7: Results

After configuration, select Monitoring >Latest data to view the monitoring data.

  • Host groups: Select Hillstone_FW

  • Hosts: Select E1100

  • Application: Select Hillstone_Interface

Click Graph to view the monitoring graph.

山石防火墙Hillstone配置Zabbix SNMP监控
                                                       

山石防火墙Hillstone配置Zabbix SNMP监控
                                                       

文章来源于互联网:Configuring the Device to Communicate with Zabbix Using SNMP

本文来自,经授权后发布,本文观点不代表个人技术记录立场,转载请联系原作者。