[Nut-upsdev] SNMP UPS: NETYS RT 1/1 UPS

Arnaud Quette aquette.dev at gmail.com
Wed Oct 31 23:56:48 UTC 2012


2012/10/31 Ing. Ján <jan.ondrej at upjs.sk>

> Hello,
>
> On Tue, Oct 30, 2012 at 09:11:16PM +0100, Arnaud Quette wrote:
> > 2012/10/30 Ing. Ján <jan.ondrej at upjs.sk>
> > On Mon, Oct 29, 2012 at 08:49:03PM +0100, Arnaud Quette wrote:
> > > > 2012/10/25 Ing. Ján <jan.ondrej at upjs.sk>
> > > > On Wed, Oct 24, 2012 at 10:46:32PM +0200, Arnaud Quette wrote:
> > Can I define multiple MIB files with multiple arguments?
> > >
> >
> > this is simply a wrapper around the 'snmpcmd' (i.e works for
> snmp{walk,get,
> > ...}) "-M DIRLIST"
> >
> > I've modified the option for:
> > -m DIRLIST -- colon separated list of directories to also search for MIBs
> >
> > the specified DIRLIST is appended to Net SNMP DIRLIST
>
> Do I need to specify snmp dir parameters if my MIBs are in default paths?
>

no
it's more in case you have it in the current dir (which is already handled)
or elsewhere, not in Net SNMP search dirs


> > > Program received signal SIGSEGV, Segmentation fault.
> > > 0x00007ffff75d305a in __strchr_sse2 () from /lib64/libc.so.6
> >
> > as told previously, it won't work out of the box!
> > the mapping (1rst column in the .c file, prefixed with "unmapped...") has
> > to be edited to use actual NUT variables name, and possibly value lookup.
> > there is a small example in the .c file.
> >
> > that said, I'm still interested in the test results of mode 1
>
> This .c programming looks to be complicated for me. I have no time to
> read all sources, how to write all code to this source.
>

these are only C structures. you don't need much knowledges, but I still
have to write the docfile to give directions


> Your script created mostly only empty .c file, so all translations should
> be
> added manually. May be it's simpler to get an already existing *-mib.c file
> and update it for my UPS, like use your empty file. Or something got wrong?
>

send the result to the list, in compressed form.
remember that I'm firstly validating the new script, and secondly the
result, but both for integration.

cheers,
Arnaud
-- 
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20121101/5f2d4aad/attachment.html>


More information about the Nut-upsdev mailing list