Den 24-03-2011 17:07, Donald Russell skrev:
> ext='\"dnr\"'
> snmpset -v 2c -c private localhost \
>          nsExtendStatus.$ext = 'createAndGo' \
>          nsExtendRunType.$ext = 'run-on-set' \
>          nsExtendCommand.$ext = '/bin/date' \
>          nsExtendArgs.$ext = ''
>
> But that resulted in a bunch of (the same) errors:
> nsExtendStatus.\"dnr\": Unknown Object Identifier (Index out of range:
> \"dnr\" (nsExtendToken))

Too much quoting ... take the \ (or ') away ...

/Niels

-- 
Niels Baggesen -- @home -- Ã…rhus -- Denmark -- ni...@baggesen.net
The purpose of computing is insight, not numbers  --  R W Hamming

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to