Provided by: manpages-ja_0.5.0.0.20110915-1_all bug

AGENTX

       snmp  AgentX snmpd.conf :

       master agentx
                README.agentx

SMUX

       gated  SMUX smuxpeer :

       smuxpeer OID PASS
              gated smuxpeer .1.3.6.1.4.1.4.1.3 secret

        UCD-DLMOD-MIB  MIB  dlmod  UCD-DLMOD-MIB  NAME  PATH

       dlmod NAME PATH

       snmpd  RFC 2275 View-Based Access Control Model (vacm)  snmpd  com2sec,
       group, access, view rocommunity, rwcommunity, rouser, rwuser

       rocommunity COMMUNITY [SOURCE] [OID]

       rwcommunity COMMUNITY [SOURCE] [OID]
                com2sec, group, access, view

              SOURCE  com2sec OID  OID

       rouser USER [noauth|auth|priv] [OID]

       rwuser USER [noauth|auth|priv] [OID]
              SNMPv3 USM  VACM com2sec, group, access, view  ()

                ( "auth" ) OID  OID

       com2sec NAME SOURCE COMMUNITY
                 (SOURCE)    (COMMUNITY)   (NAME)  SOURCE  "default"   IP/MASK
              IP/BITS

       group NAME MODEL SECURITY
               (MODEL)  (SECURITY)  (NAME) MODEL  v1, v2c, usm  1

       access NAME CONTEXT MODEL LEVEL PREFX READ WRITE NOTIFY
              access  (view) MODEL  any, v1, v2c, usm  1 LEVEL  noauth,  auth,
              priv   1 PREFX  pdu CONTEXT exact  prefix READ, WRITE, NOTIFY v1
              v2c LEVEL  noauth CONTEXT

       view NAME TYPE SUBTREE [MASK]
               (view) TYPE  included  excluded MASK  16  8 '.'  ':' MASK  "ff"

                1  (row) ISP :

              view cust1 included interfaces.ifTable.ifEntry.ifIndex.1 ff.a0
              view cust2 included interfaces.ifTable.ifEntry.ifIndex.2 ff.a0

              (interfaces.ifTable.ifEntry.ifIndex.1 == .1.3.6.1.2.1.2.2.1.1.1
              ff.a0 == 11111111.10100000

              )

       VACM :
              #       sec.name  source          community
              com2sec local     localhost       private
              com2sec mynet     10.10.10.0/24   public
              com2sec public    default         public

              #             sec.model  sec.name
              group mygroup v1         mynet
              group mygroup v2c        mynet
              group mygroup usm        mynet
              group local   v1         local
              group local   v2c        local
              group local   usm        local
              group public  v1         public
              group public  v2c        public
              group public  usm        public

              #           incl/excl subtree                          mask
              view all    included  .1                               80
              view system included  system                           fe
              view mib2   included  .iso.org.dod.internet.mgmt.mib-2 fc

              #              context sec.model sec.level prefix read   write notify
              access mygroup ""      any       noauth    exact  mib2   none  none
              access public  ""      any       noauth    exact  system none  none
              access local   ""      any       noauth    exact  all    all   all

        VACM
              :
              com2sec   public    default   public
              group     public    v1   public
              group     public    v2c  public
              group     public    usm  public
              view      all  included  .1
              access    public    ""   any  noauth    exact     all  none none

