- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
zabbix2.4.6监控思科交换机各端口流量并作注释 目录一、交换机开启snmp11.配置snmp12.配置各端口描述21)为什么要做描述说明22)配置交换机各端口描述3二、使用zabbix模板自动发现各接口41.复制zabbix自动模板42.修改模板5本例子用的是思科(C2960-LANBASE-M), Version 12.2(46)SE,24口交换机,因为是交换机所以zabbix只能用snmp协议,snmp协议这里不做详解,百度一下一大堆!一、交换机开启snmp1.配置snmptelnet登陆交换机,配置snmp,配置命令如下:Switch#conf tSwitch(config)#snmp-server community hua roSwitch(config)#endSwitch#write //此命令为保存配置注:hua为community团队名,等下zabbix监控要用到,ro为只读的意思,如果要读死操作可以添加如下命令:为安全起见,读写分开,需要用到的时候再添加snmp-server community huaadmin rw2.配置各端口描述1)为什么要做描述说明zabbix默认7/zabbix/templates.php?form=updatetemplateid=10130groupid=0sid=50f0c9c7b56db576Template SNMP Interfaces 用的是基于端口名发现的(即用ifDescrw),然后自动添加,但效果不好,如下图所示:上图只知道交换机的接口,这样出问题都不知道是哪台服务器的,很不人性化!如果我们连所连接的服务器的名字或IP地址显示出来,会不会好些呢!我们要达到如下效果:上图中是基于ifAlias自动添加的效果,这个效果是基于交换机端口描述做的这样就知道这个交换机接口是哪那个IP地址,是不是很人性化,哈哈~~2)配置交换机各端口描述zabbix基于ifAlias发现,需要每一个交换机接口都做描述,否则的话它只会自动添加有端口描述的接口(注:各接口描述要有唯一性,不要有相同!)配置命令如下:conf tinterface f0/1description f0/1 (xxx)exitinterface f0/2description f0/2 (xxx)exitinterface f0/3description f0/3 (xxx)exitinterface f0/4description f0/4 (xxx)exitinterface f0/5description f0/5 (xxx)exitinterface f0/6description f0/6 (xxx))exitinterface f0/7description f0/7 (xxx)exitinterface f0/8description f0/8 (xxx)exitinterface f0/9description f0/9 (xxx)exitinterface f0/10description f0/10 (xxx)exitinterface f0/11description f0/11 (xxx)exitinterface f0/12description f0/12 (xxx)exitinterface f0/13description f0/13 (xxx)exitinterface f0/14description f0/14 (xxx)exitinterface f0/15description f0/15 (xxx)exitinterface f0/16description f0/16 (xxx)exitinterface f0/17description f0/17 (xxx)exitinterface f0/18description f0/18 (xxx)exitinterface f0/19description f0/19 (xxx)exitinterface f0/20description f0/20 (xxx)exitinterface f0/21description f0/21 (xxx)exitinterface f0/22description f0/22 (xxx)exitinterface f0/23description f0/23 (xxx)exitinterface f0/24description f0/24 (xxx)exitinterface g0/1description g0/1 (xxx)exitinterface g0/2description g0/2 (xxx)exitin
文档评论(0)