Ubuntu installation snmp reported UnlinkedOIDinIPATM-IPMC-MIB: marsMIB :::={ mib-257} error first run the following script #! /Bin/bashforiin/usr/share/mibs/ietf/IPSEC-SPD-MIB/usr/share/mibs/ietf/IPATM-IPMC-MIB \/usr/share/mibs/iana/I
Ubuntu installation snmp reports Unlinked OID in IPATM-IPMC-MIB: marsMIB ::={ mib-2 57} Error
First run the following script
#! /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 localhost hrMemory prompt when running 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.
Monitor Linux Server http://www.linuxidc.com/Linux/2015-07/119471.htm with SNMP and Cacti
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-08/122508.htm