cacti監控添加節點總顯示狀態為Unknown是怎麼回事

火星人 @ 2014-03-04 , reply:0


cacti監控添加節點總顯示狀態為Unknown是怎麼回事


cacti中添加節點后一直顯示狀態為unknown,服務端本機狀態可以監控,但監控遠程的機器時就出現這種情況,服務端未對snmpd.conf配置作改動,被監控伺服器的snmpd.conf配置文件如下:
#       sec.name  source          community
com2sec notConfigUser  default       public
com2sec notConfigUser  127.0.0.1     public
com2sec notConfigUser  192.168.7.41  public    #192.168.7.41為服務端的IP,被監控端機器IP為192.168.2.40
其它配置都是按默認來的

在服務端執行snmpwalk -v 1 192.168.2.40 -c public顯示如下:
SNMPv2-MIB::sysDescr.0 = STRING: Linux lamp.nyl.com 2.6.18-164.el5xen #1 SMP Tue Aug 18 16:06:30 EDT 2009 i686
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (218673) 0:36:26.73
SNMPv2-MIB::sysContact.0 = STRING: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
SNMPv2-MIB::sysName.0 = STRING: lamp.nyl.com
SNMPv2-MIB::sysLocation.0 = STRING: Unknown (edit /etc/snmp/snmpd.conf)
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.5 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORID.6 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.7 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.8 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing UDP implementations
SNMPv2-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: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (1) 0:00:00.01
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (365280833) 42 days, 6:40:08.33
End of MIB

這種情況該作何處理,是因為跨網段引起的么?
《解決方案》

解決了,之前一直想著把unknown解決了再創建視圖的,後來網上查了下,再創建視圖后重建緩存視圖就可以,配置沒問題




[火星人 via ] cacti監控添加節點總顯示狀態為Unknown是怎麼回事已經有365次圍觀

http://www.coctec.com/docs/service/show-post-11893.html