Setup SNMP Traps : Zabbix 5

  Рет қаралды 31,279

SBCODE

SBCODE

Күн бұрын

Zabbix Course : sbcode.net/zabbix/snmp-traps/
Course Coupons : sbcode.net/coupons
I setup and demonstrate SNMP traps with Zabbix 5.
Receiving SNMP traps is the opposite of querying SNMP devices.
Information is sent from an SNMP device and is collected or "trapped" by Zabbix.
SNMP Traps are sent to the server on port 162 (as opposed to port 161 on the agent side that is used for queries).
So port 162 will need to be allowed on the Zabbix Server or Proxy, which ever will receive the SNMP traps.
For SNMP Traps to work, you need to configure some settings for either the Zabbix Server, or Zabbix Proxy.
Open zabbix_server.conf or zabbix_proxy.conf
And add/edit,
SNMPTrapperFile=/tmp/zabbix_traps.tmp
StartSNMPTrapper=1
Restart the Zabbix Server or Proxy
Download zabbix_trap_receiver.pl, save it into the /usr/bin folder and give it execute permissions.
Install and configure snmptrapd.
snmptrapd is an SNMP application that receives and logs SNMP TRAP and INFORM messages.
Restart snmptrapd
Test some example snmptraps from various hosts.
I also demonstrate configuring and receiving traps my cisco switch.
The SNMP device, will send a snmptrap to the IP address configured. That IP should have the snmptrapd process running on it. It will be listening on port 162 by default. The firewall should not be blocking the snmp device from sending to it on that port. When the snmptrapd process receives a new trap message, it passes it to the zabbix_trap_receiver.pl script, which will reformat it, and save it into the folder. The zabbix proxy or server, will read it from that folder, and if the ip address or hostname matches a configured host than it will by default appear in the hosts snmp trap fallback item on the Zabbix server.
The host configuration on the Zabbix server should be configured with an SNMP interface and 1 or more snmptrap items.
0:00 Introduction. Setup SNMP Traps
0:25 Discuss firewall accerp port 162
0:40 All devices are currently SNMP agents
1:00 View SNMP trap fallback item
1:50 Demonstrate switch SNMP Trap configuration
2:40 Discuss the SNMP Trap Daemon on Zabbix Server or Proxy
3:45 Edit Zabbix Server or Proxy configuration
5:05 Download Zabbix Trap Receiver Perl Script
6:45 Install and configure snmptrapd
8:55 Test some example snmptrap commands
11:35 Discuss MIB descriptions versus OIDs in trap messages
12:05 Second snmptrap test from a different host
13:30 Discuss hardware snmp device with snmptrap support
14:10 Demonstrate automated snmp traps sent from Cisco switch
15:30 Create custom snmptrap item using regex for 'Reload Command'
17:40 Summarise Zabbix SNMP Trap process
#snmp
#zabbix
#zabbix5
#snmptrapd
#zabbixProxy
#zabbixSnmpTraps
#zabbixCourse
#zabbixTutorial

Пікірлер: 40
SNMP Traps in Zabbix Tutorial
20:11
Dmitry Lambert
Рет қаралды 53 М.
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 9 МЛН
Stay on your way 🛤️✨
00:34
A4
Рет қаралды 23 МЛН
MISS CIRCLE STUDENTS BULLY ME!
00:12
Andreas Eskander
Рет қаралды 19 МЛН
DIY: backup power bank. See if it works.
3:51
wilho250
Рет қаралды 253
SNMP Polling Vs SNMP Traps
4:26
DpsTV
Рет қаралды 64 М.
Configure SNMP Traps (v1, v2, v3) in Zabbix Server / Proxy
28:11
Dmitry Lambert
Рет қаралды 10 М.
Workshop: Processing all your SNMP traps in Zabbix!
26:28
Opensource ICT Solutions
Рет қаралды 2,9 М.
Zabbix - Monitoring and Alerting with  @AwesomeOpenSource
18:23
OneMarcFifty
Рет қаралды 64 М.
zabbix server add host
58:03
TAN Kirivann
Рет қаралды 1,8 М.
Zabbix : Convert MIBs Files to Zabbix Templates
17:15
SBCODE
Рет қаралды 18 М.
ZABBIX Proxy Explained
19:18
Dmitry Lambert
Рет қаралды 9 М.
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 9 МЛН