In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article shares with you the content of a sample analysis of Zabbix snmptrap configuration. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
The server actively reports alarms through snmptrap, and it is easy to configure snmptrap monitoring in zabbix.
1. The bmc management system configuration snmptrap address of logging in to the monitored device points to our zabbix server or proxy server.
Set the group name (if you send ilo as an example, you can also log in to the bmc management interface):
Set the alarm receiving address:
2.zabbix server, copy the Perl script in the source directory and give execution permission to install the SNMP package yum-y install net-snmp-perl net-snmp-python net-snmp-utils has been installed ignore here
Cp `find /-name zabbix_trap_ receiver.pl` / usr/bin
Empower chmod aquix / usr/bin/zabbix_trap_receiver.pl
3. Find the configuration file for snmptrapd and modify it
Vim / etc/snmp/snmptrapd.conf
Add code
AuthCommunity execute public (note that this public is a group name) authCommunity execute other (a new line can add one more group name) perl do "/ usr/bin/zabbix_trap_receiver.pl"
4. Modify the zabbix_server.conf file in the following two places:
StartSNMPTrapper=1 set this to 1.
SNMPTrapperFile=/tmp/zabbix_traps.tmp
(note: the path on the last line must be the same as the path set in the / usr/bin/zabbix_trap_receiver.pl script)
5. Restart the zabbix_server service
6. Restart the snmptrapd service
7. Add host, snmp port 162,
Test:
To the receiving alarm server to listen for tcp packets: tcpdump-nn "udp" and host "device IP"
Log in to the device management interface and manually trigger the snmptrap test
Thank you for reading! This is the end of this article on "sample Analysis of Zabbix snmptrap configuration". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.