On Monday 16 April 2007 13:47, Dave Shield wrote:
> On 13/04/07, Michael Renner <[EMAIL PROTECTED]> wrote:
> > OK, it was in a wrong directory, but there are still errors:
> >
> > cassiopeia:/usr/share/snmp/mibs# snmpget -c public -v1 wlan.mtr.mynet
> > ATMEL-MIB::sysDescr
> > Bad operator (operBridgingLevel): At line 127
> > in /usr/share/snmp/mibs/AT76C510B1.mib
> > ATMEL-MIB::sysDescr: Unknown Object Identifier
> >
> > Strange
>
> They've made the classic mistake of using lines of dashes
> as separators.    Unless you are *very* careful, this results
> in a broken MIB.

Moin,

thanks again for your answer.

> The easiest fix is to replace any line of the form
>
>     --------- Something --------
>
> with
>
>    -- ======= Something =========

that was easy, but it seems to be a never ending story! I got a response this 
time, but  it was pure hex:

cassiopeia:~# snmpget -c public -v1 wlan.mtr.mynet ATMEL-MIB::sysDescr.0
ATMEL-MIB::sysDescr.0 = Hex-STRING: 38 30 32 2E 31 31 20 41 50 20 28 56 65 72 
2E 20
31 2E 34 68 2E 34 29 20 41 63 63 65 73 73 20 50
6F 69 6E 74 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00

Is there a standard method to convert this?

Thanks
> I.e. two leading dashes as the start of the line,
> then some other character for the rest of the separator.
> It doesn't matter what this is, as long as it isn't a dash.
>
>
> I also suggest that you complain to your vendor.
>
> Dave

-- 
|Michael Renner      E-mail: [EMAIL PROTECTED]  |
|D-81541 Munich      Germany        ICQ: #112280325 |
|Germany             Don't drink as root!      ESC:wq

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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

Reply via email to