Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to add mib to snmp Server

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Xiaobian to share with you how to increase mib snmp server, I believe most people do not know how, so share this article for everyone's reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!

Add ASA zabbix monitoring encountered snmp does not recognize the problem:

snmp_parse_oid(): cannot parse OID "CISCO-REMOTE-ACCESS-MONITOR-MIB::crasIPSecNumSessions.0".

Download mib from cisco

ftp tool, do not need a username password, download the entire package v2.tar.gz

ftp://ftp.cisco.com/pub/mibs/v2

to zabbix servers.

create a directory

/usr/share/snmp/mibs/cisco

The default is/usr/share/snmp/mibs this directory, but directly put this directory is too messy, it is not good to go back

modify the configuration file

[root@192-168-100-183 cisco]# cat /etc/snmp/snmp.conf

mibdirs /usr/share/snmp/mibs:/usr/share/snmp/mibs/cisco

If you don't have this file, create one. Note that it's not snmpd.conf.

TEST

snmptranslate -On CISCO-REMOTE-ACCESS-MONITOR-MIB::crasIPSecNumSessions.0

You will encounter problems:

Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/cisco/IP-MIB.my)

Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/cisco/EVENT-MIB.my)

Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt)

See serverfault.com/questions/440319/did-not-find-zerodotzero-in-module-snmpv2-smi

Move SNMPv2-SMI.txt from the default directory/usr/share/snmp/mibs to/usr/share/snmp/mibs/cisco/and delete SNMPv2-SMI.my (because it is older than SNMPv2-SMI.txt).

That's all for "snmp server how to add mib," thanks for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report