Ubuntu installation snmp reported Unlinked OID in IPATM-IPMC-MIB: marsMIB ::={ mib-2 57} error, Unlinked marsMIB

Source: Internet
Author: User
Tags snmp

Ubuntu installation snmp reported Unlinked OID in IPATM-IPMC-MIB: marsMIB ::={ mib-2 57} error, Unlinked marsMIB

First run the following script (script from: http://www.th7.cn/system/lin/201304/38800.shtml)

#! /Bin/bash
For I in/usr/share/mibs/ietf/IPSEC-SPD-MIB/usr/share/mibs/ietf/IPATM-IPMC-MIB \
/Usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB/usr/share/mibs/ietf/SNMPv2-PDU
Do
Mv $ I/usr/share/mibs
Done

 

Solve this problem and there will be another problem.

snmpwalk -v 2c -c public localhostPrompt when hrMemory runs this command UCD-SNMP-MIB::ssCpuIdle.0 = No more variables left in this MIB View(It is past the end of the MIB tree)

As shown above, the CPU idle rate cannot be obtained (Note: 1.3.6.1.4.1.2021.11.11.0 is the oid of the host CPU idle rate ). At this time, to obtain some important information about the host, modify the default configuration of snmp.

Configuration method: Modify the/etc/snmp/snmpd. conf file.

# Vim/etc/snmp/snmpd. conf

Add: view systemview extended. 1 (modify the following information)

TIPS: view: defines which node devices can be viewed. By default, you can only view the device information under nodes 1.3.6.1.2.1.1 and 1.3.6.1.2.1.25.1.1. The CPU, memory, and other devices of the host are not on these nodes, so you cannot obtain the data. View systemview supported ded. 1 indicates that all devices under Node. 1 can be viewed.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.