![Haivision F-MB21B-R Скачать руководство пользователя страница 247](http://html.mh-extra.com/html/haivision/f-mb21b-r/f-mb21b-r_user-manual_579763247.webp)
Configuring A/V Services Using SNMP
Editing snmpd.conf to Enable Traps
Makito
X User’s Guide, v2.2, Issue 02
247
Editing snmpd.conf to Enable Traps
To enable the generation of SNMP traps, you may need to edit the file
/usr/share/snmpd.conf
to set the Trap receiving host. You must be logged in with
administrative privileges to edit this file.
The file contains the syntax for
v2c
and
v3
traps in a comment above the
#trapsess
line.
NOTE
trapsess
provides a generic mechanism for defining notification destinations. The
option
-Ci
can be used (with
-v2c
or
-v3
) to generate an
INFORM
notification rather than
an unacknowledged
TRAP
. This is the recommended directive for defining SNMPv3 trap
receivers.
To edit the snmpd.conf file:
1.
Open the
/usr/share/snmp/snmpd.conf
configuration file.
2.
Uncomment the
trapsess
line (delete the leading #) and replace “
trapreceiver
” by
the IP address of the “
host
” receiving SNMP traps.
3.
Change the community (
public
) if needed and the port number (
162
) if your trap
receiver is not using the well known SNMP trap port.
################################################
# SECTION: Traps
#
# This section defines who is receiving traps from this snmp agent.
#
# trapsess: Send v2c or v3 TRAP or INFORM (-Ci)
# arguments: [-Ci] -v2c -c community-string host[:port]
# arguments: [-Ci] [-e engineID] -v3 -u user [-a {MD5|SHA} -A passwd] [-x
{DES|AES} -X passwd] [-l level] host[:port]
# example: trapsess -v3 -u joenet -a SHA -A secret -l authNoPriv mynms:162
#
#trapsess -Ci -v2c -c public trapreceiver:162
Содержание F-MB21B-R
Страница 1: ...Makito X Encoder Family User s Guide v2 2 HVS ID UG MAKX 22 Issue 02 ...
Страница 420: ......