zoukankan      html  css  js  c++  java
  • (原创)monitor Dell Powerconnec 6224 with cacti

         使用cacti监控DELL Powerconnect 6224,可以直接使用http://docs.cacti.net/usertemplate:host:dell:powerconnect:62xx#screenshots提供的模板,在这里不进行提供完整的cacti配置过程,只提供几个关键点。

      1.Powerconnect 6224的snmp配置

       console#show snmp

       console#configure

       console(config)#snmp-server community public ro ipaddress 192.168.10.247          (这里的192.168.10.247为cacti服务器地址)

      console(config)#snmp-server contact virtualnet

      console(config)#snmp-server location DELL_6224

      到此,交换机上的配置已经完全,然后在cacti服务器上进行测试

      snmpwalk -On -c public -v 2c 10.10.10.2        (这里的10.10.10.2为交换机地址,如果snmp正常的话,应该能看到很多信息)

      2.按照http://docs.cacti.net/usertemplate:host:dell:powerconnect:62xx#screenshots提供的操作进行

         a. Unpack the zip file and import into cacti

         b. Put the 62xx_cpu.pl into the <cacti directory>/scripts/

      在这里添加一步添加权限的操作

      chown -r apache:apache 62xx_cpu.pl

      就可以了,后面的unix ping latency不用添加,另外注意如果是把62xx_cpu.zip先下载到windows再传到linux服务器的话,要注意用dos2unix进行转换一下,最好就是直接在linux下用wget下载。

      3.如果内存使用的图表不正常的话,可以考虑把里面的value last改为overage

      方法是:Graph Management->dell_6224 - Memory Usage->右上角的"Edit Graph Template"->Item#4->Consolidation Function改为"average"

      4.最重要的一个点,就是关于监控6224交换机每个端口的流量配置

      这个其实就是使用cacti自己带的模板来进行的。

      a.要创建一个graph来监控端口。Console->Create New Graphs.在“HOST”里选择要添加graphs的设备,然后选中要进行监控的端口,并选择“In/Out bits with total bandwidth”然后创建。如下图操作

      

      b.添加graph到graph tree,Console->Graph Management.Host选择交换机,然后选择刚刚配置的端口,然后Choose an action:为Place on a tree。操作如下:
      

    到这里就已经完成了,下面是效果。

  • 相关阅读:
    Swift -- Swfit 笔记
    web -- CSS 图片宽高不固定的垂直居中方法
    web -- Angularjs 笔记2
    web -- Angularjs 笔记
    web -- Angularjs 备忘录应用
    Swift -- swift 函数代码
    Swift -- 创建空数组和空字典
    Linux -- FresBSD的镜像文件说明
    Linux -- ubuntu下安装程序的三种方法
    Linux -- Ubuntu 命令2
  • 原文地址:https://www.cnblogs.com/virtualnet/p/3510796.html
Copyright © 2011-2022 走看看