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 [email protected] > mikrotik.cfg

[192.168.1.1 is mikrotik ip]

时间: 2024-10-12 13:52:23

MRTG Monitoring with ESXi Hosted Guest Return ‘interface is commented * has no ifSpeed property’的相关文章

PatentTips - Emulating a host architecture in guest firmware

BACKGROUND The inventive subject matter relates generally to guest firmware systems, and more particularly to systems and methods for emulating a host architecture in guest firmware. The evolution of computer hardware and software continues at a rapi

nagios监控安装esxi的服务器(宿主机)

首先,该博文大部分内容来自网络,少部分是自己监控过程中遇到的问题.如果有侵权,请联系告知!!! 现在互联网公司,有能力的都是自己研发监控系统,要么就是zabbix或者小米的监控,还都二次开发等等,可能使用nagios的不是那么多.哈哈,做个记录,仅供参考!!! <准备部署使用open-Falcon(小米开源)> 以下内容大部分来自网络: 普通的Dell服务器硬件监控我们可以通过nagios+openmanage来实现,但是vsphere环境中的Esxi主机的硬件监控怎么实现呢? 这里有两种方案

Unity Interface Serialization-Expose Interface field In Inspector

Unity has some quirks about their inspector, so as a preface they are listed here: If you add a [Serializable] attribute to a class, Unity's Inspector will attempt to show all public fields inside that class. Any class extending Monobehaviour automat

Delegate协议的使用,对按钮的处理,对return按键的处理,程序流程

main.h #import <UIKit/UIKit.h> #import "AppDelegate.h" int main(int argc, char * argv[]) {     //app的启动流程     //1.一个iOS程序的启动,在main函数开始     @autoreleasepool {                  //应用程序的启动函数  作用:1,启动一个时间循环,确保程序一直在执行 2.创建一个应用程序对象,3.指定一个代理人,去响应程

【IOS】@interface和 @property 方式声明变量的区别

在IOS编程中,很多人没有理解实例变量与属性的区别,我根据自己的经验,这这里与大家分享下这里面的区别,下面我写一个简单的例子: .h @interface MyController :UIViewController { UILabel *_myLabel;//这里是实例变量声明 } @property (nonatomic, retain) UILabel*myLabel;//这里是你的属性声明 @end .m @implementation MyController @synthesize

centos 安装mrtg流量监控

1.安装net-snmp #yum install net-snmp net-snmp-utils -y#snmpwalk -v 1 -c public localhostIP-MIB::ipAdEntIfIndexCreated directory: /var/lib/net-snmp/mib_indexesTimeout: No Response from localhost现在是提取不到数据的,我们需要对/etc/snmp/snmpd.conf 进行一些修改# vim /etc/snmp/

nagios监控ESXi硬件

普通的服务器硬件监控我们可以通过nagios+openmanage来实现,但是vsphere环境中的Esxi主机的硬件监控怎么实现呢? 这里有两种方案: 1.通过nagios插件check_esx来实现,这种方式需要安装vmware vsphere sdk for perl工具包 2.通过nagios插件check_esxi_hardware.py来实现,此插件使用python写的. 感人感觉第二种方式比较简单些,python在linux天生内置,还需要更多理由吗? 先看看官网介绍: http:

OC中的@interface和java中的区别以及 @implementation @protocol

java 在java中的interface是‘接口’的意思,而java的类声明用class,即接口用interface声明,类是用class声明,是两个独立的部分. 只有在类声明要实现某个接口时,他们两者才建立了关系,例如: [html] view plaincopyprint? interface AI{ void print(); }; class AC{ }; 这时候,AI和AC是独立存在,AC不会因为没有和AI建立关系而编译错误,将AC做以下修改后,AI才和AC建立了关系,AC必须实现A

【转】 IOS,objective_C中用@interface和 @property 方式声明变量的区别

原文: http://blog.csdn.net/ganlijianstyle/article/details/7924446 1.在  @interface :NSObject{} 的括号中,当然NSObject 是指一个父类,可以是其他的. 形式如下: @interface GCTurnBasedMatchHelper : NSObject {     BOOL gameCenterAvailable;     BOOL userAuthenticated; } 2.另外一种是直接在 @in