How to Configure the SNMP Trap Service
Console's SNMPTrap Service (snmptrapd) must know the user credentials of a sending agent (on the device) before receiving a trap. If this information is not provided, the SNMPTrap Service drops trap messages.
There are two ways to configure Trap Receiver information: Using the Console's Trap Receiver Configuration window or by manually adding user information to the snmptrapd.conf file using a text editor. Instructions for the latter are provided in the snmptrapd.conf file, located on the server in the <install directory>\appdata directory.
Using the Trap Receiver Configuration Window
The Trap Receiver Configuration view is accessible from the right-click menu when clicking a device in Console's left (tree) panel.
NOTES: |
|
---|
- In Console, expand the left panel, right-click on one or more devices or device groups, and select Trap Receiver Configuration.
- Click the snmptrapd tab.
- Click Add Entry. This adds a new row to the table.
For the next step, you'll need an SNMPv3 Credential. If you do not already have a credential defined, go to the Authorization/Device Access - Profiles/Credentials tab, where you can create one. Otherwise, proceed to Step 4. - Click in the Credential Name column for the device on which you want to set a specific SNMPv3 credential and select your SNMPv3 AuthPriv credential from the drop-down menu. The snmptrapd.conf Text area shows the text of your entry in the configuration file.
You can also type user credentials directly into the snmptrapd.conf Text area to add entries to the configuration file. The format for user information is:
createUser username (MD5|SHA) passphrase [DES passphrase]
Example - for an AuthPriv user, enter the following line in the file:
createUser myAuthPrivUser MD5 mypassword DES myotherpassword
Where myAuthPrivUser is the security user name, mypassword is your authentication password and myotherpassword is your encryption password. The authentication and privacy parameters are optional, depending on whether you are using authentication and/or privacy.
- Click Save and Close. The user credentials are added to the snmptrapd.conf file.
Restarting snmptrapd Service
Depending on the system where the NetSight Server is running and your preference, there are several ways to restart the snmptrapd service.
Restarting the service locally on the NetSight Server host system:
Windows | Linux |
---|---|
Using the Services Manager:
|
|
Restarting the service remotely from a NetSight Client host system:
Windows | Linux |
---|---|
Restarting the service remotely on Windows host systems is only possible if both the Client and Server are capable of running Remote Desktop (a feature of Windows XP Professional) or through the use of a third-party facility that provides similar capabilities to Remote Desktop.
When you can access the Services Manager on the remote system using either Remote Desktop or a third-party program, you can restart the service as follows:
|
|