zoukankan      html  css  js  c++  java
  • MRTG Monitoring with ESXi Hosted Guest Return ‘interface is commented * has no ifSpeed property’

    MRTG Monitoring with ESXi Hosted Guest Return ‘interface is commented * has no ifSpeed property’

    Recently at a network, I migrated the mikrotik base RB configuration to esxi base VM guest. Everything went fine, this Mikrotik have snmp configured, and it is monitored via linux base MRTG for various probes. after migration, mrtg graph for itnerfaces stopped with following (when i re run the cfgmaker)

    ### The following interface is commented out because:
    ### * has no ifSpeed property

    After playing with the itnerfaces & mrtg values, I found two solutions

    Solution # 1

    Network adapter need to be “E1000″ rather then  “flexible”.  Then SNMP will see the ifspeed correctly.
    To make changes, its recommended to turn off the guest.

    Solution # 2

    Assign this speed in bits-per-second to all interfaces which return 0 for ifSpeed and ifHighSpeed

    Create the cfg file with following syntax “–zero-speed=100000000 ”

     cfgmaker -zero-speed=100000000 snmp_community@192.168.1.1 > mikrotik.cfg

    [192.168.1.1 is mikrotik ip]

  • 相关阅读:
    Java RandomAccessFile与MappedByteBuffer
    Apache httpClient
    gitolite migration to bitbucket
    logback身份证脱敏
    身份证号码-正则表达式
    webservice-整理
    Java高编译低运行错误(ConcurrentHashMap.keySet)
    IIS(互联网信息服务)
    ASP.NET MVC:UrlHelper.cs
    TortoiseSVN 和 VisualSVN
  • 原文地址:https://www.cnblogs.com/diyunpeng/p/5937189.html
Copyright © 2011-2022 走看看