On Thu, Mar 24, 2011 at 09:15, Dave Shield <[email protected]>wrote:
> On 24 March 2011 16:07, Donald Russell <[email protected]> wrote:
> > ext='\"dnr\"'
>
> Untested, but try
> either
>
> ext='"dnr"' (i.e. single quote, double quote
> then the string,
> then double quote, single quote
>
> or
>
> ext=\"dnr\"
>
> You only need one of these to escape the double quote
> Using *both* of them passes the backlashes through to the 'snmpset'
> command.
> This needs to see the double quote characters - but nothing else.
>
>
(In my best Peter Sellers/Inspector Clouseau voice) Ah, the ol' bash quotes
ploy... :-)
Thanks... but bad news (for me)
Now, the request times out, and snmpd crashes....
Timeout: No Response from localhost
$sudo service snmpd status
snmpd dead but pid file exists
That's version 5.3.2.2
I did try the above with snmpd 5.5 and it worked as expected... I'll see if
I can get an update for the systems I want to do this on.
Thanks very much for all your help with this.
If you're interested, I'll write up some information that would have helped
me immensely and you may include it in future man pages, or not. I found the
doc a bit unclear...
Cheers
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders