FreeBSD 8.1上的net-snmp抓不到訊息 - BBS
By Dora
at 2010-10-09T11:08
at 2010-10-09T11:08
Table of Contents
我在freebsd8.1上裝net-snmp-5.5_3
vi /etc/rc.conf 加入snmpd_enable="YES"
/usr/local/etc/rc.d/snmpd start
snmpwalk -v2c -c public localhost
SNMPv2-MIB::sysDescr.0 = STRING: FreeBSD chababa.homeip.net 8.1-STABLE
FreeBSD 8.1-STABLE #1: Sat Aug 28 23:59:23 CST 2010
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::org
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (33580) 0:05:35.80
SNMPv2-MIB::sysContact.0 = STRING: Me <[email protected]>
SNMPv2-MIB::sysLocation.0 = STRING: Sitting on the Dock of the Bay
SNMPv2-MIB::sysServices.0 = INTEGER: 72
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (10) 0:00:00.10
SNMPv2-MIB::sysORID.1 = OID: SNMP-MPD-MIB::snmpMPDMIBObjects.3.1.1
SNMPv2-MIB::sysORID.2 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORID.3 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.4 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.5 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.6 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.7 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.8 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB for Message Processing and
Dispatching.
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB for Message Processing and
Dispatching.
SNMPv2-MIB::sysORDescr.3 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing TCP
implementations
SNMPv2-MIB::sysORDescr.6 = STRING: The MIB module for managing IP and ICMP
implementations
SNMPv2-MIB::sysORDescr.7 = STRING: The MIB module for managing UDP
implementations
SNMPv2-MIB::sysORDescr.8 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (4) 0:00:00.04
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (6) 0:00:00.06
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (8) 0:00:00.08
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (9) 0:00:00.09
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (10) 0:00:00.10
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (350288) 0:58:22.88
HOST-RESOURCES-MIB::hrSystemDate.0 = STRING: 2010-10-9,11:3:51.0,-8:0
HOST-RESOURCES-MIB::hrSystemInitialLoadDevice.0 = INTEGER: 1536
HOST-RESOURCES-MIB::hrSystemInitialLoadParameters.0 = STRING: "ask Dave"
HOST-RESOURCES-MIB::hrSystemNumUsers.0 = Gauge32: 1
HOST-RESOURCES-MIB::hrSystemProcesses.0 = Gauge32: 124
HOST-RESOURCES-MIB::hrSystemMaxProcesses.0 = INTEGER: 2980
HOST-RESOURCES-MIB::hrSystemMaxProcesses.0 = No more variables left in this
MIB View (It is past the end of the MIB tree)
完全找不到跟網卡有關的東西
cfgmaker public@localhost > mrtg.cfg 想當然有跑不出網卡資料
有人知道為什麼嗎??
之前bsd6.2上裝都順順的 今天這樣我自己也嚇一跳@@
--
vi /etc/rc.conf 加入snmpd_enable="YES"
/usr/local/etc/rc.d/snmpd start
snmpwalk -v2c -c public localhost
SNMPv2-MIB::sysDescr.0 = STRING: FreeBSD chababa.homeip.net 8.1-STABLE
FreeBSD 8.1-STABLE #1: Sat Aug 28 23:59:23 CST 2010
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::org
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (33580) 0:05:35.80
SNMPv2-MIB::sysContact.0 = STRING: Me <[email protected]>
SNMPv2-MIB::sysLocation.0 = STRING: Sitting on the Dock of the Bay
SNMPv2-MIB::sysServices.0 = INTEGER: 72
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (10) 0:00:00.10
SNMPv2-MIB::sysORID.1 = OID: SNMP-MPD-MIB::snmpMPDMIBObjects.3.1.1
SNMPv2-MIB::sysORID.2 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORID.3 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.4 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.5 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.6 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.7 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.8 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB for Message Processing and
Dispatching.
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB for Message Processing and
Dispatching.
SNMPv2-MIB::sysORDescr.3 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing TCP
implementations
SNMPv2-MIB::sysORDescr.6 = STRING: The MIB module for managing IP and ICMP
implementations
SNMPv2-MIB::sysORDescr.7 = STRING: The MIB module for managing UDP
implementations
SNMPv2-MIB::sysORDescr.8 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (4) 0:00:00.04
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (6) 0:00:00.06
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (8) 0:00:00.08
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (9) 0:00:00.09
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (10) 0:00:00.10
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (350288) 0:58:22.88
HOST-RESOURCES-MIB::hrSystemDate.0 = STRING: 2010-10-9,11:3:51.0,-8:0
HOST-RESOURCES-MIB::hrSystemInitialLoadDevice.0 = INTEGER: 1536
HOST-RESOURCES-MIB::hrSystemInitialLoadParameters.0 = STRING: "ask Dave"
HOST-RESOURCES-MIB::hrSystemNumUsers.0 = Gauge32: 1
HOST-RESOURCES-MIB::hrSystemProcesses.0 = Gauge32: 124
HOST-RESOURCES-MIB::hrSystemMaxProcesses.0 = INTEGER: 2980
HOST-RESOURCES-MIB::hrSystemMaxProcesses.0 = No more variables left in this
MIB View (It is past the end of the MIB tree)
完全找不到跟網卡有關的東西
cfgmaker public@localhost > mrtg.cfg 想當然有跑不出網卡資料
有人知道為什麼嗎??
之前bsd6.2上裝都順順的 今天這樣我自己也嚇一跳@@
--
Tags:
BBS
All Comments
Related Posts
gmirror無法完全移除
By Edwina
at 2010-09-28T00:12
at 2010-09-28T00:12
gmirror無法完全移除
By Edwina
at 2010-09-27T23:32
at 2010-09-27T23:32
Samba4 on Freebsd 8.1
By Xanthe
at 2010-09-27T03:53
at 2010-09-27T03:53
FreeBSD 8.1 on VirtualBox 3.2.8, ins …
By Jack
at 2010-09-26T22:59
at 2010-09-26T22:59
Samba4 on Freebsd 8.1
By Brianna
at 2010-09-26T15:17
at 2010-09-26T15:17