


Tricklet(1)              USER COMMANDS                Tricklet(1)



NAME
     snmp-nxt - SNMP Get Next command

SYNOPSIS
     snmp-nxt [ <host> <community> <medium>  <timeout>  <retries>
     <port> ]

DESCRIPTION
     _s_n_m_p-_n_x_t sends snmp GETNEXT requests to the  snmp  agent  on
     the  specified  host.   snmp-nxt  reads lines from stdin and
     interprets each line as a group  of  snmp  GETNEXT  requests
     separated  by  semicolons.  Such a group is sent as one SNMP
     message to the host. Seperate lines  are  send  as  seperate
     snmp messages. Output of snmp-get is send to stdout.
     The format of the input to snmp-get is the same as the  out-
     put generated by snmp-get.

     For a full description of the format see  the  man  page  of
     snmp-get.


DEFAULTS
     community == "public"
     OS/2 medium == P    (named-pipe)
     UNIX medium == U    (udp-ip)
     timeout == 5 secs
     retries == 3
     port == 161



EXAMPLES
     The following example retrieves the mib variable  'sysDescr'
     (system   description)   from   the   snmp   agent  on  host
     dnpap.et.tudelft.nl:

     <-- echo "sysDescr" | snmp-nxt dnpap.et.tudelft.nl
     --> sysObjectID[0]=1.3.6.1.4.1.42.2.1.1

     The next example shows that the output of one command can be
     used as input for a next command:

     <-- echo "sysDescr" | snmp-get dnpap | snmp-nxt dnpap
     --> sysObjectID[0]=1.3.6.1.4.1.42.2.1.1


FILES
     $(MIBHOME)/mibs          list of MOSY MIB definition files
     $(MIBHOME)/*.def         MOSY MIB definition files
     $(CONFIGROOT)/global.ini  dnpap's configuration variables
     $(BIN)/snmp-nxt          executable




Sun Release 4.1        Last change: local                       1






Tricklet(1)              USER COMMANDS                Tricklet(1)



SEE ALSO
     _s_n_m_p-_g_e_t(_l) _s_n_m_p-_s_e_t(_l) _s_n_m_p-_t_b_l(_l)





















































Sun Release 4.1        Last change: local                       2



