[Devel] [ openser-Bugs-1653550 ] snmpstats module needs a proper OID

SourceForge.net noreply at sourceforge.net
Mon Feb 12 21:59:35 CET 2007


Bugs item #1653550, was opened at 2007-02-06 14:38
Message generated for change (Comment added) made by jmagder
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1653550&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ovidiu Sas (osas)
Assigned to: Bogdan (bogdan_iancu)
Summary: snmpstats module needs a proper OID

Initial Comment:
The snmpstats module has an experimental OID built in.
A proper OID must be obtained from IANA.

The bogus OID is 1,3,6,1,3,6736737
A real one would be in branch: 1,3,6,1,2 under entreprise number.

You must register for a PEN (private entreprise number) from IANA.  Please follow the instruction posted here:
http://www.iana.org/cgi-bin/enterprise.pl


----------------------------------------------------------------------

Comment By: Jeffrey Magder (jmagder)
Date: 2007-02-12 15:59

Message:
Logged In: YES 
user_id=1509908
Originator: NO

I'll take a look at this sometime in the next day or two.  

Note that the .c files containing those ugly arrays of integers
(comprising the OID's) were mostly auto-generated from the SNMPStats MIBs
using the NetSNMP mib2c framework.  

- Jeff



----------------------------------------------------------------------

Comment By: Bogdan (bogdan_iancu)
Date: 2007-02-07 10:42

Message:
Logged In: YES 
user_id=1275325
Originator: NO

maybe the PEN should be defined somewhere in core (config.h) and the
common part of the OIDs in a single file in snmp module.

regards,
bogdan

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2007-02-07 10:26

Message:
Logged In: NO 

Hi!

The OId is hardcoded in the snmp module - IMO this should be defined in a
common place:

darilion at pb94:~/software/openser-cvs/sip-server/modules/snmpstats$ rgrep
6736737 *
mibs/OPENSER-REG-MIB:    ::= { experimental 6736737 }
openserMIBNotifications.c:              1,3,6,1,3,6736737,3,1,3,2,0,1 };
openserMIBNotifications.c:              1,3,6,1,3,6736737,3,1,3,1,2,3,1,0
};
openserMIBNotifications.c:              1,3,6,1,3,6736737,3,1,3,1,2,3,2,0
};
openserMIBNotifications.c:              1,3,6,1,3,6736737,3,1,3,2,0,2 };
openserMIBNotifications.c:              1,3,6,1,3,6736737,3,1,3,1,2,3,1,0
};
openserMIBNotifications.c:              1,3,6,1,3,6736737,3,1,3,1,2,3,3,0
};
openserMIBNotifications.c:              1,3,6,1,3,6736737,3,1,3,2,0,3 };
openserMIBNotifications.c:              1,3,6,1,3,6736737,3,1,3,1,3,2,1, 0
};
openserMIBNotifications.c:              1,3,6,1,3,6736737,3,1,3,1,3,2,5, 0
};
openserMIBNotifications.c:              1,3,6,1,3,6736737,3,1,3,2,0,4 };
openserMIBNotifications.c:              1,3,6,1,3,6736737,3,1,3,1,3,2,1, 0
};
openserMIBNotifications.c:              1,3,6,1,3,6736737,3,1,3,1,3,2,6, 0
};
openserObjects.c:               { 1,3,6,1,3,6736737,3,1,3,1,2,3,1 };
openserObjects.c:               { 1,3,6,1,3,6736737,3,1,3,1,2,3,2 };
openserObjects.c:               { 1,3,6,1,3,6736737,3,1,3,1,2,3,3 };
openserObjects.c:               { 1,3,6,1,3,6736737,3,1,3,1,2,4,1 };
openserObjects.c:               { 1,3,6,1,3,6736737,3,1,3,1,2,4,2 };
openserObjects.c:               { 1,3,6,1,3,6736737,3,1,3,1,2,4,3 };
openserObjects.c:               { 1,3,6,1,3,6736737,3,1,3,1,3,2,1 };
openserObjects.c:               { 1,3,6,1,3,6736737,3,1,3,1,3,2,2 };
openserObjects.c:               { 1,3,6,1,3,6736737,3,1,3,1,3,2,3 };
openserObjects.c:               { 1,3,6,1,3,6736737,3,1,3,1,3,2,4 };
openserObjects.c:               { 1,3,6,1,3,6736737,3,1,3,1,3,2,5 };
openserObjects.c:               { 1,3,6,1,3,6736737,3,1,3,1,3,2,6 };
openserObjects.c:               { 1,3,6,1,3,6736737,3,1,3,1,3,3,1 };
openserObjects.c:               { 1,3,6,1,3,6736737,3,1,3,1,3,4,1 };
openserObjects.c:               { 1,3,6,1,3,6736737,3,1,3,1,3,4,2 };
openserObjects.c:               { 1,3,6,1,3,6736737,3,1,3,1,3,4,3 };
openserSIPCommonObjects.c:              { 1,3,6,1,3,6736737,3,1,1,1,1,1
};
openserSIPCommonObjects.c:              { 1,3,6,1,3,6736737,3,1,1,1,1,2
};
openserSIPCommonObjects.c:              { 1,3,6,1,3,6736737,3,1,1,1,1,4
};
openserSIPCommonObjects.c:              { 1,3,6,1,3,6736737,3,1,1,1,3,1
};
openserSIPCommonObjects.c:              { 1,3,6,1,3,6736737,3,1,1,1,3,2
};
openserSIPCommonObjects.c:              { 1,3,6,1,3,6736737,3,1,1,1,3,3
};
openserSIPCommonObjects.c:              { 1,3,6,1,3,6736737,3,1,1,1,3,4
};
openserSIPCommonObjects.c:              { 1,3,6,1,3,6736737,3,1,1,1,3,5
};
openserSIPCommonObjects.c:              { 1,3,6,1,3,6736737,3,1,1,1,6,1
};
openserSIPCommonObjects.c:              { 1,3,6,1,3,6736737,3,1,1,1,8,1
};
openserSIPCommonObjects.c:              { 1,3,6,1,3,6736737,3,1,1,1,8,2
};
openserSIPCommonObjects.c:              { 1,3,6,1,3,6736737,3,1,1,1,8,3
};
openserSIPContactTable.h:#define openserSIPContactTable_TABLE_OID
1,3,6,1,3,6736737,3,1,2,1,5,7
openserSIPMethodSupportedTable.h:#define
openserSIPMethodSupportedTable_TABLE_OID 1,3,6,1,3,6736737,3,1,1,1,1,7
openserSIPPortTable.h:#define openserSIPPortTable_TABLE_OID
1,3,6,1,3,6736737,3,1,1,1,1,5
openserSIPRegUserLookupTable.h:#define
openserSIPRegUserLookupTable_TABLE_OID 1,3,6,1,3,6736737,3,1,2,1,5,9
openserSIPRegUserTable.h:#define openserSIPRegUserTable_TABLE_OID
1,3,6,1,3,6736737,3,1,2,1,5,6
openserSIPServerObjects.c:              { 1,3,6,1,3,6736737,3,1,2,1,3,1
};
openserSIPServerObjects.c:              { 1,3,6,1,3,6736737,3,1,2,1,3,3
};
openserSIPServerObjects.c:              { 1,3,6,1,3,6736737,3,1,2,1,3,4
};
openserSIPServerObjects.c:              { 1,3,6,1,3,6736737,3,1,2,1,4,1
};
openserSIPServerObjects.c:              { 1,3,6,1,3,6736737,3,1,2,1,5,2
};
openserSIPServerObjects.c:              { 1,3,6,1,3,6736737,3,1,2,1,5,3
};
openserSIPServerObjects.c:              { 1,3,6,1,3,6736737,3,1,2,1,5,4
};
openserSIPServerObjects.c:              { 1,3,6,1,3,6736737,3,1,2,1,5,5
};
openserSIPServerObjects.c:              { 1,3,6,1,3,6736737,3,1,2,1,5,8
};
openserSIPServerObjects.c:              { 1,3,6,1,3,6736737,3,1,2,1,6,1
};
openserSIPServerObjects.c:              { 1,3,6,1,3,6736737,3,1,2,1,6,2
};
openserSIPStatusCodesTable.h:#define openserSIPStatusCodesTable_TABLE_OID
1,3,6,1,3,6736737,3,1,1,1,5,1


