标签云

微信群

扫码加入我们

WeChat QR Code

I installed SNMP on my Linux in order to monitory load balance, disk space etc.yum install net-snmp net-snmp-utilsvim /etc/snmp/snmpd.conf # added "rocommunitypublic"/etc/init.d/snmpd startWalking the SNMP returns very few entries, no load average, disk space etc.:snmpwalk -v 1 -c public localhostSNMPv2-MIB::sysDescr.0 = STRING: Linux XXX 2.6.35.4-rscloud #8 SMP Mon Sep 20 15:54:33 UTC 2010 x86_64SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (232884) 0:38:48.84SNMPv2-MIB::sysContact.0 = STRING: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)SNMPv2-MIB::sysName.0 = STRING: XXXSNMPv2-MIB::sysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf)SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIBSNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIBSNMPv2-MIB::sysORID.3 = OID: IP-MIB::ipSNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udpMIBSNMPv2-MIB::sysORID.5 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroupSNMPv2-MIB::sysORID.6 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBComplianceSNMPv2-MIB::sysORID.7 = OID: SNMP-MPD-MIB::snmpMPDComplianceSNMPv2-MIB::sysORID.8 = OID: SNMP-USER-BASED-SM-MIB::usmMIBComplianceSNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entitiesSNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for managing TCP implementationsSNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing IP and ICMP implementationsSNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing UDP implementationsSNMPv2-MIB::sysORDescr.5 = STRING: View-based Access Control Model for SNMP.SNMPv2-MIB::sysORDescr.6 = STRING: The SNMP Management Architecture MIB.SNMPv2-MIB::sysORDescr.7 = STRING: The MIB for Message Processing and Dispatching.SNMPv2-MIB::sysORDescr.8 = STRING: The management information definitions for the SNMP User-based Security Model.SNMPv2-MIB::sysORUpTime.1 = Timeticks: (0) 0:00:00.00SNMPv2-MIB::sysORUpTime.2 = Timeticks: (0) 0:00:00.00SNMPv2-MIB::sysORUpTime.3 = Timeticks: (0) 0:00:00.00SNMPv2-MIB::sysORUpTime.4 = Timeticks: (0) 0:00:00.00SNMPv2-MIB::sysORUpTime.5 = Timeticks: (0) 0:00:00.00SNMPv2-MIB::sysORUpTime.6 = Timeticks: (0) 0:00:00.00SNMPv2-MIB::sysORUpTime.7 = Timeticks: (0) 0:00:00.00SNMPv2-MIB::sysORUpTime.8 = Timeticks: (0) 0:00:00.00