MIB not suppoted, how can i add it?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-25-2019 08:02 PM
Hi all,
i'm working on an app that uses SNMP for topology discovery.
one of the devices on my network is an SLX9140 running SLX-OS 17r.1.01a , and it does not support the following OIDs that are needed
PTOPO-MIB (ietf rfc2922) 1.3.6.1.2.1.79
ipRouteTable (ietf rfc1213) 1.3.6.1.2.1.4.21
my question is
is it possible to add support for non default MIBs, if yes how to do it ?
Thanks.
i'm working on an app that uses SNMP for topology discovery.
one of the devices on my network is an SLX9140 running SLX-OS 17r.1.01a , and it does not support the following OIDs that are needed
PTOPO-MIB (ietf rfc2922) 1.3.6.1.2.1.79
ipRouteTable (ietf rfc1213) 1.3.6.1.2.1.4.21
my question is
is it possible to add support for non default MIBs, if yes how to do it ?
Thanks.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎07-11-2019 02:23 AM
What app are you using? is it XMC?
Almost all SNMP systems allow you to add MIBs, but many MIBs have multiple dependencies, so you will need to install all the MIBs that your MIB is dependent on. So check the IMPORTS section of the MIB and ensure that you either have all the MIBs there or that they are already somewhere in your path.
As you don't specify in your post what system you are using I will use Net-SNMP as an example. there are some MIB directories that are there by default.
$HOME/.snmp/mibs
/usr/share/mibs/netsnmp
/usr/share/mibs/iana
/usr/share/mibs/ietf
/usr/share/mibs/site
Thus your custom (third-party) MIBs should be placed in either $HOME/.snmp/mibs or a directory that you then specify on the command line with -M or -m.
Almost all SNMP systems allow you to add MIBs, but many MIBs have multiple dependencies, so you will need to install all the MIBs that your MIB is dependent on. So check the IMPORTS section of the MIB and ensure that you either have all the MIBs there or that they are already somewhere in your path.
As you don't specify in your post what system you are using I will use Net-SNMP as an example. there are some MIB directories that are there by default.
$HOME/.snmp/mibs
/usr/share/mibs/netsnmp
/usr/share/mibs/iana
/usr/share/mibs/ietf
/usr/share/mibs/site
Thus your custom (third-party) MIBs should be placed in either $HOME/.snmp/mibs or a directory that you then specify on the command line with -M or -m.
