Re: Problem modifying trap destination etc. dynamically with snmpset

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 10 June 2010 10:52, Boris Zweimueller <[email protected]> wrote:
> I try now to create a new row and set the values with seperate snmpset
> commands as following
>
> snmpset -v 3 -u boris localhost
> SNMP-TARGET-MIB::snmpTargetAddrRowStatus.\'index2'\ = 5

You need to escape both quotes.
i.e.
     \'index2\'

*not*
     \'index2'\

Dave

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.