《Zabbix应用常见问题和故障解决方法.docx》由会员分享,可在线阅读,更多相关《Zabbix应用常见问题和故障解决方法.docx(17页珍藏版)》请在第壹文秘上搜索。
1、查看zabbix_server.log,提示以下问题cannotsendlistofactivechecksto10.200.4.150:hostWIN-FKL6C0EFHBTnotfound其实在ZabbiXWeb上是有agent主机最新数据的,出现上面的问题是因为Web和agent配置的HOStname对不上,但是agent主机是有配Serverip的,所以也可以请求到数据。处理也比较简单,2边改为一致的,方便记忆的名字,然后重启agent服务就行了:英文版:DOeSnotsupportUsorParametersOrali中文版:SnmP方式采集IinUX数据,只能获取到系统的基本信息,
2、其他却提示NoSuchObjectavailableonthisagentatthisOID解决方法:在目标主机编辑SnmPd.conf文件,加上viewsystemviewincluded.1#意思是允许访问System所有的oid节点信息然后重启servicesnmpdrestartgOupNamesecurItyModelSecuiityNamegroupnotConfigGroupvlnotConfigUsergroupnotConfigGroupv2cnotConfigUser# Third,createaviewforustoletthegrouphaverightsto:# Ma
3、keatleastsnmpwalk-v1Iocalhost-cpublicsystemfastagain.PnoneNnTlucl1subtreemask(optional)viewsystemviewincluded.1viewsystemviewincludedT73.6.1.2.1.1viewsystemviewincluded.1.3.6.1.2.1.25.1.1没开改配置前的SnmPWalk到的信息,只能得到系统常见的几个数据。rootZabbixServersnawalk-v2c-cSNMPv2-MIB:zsysDev2MIB:IsysObjectID.三01D:NEr-SNMP-
4、ICulinuxDisman-EVENT-NIB:syspTMelnstce三ISticks:(33246:8:33.24SHMPv2KIB:sysContact.eSTRING:Root(configure/etc/snap/SnalP.localOnf)SMMPv2.MIB:$ysNae.eSTRING:yktroc2SHMPV2MIB:SySLOCdtion.6STRING:Unknown(editetcnapnpd.conf)SHMPv2MIB:SysORLestChange.TiiBeticks:(4)8:00:00.04SHMPv2-MIB:$y%0RID.lOID:SNMPMPO
5、MIB:z%pMPDMI80bjts.3.1.1SNMPv?.MIB:$y$0RI0.2OID:SNMP-USER-BAStD-SM-MIB:ZUMMIBCaBpUanceSMMPv?-MIB:sy%0RID.3*OID:SNMP-rRAM11K)RK-MI:MBpFraneworkMIBC三pUareSNMPv2-MIB:$yv(ID.4三OID:SNMPv2-MIB:%rwpMIBSNMPv2-MIB:sysORID.5三OID:TCP-MIB:UpHIBSNMPv2-MIB:sysORID.6OID:IP-HIBnipSWMPv2-HIB::5yiORID.7三OID:UDP-MIB:u
6、atching.SWMRv2MIB:sysOWescr.2STRING:TheMlBforHessogeProcessingendDisatching.SNMPv2RIB:sysOKecr.3STRING:TheSNMPHdnagementArchitectureMIB.SHMPV2ZIB:SyS(Xoescr.4STRING:TheMIBnoduleforSMMPV2entitiesSWMfxv2MI8:ry0RDecr.5STRING:TheMIBnoduleforMndgingTCPUBpleeentotionsSxMPV2MIB:SySoW)escr6STRING:TeMIBaodul
7、9forBanegingIPendICMPIBplceientationsSMMPv2MI:ysOROescr.7STRING:TheMlBnoduleforBanagingUDPapleBentdtionsSHMPv2MIB:yO(Oescr.8STRING:Vi.5三Tieeticks:4SNMPv2-MIB:sysOUpTi.6三TiBeticks:(4)z.4SNMPV2HB:SySOwjPTie.7Thwticks:(4)9:06:00,64SNMPv2Kl:ysOWpTie.8Ti*etick:(4)0:66:06,04(K)SI-RtSOURCtS-HI8:hrSytUptie,
8、0Tetic:3day,rOSTSOURCESMl:hr$y$tiUptiie.0sorevariablesletinthisHfView(tispattheendoftheMI6tree!改了之后获取到的系统信息,可以看到已经能获取支持的所有数据了I rootfZabbIxServer -J# SnMpWaIk -v 2c -c . mm SNMPv2-MIB:sysDescr.6 STRING: Linux2.6.32-573.el6.x86_64 tl SMP Wed Jul1 18:23:37 EDT 2015 x86_64SNHPv2-HIB:SysObjectID.O = OID:
9、 NET-SNMPTC:linoxDISMAN-EVENT-MIB:sysUpTieInstace = TiJBetiCk5: (2777 6:06:27,77SNMPv2-MI:$y$Contact.O STRING: Root (configure /etc/snap/snap.I ocal.cof)SNHPv2-HIB:rsysNae.0 STRING: yktrac2SNMPv2MIB:zsysLocation. STRING: Unknown (edit etcnapsmapd.conf)SNMPv2-MlB:SysORLastChange.0 UBeticks: (5) 0:00:
10、00,05SNMPV2MIB:SySoRlD.1 SNMPv2-MIB:syS0RID.2 SNKPv2-Hl:sy$0RID.3 SNMPv2-MIB: :$y$0RW,4 SNMPv2M!B:sy$0R1D.5 SNNPv2MI:sy50RID.6 SNNPv2-MI:$y$0RID.7 SNHPv2MIB:$y$0RI0.8 OID: OID: OID: 01D: OID: OID: OID: 01D:SNMPv2-MIB:SysORDescr.1 STRING: TheSNHPMPDMIB:MwpMfWIlBObjects.3.1.1SNHP.USER-BASEO-SH-M1B: Wl
11、BcalPliMCeSNMP-FRAMEWORK-Mie: ZsmapF reworkMIC(MplianceSNMPV2FI8: : SnmPmBTCP-KlB:tcpH18IP-MIB:ipUDP-HIB:udpMI8SNMP- VIEWBASED-AOIVIB: VXHBOSiCGr(MJPSNMPv2MIB:$ysORDesc r.2 STRING: SNNPv2MI:sysORDesc r,3 STRING: SNNPv2MIB:sysOW)esc r.4 STRING: SNMPv2-MIB:y0RDescr.5 STRING: SNKPV2NIB: ORgMr.6 STRING:
12、The The The Tbe TheMIB for MeSSOge Processing and Dispatching. MI8 for Hes509e Processing and Dispatching. SMMP Kn09cmet Architecture MI8.Ct 1(DSSNNPv2MIB:$yORD$c r.7 STRING: SNMPv2MIB::5y50RDc%c r.8 STRING:SNHPv2-NIB:zy50RUpTx*e.1-SNMPv2-MIB:zy0RUpTie.2 SNMPv2MIB:yORUpT ie.3 SNNPv2MIB:ysORUpT iae.4
13、SNMPv2-MIB:SysORUpTime.5 SNNPv2-MIB:ry0RUpTi*e.6 SNMPv2-NIB:SysORUpTime.7 SNMPv2-MIB:sysORUpTie.8 IF-NIB-ItNiMbef .0 INTEGK: 8 IF-MIB:ifIndex.1 = INTEGER: 1 IhMIBiiUndEx; = INTEGER: 2MIB module MIB (module MIB oduleTheMIB modulefor SMMPV2 entitiesfor managing TCP iaplntat ionsfor *anoging IP end ICMP iaplmentfor *dnaginq UDP iapl*Mtat ionsVivWbsM Acc。*、Control Hodcl for SH