FreeBSD 8.1上的net-snmp抓不到訊息 - BBS

Dora avatar
By Dora
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上裝都順順的 今天這樣我自己也嚇一跳@@

--
Tags: BBS

All Comments

gmirror無法完全移除

Edwina avatar
By Edwina
at 2010-09-28T00:12
※ 引述《YakumoRan (八雲 藍)》之銘言: : 機器: AMD / GA-M61PME : OS : FreeBSD 7.2 Release : 情況: 原以為刪掉的gmirror在重灌後復活 導致無法開機 : 我手上有兩顆相同的硬碟 在之前作過Gmirror : 後來因為系統很不穩定決定把它 ...

gmirror無法完全移除

Edwina avatar
By Edwina
at 2010-09-27T23:32
機器: AMD / GA-M61PME OS : FreeBSD 7.2 Release 情況: 原以為刪掉的gmirror在重灌後復活 導致無法開機 我手上有兩顆相同的硬碟 在之前作過Gmirror 後來因為系統很不穩定決定把它重灌 於是我只留單獨一顆硬碟 然後用光碟重灌 之後作一些設定 ...

Samba4 on Freebsd 8.1

Xanthe avatar
By Xanthe
at 2010-09-27T03:53
※ 引述《welon (小龍)》之銘言: : Hi 大家好, : 小弟我在 FreeBSD 8.1 從 ports /usr/ports/net/samba4-devel install samba4 : 也在 /etc/rc.conf 放了 samba4_enable=and#34;YESand#34; 但 ...

FreeBSD 8.1 on VirtualBox 3.2.8, ins …

Jack avatar
By Jack
at 2010-09-26T22:59
搞了大半天... 發現我耍笨了 ˊ ˋ VirtualBox從3.2.8 andgt; 3.2.6 andgt; 3.2.4, 再試過好心版友的3.0.4版, 設定檔改來改去 at at~ 結果一直沒改到的就是把設定檔弄成64bit版 = =+ 當初選定BSD系統後, 底下自動填上FreeBSD, ...

Samba4 on Freebsd 8.1

Brianna avatar
By Brianna
at 2010-09-26T15:17
Hi 大家好, 小弟我在 FreeBSD 8.1 從 ports /usr/ports/net/samba4-devel install samba4 也在 /etc/rc.conf 放了 samba4_enable=and#34;YESand#34; 但是沒有看到設定檔, 預設是 /usr/local/et ...