On Thu, Mar 24, 2011 at 09:15, Dave Shield wrote:
> On 24 March 2011 16:07, Donald Russell wrote:
> > ext='\"dnr\"'
>
> Untested, but try
> either
>
>ext='"dnr"'(i.e. single quote, double quote
>
>
> > Or, the man page says "extend" items can be added dynamically that
> would
> > be great... I can have a system start up script dynamically add the
> > run-on-get and the run-on-set scripts. (Actually the same script, args
> would
> > determine action taken)
>
> That would use SET requests
On Tue, Mar 22, 2011 at 02:49, Dave Shield wrote:
>
>
> If you want to pass request-specific information to the script
> when it's invoked, you can always issue a SET request that
> assigns new values to the nsExtendArgs and/or nsExtendInput
> instances, as well as the nsExtendRunType trigger.
>
ry with RunType run-on-set
OK, this is fantastic it was a longroad to get here, but now that I have
it figured out, it's realy quite simple. :-)
Thanks so much...
On Tue, Mar 22, 2011 at 08:59, Dave Shield wrote:
> On 22 March 2011 15:38, Donald Russell wrote:
> > Now, I want
On Tue, Mar 22, 2011 at 02:35, Dave Shield wrote:
> On 21 March 2011 19:33, Donald Russell wrote:
> >> What does your pass script look like?
> >
> > First, my snmpd.local.conf file has:
> > pass .1.3.6.1.4.1.15966.1 /usr/local/bin/passtest
> >
>
On Tue, Mar 22, 2011 at 02:49, Dave Shield wrote:
> On 21 March 2011 19:33, Donald Russell wrote:
> >> [exec/extend and pass] are two very different approaches to extending
> the agent.
> >> Don't try and equate the two.
> >
>
> > I wonder why the aut
On Mon, Mar 21, 2011 at 02:40, Dave Shield wrote:
> On 18 March 2011 23:52, Donald Russell wrote:
> > I have net-snmp 5.3 on Linux and I've been able to use the "exec" and
> > "extend" config statements with great success.
> >
> > "p
I have net-snmp 5.3 on Linux and I've been able to use the "exec" and
"extend" config statements with great success.
"pass" on the other hand is driving me crazy... I can't get snmpwalk to walk
the OID I specify at all...
But, back to "extend"... I'd like to have an OID that I may both query and