Free 30 Day Trial
Find the root-cause of your cloud, hybrid-cloud
or on-prem performance issues
|
||
|
Configuring Snmptrapd on Windows
In Windows environments too, the Snmptrapd package comes bundled with the eG agent package. To setup Snmptrapd on Windows, do the following:
By default, snmptrapd will run on port 162 and will use the community string public. To have the SNMP daemon use a different port, edit the runTrapd.bat file and change the default port number 162 in the -p 162 specification of the file (indicated by Figure 1) to reflect a port of your choice. Similarly, you can change the default –c public specification in the file to reflect the community string that snmptrapd should use in your environment. If more than one community strings are available in your environment, then, you can specify the same as a comma-separated list. For example, if you have two community strings named public and private, then can specify -c public, private in the file to reflect the community strings that the snmptrad should use.
Note:
To configure the SNMP Trap Receiver with SNMP v3 support, follow the steps discussed below:
Then, ensure that valid values are provided for the following parameters in the runtrapd.bat file:
To configure the SNMP Trap Receiver with SNMP v3 support, follow the steps discussed below:
Then, ensure that valid values are provided for the following parameters in the runtrapd.bat file:
Parameter |
Value |
---|---|
-e |
Engine ID |
-l |
Security level; this can be noAuthNoPriv, authNoPriv, or authPriv |
-u |
Security name or user name; where multiple Security name or user names are available in an environment, you can specify a comma-separated list of Security names or user names |
-a |
Authentication protocol; this can be MD5 (for Message Digest Algorithm) or SHA (for Secure Hash Algorithm) - you can specify a comma-separated list of Authentication protocols |
-A |
Authentication protocol pass phrase; you can specify a comma-separated list of Authentication protocol pass phrase if a comma-separated list of Authentication protocols were specified |
-x |
Privacy protocol; this can be des (for Data Encryption Standard or AES (for Advanced Encryption Standard) or AES256; you can specify a comma -separated list of Privacy protocols if multiple Privacy protocols are supported in your environment |
-X |
Privacy protocol pass phrase; you can specify a comma-separated list of Privacy protocol pass phrase if a comma-separated list of Privacy protocols were specified |
A sample entry has been provided below:
-p 162 -v 3 -c none -e 80.00.08.1c.04.46.64 -l authNoPriv -u Kevin,John -a MD5,SHA -A kvn1234,john@1234 -x DES,AES -X kvn12345,john@2341