Creating an SNMP Trap Destination

From TBwiki
Revision as of 13:58, 19 October 2015 by Allyntree (Talk | contribs)
Jump to: navigation, search

Applies to version(s): v2.9.

SNMP traps are automatically generated on TMedia platforms by the NetSNMP installation, which monitors hardware and software interfaces registered with the ifTable of the IF-MIB module. When the operation status of an interface changes, a trap is generated by NetSNMP, and sent to a destination address for processing. In order for traps to be generated, an SNMP trap destination must be defined in the Web Portal.

To create an SNMP trap destination, do the following:
NOTE: The procedure will vary, dependng on whether you create a trap destination for SNMPv1/v2, or for SNMPv3.

1-Click Services in the navigation panel.

Snmp cfg A 0.png

2-Select the SNMP tab.

Snmp cfg A 1.png



3-Create New SNMP Trap Destination

Snmp Trap 0.png

Creating an SNMPv1/v2 Trap Destination

  • In the trap destination configuration panel, set the following parameters if you are creating a trap destination for SNMPv1/v2:
    • Enter a name to identify the trap destination
    • Enter a destination IP Address for sending generated traps
    • Enter a destination port number, on which to send generated traps (standard default value is 162)
    • Select version 1 or 2 from SNMP Version
    • Enter the name of the SNMPv1/v2 community to use (configured previously)
    • Click Create

Snmp Trap 1.png

Creating an SNMPv3 Trap Destination

  • In the trap destination configuration panel, set the following parameters if you are creating a trap destination for SNMPv3:
    • Enter a name to identify the trap destination
    • Enter a destination IP Address for sending generated traps
    • Enter a destination port number, on which to send generated traps (standard default value is 162)
    • Select version 3 from SNMP Version
    • Enter the name of the SNMPv3 user to use (configured previously)
    • Select a security level for the user from the security level drop-down box
    • Select an appropriate authentication algorithm for the user from the authentication drop-down box
    • Enter the appropriate authentication pass phrase for the user
    • Select an appropriate privacy standard for the user from the privacy protocol drop-down box
    • Enter the appropriate authentication privacy phrase for the user
    • Click Create

Snmp Trap 1a.png

  • Verify that the "SNMP Trap Destination was Successfully Created" message is displayed and that the new SNMP trap destination appears in the SNMP Trap Destinations list

Snmp Trap A 5.png

Path

/configurations/@[configuration_name]/snmp_services/configuration/trap_destinations/@[snmpTrap_name]

Parameters (text)

/configurations/@[configuration_name]/snmp_services/configuration/trap_destinations/@[snmpTrap_name]

authentication      = "MD5"
community           = ""
destination_ip      = "10.3.2.163"
destination_port    = 162
name                = "SNMP_Admin"
password_phrase     = "Not Shown"
privacy_phrase      = "Not Shown"
privacy_protocol    = "DES"
security_level      = "Authentication and privacy"
snmp_version        = "SNMPv3"
source_ip_interface = "ANY"
username            = "private"

Parameters (json)

{
  "authentication" : "MD5",
  "community" : "",
  "destination_ip" : "10.3.2.163",
  "destination_port" : 162,
  "name" : "SNMP_Admin",
  "password_phrase" : "Not Shown",
  "privacy_phrase" : "Not Shown",
  "privacy_protocol" : "DES",
  "security_level" : "Authentication and privacy",
  "snmp_version" : "SNMPv3",
  "source_ip_interface" : "ANY",
  "username" : "private"
}


List of Parameters

Personal tools