SNMP notifications

From ISPWiki
Jump to: navigation, search

SNMP notifications (SNMP trap) enable an agent to notify the network management station (DCImanager) of significant events , such as activating/disabling port, user authentication, changes to configuration files, and much more. Trap-directed notification can result in substantial savings of network and agent resources by eliminating the need for frivolous SNMP requests. Devices will send this information when needed.

Configurations

Step 1 Enabling SNMP notifications

Go to the "Global settings" module, select the "Enable notifications" check box in the SNMP Trap tab and a port number.

Module «Global settingsи»
  • Select a port to receive notifications - this port will listen to the DCImanaher daemon for new SNMP-notifications. Standard port 162.

Step 2 Switch configuration

Once completed, in the switch edit port you can see the "Status" field where you can choose how to get information from devices.

Module «Switch»
  • Periodic polling - every 5 minutes DCImanager will check port statuses (this is a standard scheme that DCImanager uses for equipment management).
  • SNMP-trap - DCImanager will show statuses bases on previous traps.

Technical details

How it works in DCImanager: a built-in daemon listens for incoming SNMP notifications from devices, determines a device associated with the notification received, and sends it to the corresponding handler, which analyses the notification and updates the interface, if needed (e.g. mark the ports as active).

Currently only activation/suspension of ports can be processed, because most manufacturers, including Cisco and Juniper, don't send SNMP-traps when a port mode or VLAN is changed. Changes made by admin to VLAN and port numbers cannot be synchronized. However, if he changes the port mode or VLAN in the interface, the interface will show up-to-date information. Even if you are using SNMP traps, you can continue using the "Refresh" button that will request information from devices.

Options

Enabling SNMP-notifications will add the AllowSnmpTrap option into the configuration file.