Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SNMP: OID to use when writing custom MIBs

Tags:

snmp

If you are writing your own MIB for a bespoke application, is there a 'best practice' for which branch you should use. I'm thinking of something analogous to private IP addresses, that can be used within enterprises, without conflicting with Registered IP addresses

I have been asked to make a suggestion, as I advised Application Developers that they should not use OIDs under .1.3.6.1.4.1.111 - This is the Oracle branch

like image 361
user329633 Avatar asked Apr 30 '10 11:04

user329633


1 Answers

For documentation purposes, you may use Enterprise Number 32473 (per RFC 5612). However, to my knowledge, there is no Enterprise Number allocated for purely private use, in the same way that the RFC 1918 IP address space was allocated. I read one argument in favor of this practice to prevent someone from implementing a private OID numbering for a tool that is then subject to use outside of their network, thus causing conflicts.

Instead, anyone who wishes to implement or use this number space should apply for their own Enterprise Number. There is no fee associated with it, and it usually only takes a few weeks to process. Simply submit your application request to IANA, and they'll allocate a number to you. Of course, before making that request, verify whether you or your company already have a number assigned. If so, then you should be good to go. You are free to utilize the branches underneath your Enterprise Number however you wish, so you have a virtually limitless space to work with.

like image 129
Christopher Cashell Avatar answered Oct 04 '22 01:10

Christopher Cashell