![SEVEN WR-Z16 Скачать руководство пользователя страница 126](http://html.mh-extra.com/html/seven/wr-z16/wr-z16_user-manual_1247543126.webp)
Chapter 7:
Monitoring
& Logging
126
v3.3-a 12/07/2022
13.3900.1
Community
name
<String>
(i.e., public)
Name of the community.
13.3900.2-
5
NMS IP 1-4
<IP
address>
(i.e.,
192.168.1.5 or
192.168.1.0/24)
Destination NMS IP address.
13.3900.6
Start/shutdown
<Enum>
- Enabled.
- Disabled.
Enable/disable startup and shutdown traps.
13.3900.7
Modules
Start/Close
<Enum>
- Enabled.
- Disabled.
Enable/disable module launch or close traps.
13.3900.8
Prms tracked
<Enum>
- Enabled.
- Disabled.
Enable/disable tracked parameters traps.
13.3900.9
Prms alert
<Enum>
- Enabled.
- Disabled.
Enable/disable traps when a parameter is in an alert
status or back to a normal status.
Default traps configuration
By default, all traps are enabled using the public SNMPv2 community for
informative purposes.
7.2.2.4 Basic trap receptor NMS configuration
Install snmptrapd in the server receiving the SNMP traps:
sudo apt-get install snmptrapd
After installing snmptrapd, the configuration in /etc/snmp/snmptrapd.conf
needs to be
modified to authorize the reception of traps.
disableAuthorization
yes
traphandle default /<example>/snmp_trap_test_handle.sh
Once the configuration file has been modified, it is needed to edit the handle file for the received
SNMP traps. For that purpose, it is important grant execution permissions to
snmp_trap_test_handle.sh
#!/bin/sh
read
host
read
ip
vars=""
while
read
oid
val;
do
Содержание WR-Z16
Страница 2: ...Chapter 1 Introduction 2 v3 3 a 12 07 2022 ...
Страница 10: ...Chapter 1 Introduction 10 v3 3 a 12 07 2022 ...
Страница 72: ...Chapter 5 Timing 72 v3 3 a 12 07 2022 ...
Страница 148: ...Chapter 8 Device Maintenance 148 v3 3 a 12 07 2022 ...
Страница 159: ...Chapter 9 Troubleshooting 159 v3 3 a 12 07 2022 Severity info local0 rsyslog server1 IP local0 rsyslog server2 IP ...