On 30 July 2012 15:02, Naama Bar Menachem
<naama.barmenac...@novelsat.com> wrote:
> Is it possible to add new row without getting inputs?
> Not index and not other values?
> As if the user pressed a "ADD" button and my behind the screen mechanism
> will put initial values to all, including index.

It depends on what level you are talking about.

If you mean
    "is it possible to send an SNMP SET request that will create
     a new row without specifying the index value"
           then the answer is probably No.

All SET requests operate on an *instance* of a MIB object,
and hence will need to include the instance sub-identifier.

If you mean
   "is it possible to have a management tool that
    allows the user to press an ADD button,
    and have this create a new row - using an
    appropriate index"
            then the answer is Yes.

But the "behind-the-screen" mechanism would be
located in the client-side application, rather than the
SNMP agent.
   One obvious approach would be to walk the table to
retrieve the current index values, and choose the next
one.   Then issue a suitable SET request using that index.
   All this could be hidden from the user by a suitable
dedicated client application.

But not if you're working with the low-level SET requests
(or command-line tools such as "snmpset", etc), where
the user would need to decide what index to create.

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to