SNMPv3

       engineID STRING
              snmpd  SNMPv3 engineID STRING  engineID engineID  IP

       createUser username (MD5|SHA) authpassphrase [DES] [privpassphrase]
               "/var/ucd-snmp"/snmpd.conf  ()

              MD5  SHA SHA  openssl  DES  VACM

              :  8

              snmpusm  SNMPv3

       syslocation STRING

       syscontact STRING

       sysname STRING
               (location)  (contact) (name)  mibII  'system'   (sysLocation.0,
              sysContact.0 and sysName.0) notWritable

       sysservices NUMBER
              system.sysServices.0 72

       agentaddress [(udp|tcp):]port[@address][,...]
                161   ("udp"   "tcp")  agentaddress 161,tcp:161,9161@localhost
              udp  161 tcp  161 localhost  udp  9161  (listen) -T ( udp )

       agentgroup groupid
               ID groupid  '#' agentgroup snmp  snmp agentgroup #10  ID 10

       agentuser uid
               ID userid  '#' agentuser snmp  snmp agentuser #10  ID 10

       interface NAME TYPE SPEED
               TYPE  IANAifType-MIB

       ignoredisk STRING

                ()  1 bourne  ()

              :  (host/hr_disk.c) OS  Add_HR_Disk_entry()

              :

              ignoredisk /dev/rdsk/c0t2d0

                /dev/rdsk/c0t2d0

              ignoredisk /dev/rdsk/c0t[!6]d0

               /dev/rdsk/c0t6d0  /dev/rdsk/c0tXd0 :

              ignoredisk /dev/rdsk/c0t[0-57-9a-f]d0

              ignoredisk /dev/rdsk/c1*

              /dev/rdsk/c1

              ignoredisk /dev/rdsk/c?t0d0

               /dev/rdsk/cXt0d0 ('X' )

                2

       authtrapenable NUMBER
              authtrapenable    1     disabled(2)    (snmpEnableAuthenTraps.0)
              notWritable

       trapcommunity STRING
                3

       trapsink HOST [COMMUNITY [PORT]]

       trap2sink HOST [COMMUNITY [PORT]]

       informsink HOST [COMMUNITY [PORT]]
                ()   Cold  Start  trapsink,  trap2sink,  informsink  trap2sink
              SNMPv2 informsink COMMUNITY  trapcommunity PORT  SNMP  (162)

       trapsess [SNMPCMD_ARGS] HOST [COMMUNITY]
                SNMP SNMPCMD ARGS snmpcmd(1)  man  -Ci unacknowledged  (   v2c
              v3 )

       proxy [SNMPCMD ARGS] HOST OID [REMOTEOID]
              : B

               OID  HOST  OID   REMOTEOID HOST SNMPCMD ARGS  snmpcmd  man

              :

              proxy -v 1 -c public remotehost .1.3.6.1.4.1.2021

              proxy  -v  3  -l  noAuthNoPriv  -u user remotehost .1.3.6.1.3.10
              .1.3.6.1.2.1.1

       pass MIBOID EXEC
              MIBOID  EXEC EXEC  3  1 :

              EXEC -g MIBOID

              EXEC -n MIBOID

                      SNMP get  getnext EXEC

                      1  mib OID  2   TYPE  TYPE  string,  integer,  unsigned,
                     objectid,  timeticks,  ipaddress,  counter,  gauge   1  3
                     TYPE  VALUE

                      .1.3.6.1.4.100  "42"  3 :
                       .1.3.6.1.4.100
                       integer
                       42

                     end-of-mib  exit SNMP NO-SUCH-NAME  snmp

              EXEC -s MIBOID TYPE VALUE

                     SNMP set EXEC  TYPE integer, counter,  gauge,  timeticks,
                     ipaddress, objid, string  1  VALUE

                     set not-writable wrong-type

                     :        write  (  snmpset)  "private"   "community"   #2
                            snmplib/snmp_impl.h RWRITE

              (snmpd.conf ) :

              pass .1.3.6.1.4.1.2021.255 /path/to/local/passtest

       pass_persist MIBOID EXEC
              MIBOID  EXEC pass EXEC

              EXEC  "PING\n"  "PONG\n"

              get  getnext EXEC  (get  getnext) mib OID  2 EXEC mib OID  VALUE
              TYPE  TYPE  VALUE  3

              .1.3.6.1.4.100  2
                get
                .1.3.6.1.4.100

               42 :
                .1.3.6.1.4.100
                integer
                42

              end-of-mib  "NONE\n"

              (snmpd.conf ) :

              pass_persist                               .1.3.6.1.4.1.2021.255
              /path/to/local/pass_persisttest

         EXAMPLE.CONF

snmpd.conf snmpd.local.conf

       ucd-snmp  2  1 :

       1.     snmpset                      UCD-SNMP-MIB::versionUpdateConfig.0
              (.1.3.6.1.4.1.2021.100.11.0)  (1)

       2.     snmpd  "kill -HUP"

       /usr/share/snmp/snmpd.conf

       snmpconf(1),   snmp.conf(5),  snmp_config(5),  snmpd(1),  EXAMPLE.conf,
       read_config(3).