Revision as of 17:06, February 24, 2016 by Pmcknigh (talk | contribs) (Starting and Stopping Net-SNMP)
Jump to: navigation, search

SNMP Prerequisites

Starting in release 8.5.1, you can use Net-SNMP, instead of the Genesys SNMPA Master Agent component, to implement SNMP functionality. Net-SNMP supports everything that Genesys SNMPA Master Agent does, but uses any SNMP master agent, whether supplied by Genesys or by a third-party.

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.
  • The ports used by the SNMP master agents 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 SNMPA Master Agent, you must install Net-SNMP on each host that will be running SNMP master agents configured for use with Net-SNMP. Use the following instructions, according to the operating system running on the 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
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
5. Modify the Net-SNMP configuration file, snmpd.conf, to define where SNMP traps are to be sent, as follows: [+] Show changes

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
4. Modify the Net-SNMP configuration file, snmpd.conf, to define where SNMP traps are to be sent, as follows: [+] Show changes
5. Use any of the following commands as necessary to work with Net-SNMP (other than using SNMP master agents). Prepare start and stop scripts. The path to these scripts are stored in the Annex of the SNMP master agents.
Action Command Expected Response
Commands for Starting, Stopping, and Monitoring Net-SNMP on Linux 64-bit
Start snmpd $service snmpd start starting snmpd : ok
Stop snmpd $service snmpd stop stopping snmpd : ok
Check snmpd status $service snmpd status snmpd is running with <pid>
Restart snmpd $service snmpd restart stopping snmpd : ok

starting snmpd : ok

There are no similar commands given for the other three platforms. Are these common to the two other *ix platforms? If so, what about Windows?

Prerequisites:

  • You must be logged in as root.
  • The Red Hat Package Manager 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 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
5. Modify the Net-SNMP configuration file, snmpd.conf, to define where SNMP traps are to be sent, as follows: [+] Show changes

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
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
5. Modify the Net-SNMP configuration file, snmpd.conf, to define where SNMP traps are to be sent, as follows: [+] Show changes

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
For MIB For Traps
Start Net-SNMP $service snmpd start $service snmptrapd start
Stop Net-SNMP $service snmpd stop $service snmptrapd stop
Check Net-status $service snmpd status
Restart snmpd $service snmpd restart
Comments or questions about this documentation? Contact us for support!