----------------------------------------------------------------------

Comment By: Bogdan (bogdan_iancu)
Date: 2007-02-07 09:33

Message:
Logged In: YES 
user_id=1275325
Originator: NO

Hi Ovidiu,

OpenSER already has a PEN - see :
http://www.iana.org/assignments/enterprise-numbers

27483
  OpenSER.ORG
    Bogdan-Andrei Iancu
      bogdan.iancu at voice-system.ro

if something more is needed, just let me know.

regards,
bogdan

----------------------------------------------------------------------

Comment By: Ovidiu Sas (osas)
Date: 2007-02-06 15:39

Message:
Logged In: YES 
user_id=1395524
Originator: YES

After I hit "Submit" I noticed that I screwed up the number :-)

Yup, Bogdan or Daniel should register the openSER OID with IANA and update
the snmpstats module.

----------------------------------------------------------------------

Comment By: Klaus Darilion (klaus_darilion)
Date: 2007-02-06 15:32

Message:
Logged In: YES 
user_id=1318360
Originator: NO

>The bogus OID is 1,3,6,1,3,6736737
>A real one would be in branch: 1,3,6,1,2 under entreprise number.

Is it really 1.3.6.1.2 ?

>From http://www.iana.org/assignments/enterprise-numbers:
Prefix: iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)

I think openser.org should register an OID with IANA. Maybe Bogdan or
Daniel can take care of this?



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1653550&group_id=139143



More information about the Devel mailing list