DataDog-无法读取所有SNMP指标

问题描述

我正在使用datadog-agent代理7.21.1。目前,我正在从Nimble存储设备中收集SNMP数据。我已经将mib文件转换为Python格式,并且能够使用SNMP GET检索指标。

在/etc/datadog-agent/snmp.d/conf.yaml中,我设置了以下内容(某些值已被检查):

export default class App extends React.Component{

  componentDidMount() {
    var db = firebase.firestore();
    var docRef = db.collection("users");
    
    let getDoc = docRef.doc('Tiago').get().then(doc => {
      console.log('Document data:',doc.data())
      setState({ height: doc.data().height });
    });
  }

  render(){
    return (
      <View style={styles.container}>
       <Text>{this.state.height}</Text>
      </View>
    );
  }
}

DataDog检索所有度量,直到最后一个“ volIoReads”。使用cli工具,我可以使用OID读取值:

init_config:
  mibs_folder: /<Path>/<To>/<MIB>/File>/

instances:
  - 
  ip_address: "<IP-SNMP-Target>"
  community_string: public
  snmp_version: 2
  timeout: 5
  retries: 5
  discovery_interval: 3600
  enforce_mib_constraints: true
  bulk_threshold: 0

metrics:
 
- MIB: <MY-MIB>
  table: volTable
  symbols:
    - volSizeLow
    - volSizeHigh
    - volUsageLow
    - volUsageHigh
    - volOnline
    - volNumConnections
    - volStatTimeEpochSeconds
    - volIoReads # <<<-- NOT WORKING

在snmp conf中使用OID也不起作用:

# braa -2 public@<IP-SNMP-Target>:161:.1.3.6.1.4.1.37447.1.2.1.13.*
<IP-SNMP-Target>:.0:11365291640
<IP-SNMP-Target>:.1:22486499766
<IP-SNMP-Target>:.2:4435524487
<IP-SNMP-Target>:.3:43064038474

也尝试过

- OID: 1.3.6.1.4.1.37447.1.2.1.13
  name: volIoReads

但是没有运气。

有人知道发生了什么事吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...