sun.com | docs.sun.com | How To Buy | My Sun | Worldwide Sites |  |

| Previous Contents Index Next
Example 4-15 Example Entry in `nma.notifs.txt` for Hybrid Configuration
    notificationEntry=notif1,trap,1,3
Example 4-16 Example Entry in `nma.security` for Hybrid Configuration
    userEntry=10.8.3.18:8085,defaultUser,defaultUser,usmHMACMD5AuthProtocol,\
    mypasswd
    userEntry=localEngineID,defaultUser,defaultUser,usmHMACMD5AuthProtocol,\
    mypasswd
    localEngineBoots=26
    localEngineID=0x8000002a05000000ef6540c3f9
### SNMPv3 Configuration Example In this configuration, the NMA MIB is accessed using SNMPv3 on port number `8085`. The manager authorized to access the MIB is located on host `10.8.1.253`. Traps are sent to the manager on trap port `8086`. In this case, the notification MIB is not used. Traps are always sent to trap port `8086` as defined in the `nma.properties` file and use only SNMPv2. The `nma.targets.txt`, `nma.params.txt`, and `nma.notifs.txt` files are not used in this configuration. Example 4-17, Example 4-18, Example 4-19, and Example 4-20 list the entries in the NMA configuration files that support this SNMP configuration. Example 4-17 Example Entries in `nma.properties` for SNMPv3 Configuration
    com.sun.nhas.ma.adaptors.snmp.enabled=true
    com.sun.nhas.ma.adaptors.snmp.port=8085
    com.sun.nhas.ma.adaptors.snmp.trap.port=8086
    com.sun.nhas.ma.adaptors.snmp.rfc2573.enabled=false
    com.sun.nhas.ma.adaptors.snmp.rfc2573.v1v2set.enabled=false
    com.sun.nhas.ma.adaptors.snmp.rfc2573.target.addr.file=\
    /etc/opt/SUNWcgha/nma.targets.txt
    com.sun.nhas.ma.adaptors.snmp.rfc2573.target.params.file=\
    /etc/opt/SUNWcgha/nma.params.txt
    com.sun.nhas.ma.adaptors.snmp.rfc2573.notification.file=\
    /etc/opt/SUNWcgha/nma.notifs.txt
    jdmk.acl.file=/etc/opt/SUNWcgha/nma.acl
    jdmk.uacl.file=/etc/opt/SUNWcgha/nma.uacl
Example 4-18 Example Entries in `nma.security` for SNMPv3 Configuration
    userEntry=localEngineID,defaultUser,null,usmHMACMD5AuthProtocol,mypasswd
    localEngineBoots=23
    localEngineID=0x8000002a050a08031200001f95
Example 4-19 Example Entries in `nma.acl` for SNMPv3 Configuration
    acl = {
     {
     communities = public, private
     access = read-only
     managers = 10.8.1.253
     }
     {
     communities = public, private
     access = read-write
     managers = 10.8.1.253
     }
    }

    trap = {
      {
      trap-community = public
      hosts = 10.8.1.253
      }
      {
      trap-community = private
      hosts = 10.8.1.253
      }
    }
Example 4-20 Example Entries in `nma.uacl` for SNMPv3 Configuration
    acl = {
     {
     context-names = null
     access = read-write
     security-level=authNoPriv
     users = defaultUser
     }
    }
Previous Contents Index Next

Copyright 1994-2004 Sun Microsystems