Use Zabbix to monitor corporate firewalls through SNMP

Source: Internet
Author: User
Tags snmpget snmpwalk

Use Zabbix to monitor corporate firewalls through SNMP

The company uses the FortiGate 80C firewall, and now uses Zabbix to monitor its status through SNMP.

Add the -- with-net-snmp parameter to compile and install zabbix.

First, Enable SNMP on the firewall, and then add a host in Zabbix

References

Https://www.zabbix.com/documentation/2.2/manual/config/items/itemtypes/snmp

Use snmpwalk to obtain a series of SNMP strings

$ Snmpwalk-v 2c-c public 10.10.41.254

Find the MIB string to be monitored from the output

For example, to monitor the number of incoming traffic bytes for the first port of the protection wall, you can use the IF-MIB: ifInOctets.1

IF-MIB: ifInOctets.1 = Counter32: 2783656129

Use snmpget to get the OID of IF-MIB: ifInOctets.1

$ Snmpget-v 2c-c public-On 10.10.41.254: IF-MIB: ifInOctets.1

. 1.3.6.1.2.1.2.2.1.10.1 = Counter32: 3315277927

The last digit of this OID is the firewall port number.

To use SNMP to monitor various settings, the key is to obtain the OID of each monitoring parameter.

Download the MIB file http://support.fortinet.com for FortiGate on the FORTINET-FORTIGATE-MIB.mib site

Cp FORTINET-FORTIGATE-MIB.mib/usr/share/snmp/mibs/

Cd/usr/share/snmp/mibs/

Mv FORTINET-FORTIGATE-MIB.mib FORTINET-FORTIGATE-MIB.txt

Use snmptranlate to view OID

Can also refer to the Manual http://docs-legacy.fortinet.com/fos40hlp/43/wwhelp/wwhimpl/js/html/wwhelp.htm? Context = fgt & topic = default & single = true

Some Zabbix Tutorials:

Install and deploy the distributed monitoring system Zabbix 2.06

Install and deploy the distributed monitoring system Zabbix 2.06

Install and deploy Zabbix in CentOS 6.3

Zabbix distributed monitoring system practice

Under CentOS 6.3, Zabbix monitors apache server-status

Monitoring MySQL database Parameters Using Zabbix in CentOS 6.3

ZABBIX details: click here
ZABBIX: click here

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.