SNMP Prerequisites
Starting in release 8.5.1, you can use Net-SNMP, instead of the Genesys SNMP Master Agent component, to implement SNMP functionality. Net-SNMP supports everything that Genesys SNMP Master Agent does. Genesys strongly recommends that you use the newest version of Net-SNMP Master Agent to make your SNMP configuration as robust as possible.
Net-SNMP and Genesys SNMP Master Agent can run in parallel on the same system, if the following conditions are met:
- Only one SNMP Master Agent can be configured on each Solution Control Server (SCS).
- The ports used by each SNMP Master Agent must be unique, and not used by any other application.
Solution Control Server and Local Control Agent support both implementations.
Installing Net-SNMP
If you choose to use Net-SNMP in addition to, or instead of, Genesys SNMP Master Agent, you must install Net-SNMP on all hosts where you need an SNMP Master Agent to reside. Use the following instructions, according to the operating system running on that host.
To install and configure Net-SNMP on Windows 64-bit Platforms, use the following steps:
1. Download and run Net-SNMP as follows: [+] Show steps
| |||||||||||||||||||||||
2. Register (or unregister, if required) the Net-SNMP Services by running the appropriate .bat file, all of which are located in the Net-SNMP installation folder. [+] Show files :
After registration, the files are located in the following locations: [+] Show file locations Note: The file locations given in the table are by default, based on the default location specified in Step 1.
| |||||||||||||||||||||||
3. Modify the Net-SNMP configuration file, snmpd.conf to define system-specific parameters, as follows: [+] Show steps
| |||||||||||||||||||||||
4. Configure the MIB Browser for the version of SNMP you are using. Do one of the following: [+] Show settings For SNMP v1 or SNMP v2, set the following:
For SNMP v3, set the following:
| |||||||||||||||||||||||
5. Modify the Net-SNMP configuration file, snmpd.conf, to define where SNMP traps are to be sent, as follows: [+] Show changes For SNMP v1 traps, add the line: trapsink <transport>:<host_address>:<port> where:
For SNMP v2 traps, add the line: trap2sink <transport>:<host_address>:<port> where:
For SNMP v3 traps, add the line: trapsess -v 3 –u <username> -l authNoPriv -Ci -a MD5 -A "<authentication_password>" <host_address>:<port> where:
| |||||||||||||||||||||||
6. Prepare start and stop scripts to start and stop Net-SNMP as a service, as shown below. The path and filename of these scripts are stored in the annex of the SNMP Master Agent Application objects.
Start script, for example startsnmp.bat net start "<netsnmp_servicename>"
net start "<netsnmptrap_servicename>" Stop script, for example stopsnmp.bat net stop "<netsnmp_servicename>"
net stop "<netsnmptrap_servicename>" |
Prerequisites:
- You must be logged in as root.
- The Red Hat Package Manager (RPM) files (RPMs) must have execute permission. If you are unsure, give full permission by running the following command:
$chmod –R 777 *
To install and configure Net-SNMP on Linux 64-bit Platforms, use the following steps:
1. Download and install the RPM files, as follows: [+] Show steps .
The installation places the Net-SNMP files in the following locations, unless otherwise specified during the installation: [+] Show files
| ||||||||||||||||
2. Modify the Net-SNMP configuration file, snmpd.conf to define system-specific parameters, as follows: [+] Show steps
| ||||||||||||||||
3. Configure the MIB Browser for the version of SNMP you are using. Do one of the following: [+] Show settings For SNMP v1 or SNMP v2, set the following:
For SNMP v3, set the following:
| ||||||||||||||||
4. Modify the Net-SNMP configuration file, snmpd.conf, to define where SNMP traps are to be sent, as follows: [+] Show changes For SNMP v1 traps, add the line: trapsink <transport>:<host_address>:<port> where:
For SNMP v2 traps, add the line: trap2sink <transport>:<host_address>:<port> where:
For SNMP v3 traps, add the line: trapsess -v3 –u <username> -l authNoPriv -Ci -a MD5 -A "<authentication_password>" <host_address>:<port> where:
| ||||||||||||||||
5. Prepare start and stop scripts, based on the commands provided in Starting and Stopping Net-SNMP. The path to these scripts are stored in the annex of the SNMP Master Agent Application objects. |
Prerequisites:
- You must be logged in as root.
- The RPM files must have execute permission. If you are unsure, give full permission by running the following command:
$chmod –R 777 *
To install and configure Net-SNMP on AIX 64-bit Platforms, use the following steps:
1. Download and install the RPM files, as follows: [+] Show steps
The installation places the Net-SNMP files in the following locations, unless otherwise specified during the installation: [+] Show files
| ||||||||||||||||
2. Add the path of the snmpd binary to the PATH environment variable, as follows: [+] Show steps
| ||||||||||||||||
3. Modify the Net-SNMP configuration file, snmpd.conf, to define system-specific parameters, as follows: [+] Show steps
| ||||||||||||||||
4. Configure the MIB Browser for the version of SNMP you are using. Do one of the following: [+] Show settings For SNMP v1 or SNMP v2, set the following:
For SNMP v3, set the following:
| ||||||||||||||||
5. Modify the Net-SNMP configuration file, snmpd.conf, to define where SNMP traps are to be sent, as follows: [+] Show changes For SNMP v1 traps, add the line: trapsink <transport>:<host_address>:<port> where:
For SNMP v2 traps, add the line: trap2sink <transport>:<host_address>:<port> where:
For SNMP v3 traps, add the line: trapsess -v 3 –u <username> -l authNoPriv -Ci -a MD5 -A "<authentication_password>" <host_address>:<port> where:
| ||||||||||||||||
6. Prepare start and stop scripts, based on the commands in Starting and Stopping Net-SNMP. The path to these scripts are stored in the annex of the SNMP Master Agent Application objects. |
Prerequisites:
- You must be logged in as root, with execute permission. If you are unsure, give full permission by running the following command:
$chmod –R 777 *
To install and configure Net-SNMP on Solaris 10 64-bit Platforms, do the following steps:
1. Download and install the Net-SNMP package files, as follows: [+] Show steps
If the error message Pkgadd command not found appears, update the PATH environment variable, as follows: $PATH=$PATH:/usr/sfw/bin:/usr/ccs/bin:/usr/sbin To view the list of installed packages, enter the following command: $pkginfo To view the list of files installed by the packages, enter the following command: $pkgchk –v <packagename> To determine what file belongs to which package, enter the following command: $ pkgchk -l -p <path_to_file/filename> The installation places the Net-SNMP files in the following locations, unless otherwise specified during the installation: [+] Show files
| ||||||||||||||||
2. Add the path of the Snmpd binary to the PATH environment variable, as follows: [+] Show steps
Note: If you log in with a new session, you must add the path again. | ||||||||||||||||
3. Modify the Net-SNMP configuration file, snmpd.conf, to define system-specific parameters, as follows: [+] Show steps
| ||||||||||||||||
4. Configure the MIB Browser for the version of SNMP you are using. Do one of the following: [+] Show settings For SNMP v1 or SNMP v2, set the following:
For SNMP v3, set the following:
| ||||||||||||||||
5. Modify the Net-SNMP configuration file, snmpd.conf, to define where SNMP traps are to be sent, as follows: [+] Show changes For SNMP v1 traps, add the line: trapsink <transport>:<host_address>:<port> where:
For SNMP v2 traps, add the line: trap2sink <transport>:<host_address>:<port> where:
For SNMP v3 traps, add the line: trapsess -v 3 –u <username> -l authNoPriv -Ci -a MD5 -A "<authentication_password>" <host_address>:<port> where:
| ||||||||||||||||
6. Prepare start and stop scripts, based on the commands provided in Starting and Stopping Net-SNMP. The path to these scripts are stored in the annex of the SNMP Master Agent Application objects. |
Starting and Stopping Net-SNMP
If you have installed Net-SNMP on a Windows 64-bit platform, start and stop Net-SNMP as a service, using Windows Service Manager.
Otherwise, use the following commands to start or stop Net-SNMP running on a UNIX host:
Action | Command |
---|---|
Start Net-SNMP | $service snmpd start |
Stop Net-SNMP | $service snmpd stop |
Check Net-SNMP status | $service snmpd status |
Restart Net-SNMP | $service snmpd restart |