[prev in list] [next in list] [prev in thread] [next in thread]
List: uclinux-dev
Subject: [uClinux-dev] Question about UCD-SNMP agent (mib2c tool)
From: "Sandro M" <sandro.mores () ecsproject ! com>
Date: 2005-11-24 15:55:10
Message-ID: 001b01c5f10f$739ab790$7100a8c0 () sandro
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hello boys,
I'm trying to put a new MIB written by me in the ucd-snmp agent of the =
uClinux O.S. . I'm 100% sure that the MIB is ok.
now when I try to run mib2c wich is in uClinux/user/ucdsnmp/local in =
order to make the mymib.c and .h files I get this error:
Undefined OBJECT-GROUP (snmpBasicNotificationsGroup): At line 395 in =
/usr/local/share/snmp/mibs/SNMPv2-MIB.txt
Modification of a read-only value attempted at ./mib2c line 261, <GEN1> =
line 59.
what does it mean? Reading the first line I suppose that line command =
arguments that i pass arent right, it must not use the MIBs =
/usr/local/share/snmp/mibs but in uClinux/user/ucdsnmp/mibs, right? this =
is the command line:
./mib2c -c ./mib2c.conf myMIB
this from the folder uClinux/user/ucdsnmp/local
the MIB.txt file is in uClinux/user/ucdsnmp/mibs
Thanks in advance,
good bye to all!
Sandro
[Attachment #5 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello boys,</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm trying to put a new MIB written by me in the
ucd-snmp agent of the uClinux O.S. . I'm 100% sure that the MIB is
ok.</FONT></DIV>
<DIV><FONT face=Arial size=2>now when I try to run mib2c wich is in
uClinux/user/ucdsnmp/local in order to make the mymib.c and .h files I get this
error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Undefined OBJECT-GROUP
(snmpBasicNotificationsGroup): At line 395 in
/usr/local/share/snmp/mibs/SNMPv2-MIB.txt</FONT></DIV>
<DIV><FONT face=Arial size=2>Modification of a read-only value attempted at
./mib2c line 261, <GEN1> line 59.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>what does it mean? Reading the first line I suppose
that line command arguments that i pass arent right, it must not use the
MIBs /usr/local/share/snmp/mibs but in uClinux/user/ucdsnmp/mibs, right? this is
the command line:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>./mib2c -c ./mib2c.conf myMIB</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>this from the folder
uClinux/user/ucdsnmp/local</FONT></DIV>
<DIV><FONT face=Arial size=2>the MIB.txt file is in
uClinux/user/ucdsnmp/mibs</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance,</FONT></DIV>
<DIV><FONT face=Arial size=2>good bye to all!</FONT></DIV>
<DIV><FONT face=Arial size=2>Sandro</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic