Configure the z/OS UNIX snmp command

Figure 1. Configuration files for snmp
Configuration files for snmp

The z/OS® UNIX snmp command is used to send SNMP requests to SNMP agents on local or remote hosts, or to receive SNMP traps or notifications. You can also use the synonym, osnmp, as the name of this command. The requests can be SNMPv1, SNMPv2c, or SNMPv3. For SNMPv2c and SNMPv3 requests, the OSNMP.CONF configuration file is required. The winSNMPname specified on an OSNMP.CONF statement can be used as the value of the -h parameter on the snmp command. For a detailed explanation of the parameters you can specify on the snmp command, see z/OS Communications Server: IP System Administrator's Commands.

To configure the snmp command, perform the following tasks: