Re: pass scripts

krad <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 19 March 2010 19:29, krad <[email protected]> wrote:

> Thanks for the response. Unfortunately the script is giviung multiple
> values and i was using the tree expansion to get the results. I might
> be able to rework it though. Im still interested on how to do pass
> scripts though
>
> On 3/19/10, Dave Shield <[email protected]> wrote:
> > On 18 March 2010 17:52, krad <[email protected]> wrote:
> >> I have an issue with an extend script (net-snmp 5.4+) returning a value
> in
> >> string form. I however want it in integer form.
> >
> > Try returning this value as the "exit" value of the script.
> > This can then be accessed via the MIB object 'nsExtendResult'
> >
> > Dave
> >
>
> --
> Sent from my mobile device
>

Hmm the  counter values are to large to return via exit codes it seems
therefore its going to have to be a pass script.

Any pointers to some examples?

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
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.