Configuring the Domino SNMP Agent for z/OS

Complete these steps, once per LPAR, to configure the Domino® SNMP Agent for IBM® z/OS®.

About this task

Before using the Domino SNMP Agent, ensure that TCP/IP and SNMP are properly installed and configured on the LPAR. Also, verify that the Domino executable and the Domino data directories are in your search path. Only community-based security (SNMPv1 / SNMPv2 formats) is supported.

If you do not have SNMP configured on your LPAR, see the following IBM documentation to configure SNMP:

  • z/OS Communications Server: IP Configuration Guide, SC31-8775
  • z/OS Communications Server: IP Configuration Reference, SC31-8776

The SNMP agent and subagents record trace information via the z/OS UNIX™ System Services syslog daemon using the daemon facility. If you are using SNMP, set up the syslog daemon. For detailed information regarding syslogd and specifying the daemon facility in the /etc/syslog.conf configuration file, see the z/OS Communications Server manuals in the preceding list.

Note: There is also a Syslogd How To informational APAR, apar II12021.

To verify that SNMP is configured correctly, enter the following command from within Unix System Services:

osnmp -h  host name   walk  system	

The output should resemble the following sample output: = SNMPv3 agent version 1.0 with DPI version 2.0 = = 1192800 = userid = hostname = location = 76 = 950000 = = = z/OS SNMP Agent = z/OS TCP/IP SNMP Subagent = 0 = 1800

If the output from the osnmp command does not resemble the sample output, SNMP is not correctly configured. Verify that you have SNMP configured correctly by reviewing the z/OS Communications Server manuals prior to continuing. You need to be aware of the following when setting up SNMP for Domino:


  1. If you include a SACONFIG statement in your TCP/IP profile, verify that the statement in your profile is similar to the following example:

    You can replace public with any password you prefer. If you choose to change the password, and you use a password in /etc/pw.src, verify that you have also changed that password.

  2. Verify that port 161 is reserved in your TCP/IP profile.
    161 UDP OMVS ; SNMP Agent
  3. Verify the procedure OSNMPD is configured correctly and that it starts after every IPL.
    Note: Before setting up the OSNMPD procedure, review the z/OS Communications Server: IP Configuration Guide which contains important information about data set naming and search sequences.

    The following is an example of an OSNMPD EXEC card:

    // PARM=('POSIX(ON) ALL31(ON)',                         
    //  'ENVAR("RESOLVER_CONFIG=/etc/resolv.conf"',         
    //  '"OSNMPD_DATA=/etc/")',                  
    //  '/-d 0')                                            
  4.,, pw.src and snmptrap.dest are not required for running the Domino SNMP agent. However, if you choose to use these members, they must be set up correctly. Verify that these members in /etc have Read access for user, group and other.
    (rwxr - - r -) 

    If and are not in /etc, or if they are from a previous level, you can obtain the current level from TCPIP samples located in /usr/lpp/tcpip/samples.

    Note: Ensure that osnmp.conf is not located in /etc, because it is reserved for user-based security.
    Tip: Trap destinations are defined in the SNMPTRAP.DEST dataset. Configure appropriate trap destinations and community names for your remote management infrastructure.
  5. If you are using /etc/pw.src or /etc/snmpd.conf, verify that they have the correct hostname as well as the IP address for the Domino server. Hostnames are case-sensitive. Enter the following command from within UNIX System Services to obtain the correct host name for your system.

    The pw.src should resemble the following sample:


    If you set SACONFIG in the TCP/IP profile to not use public, replace hostname with the password used in the SACONFIG statement.

  6. Verify that snmptrap.dest has the correct hostname. Hostnames are case-sensitive.

    For more Information about common set up problems, see information APAR II13477.

To start the Domino SNMP agent


  1. As a uid 0 user, start the LNSNMP process by typing this command: start
    Note: Automatic start of the Domino SNMP Agent is not supported on z/OS.
  2. When lnsnmp is started, verify that SNMP is aware of the Domino MIB by entering the following commands:
    osnmp -h  host name   walk  system 

    The output should include this line: = Lotus® Domino SNMP Agent

    Next enter this command:

    osnmp getnext

    The following should be displayed: = 2


The value returned should have an OID number that starts with This confirms that the SNMP Agent is receiving the request, forwarding it to lsnmp, and that lsnmp is returning a valid value.

If you do not see the appropriate responses shown in the sample output, or if the getnext response is for an OID outside of the Domino MIB, additional debugging is required. Start an SNMP Agent trace at level 255.

To determine whether there are additional things to check for and to obtain information about setting up an SNMP Agent trace, see informational APAR II13477.

To stop the LNSMP agent use

About this task

Enter this command: stop

After you complete the z/OS-specific portion of the Domino SNMP Agent configuration, complete the rest of the non-platform-specific configuration.