# Logstash snmp OID

**URL:** <https://discuss.elastic.co/t/logstash-snmp-oid/327677>\
**Category:** Logstash\
**Created:** [March 14, 2023, 2:29pm UTC](https://discuss.elastic.co/t/logstash-snmp-oid/327677 "2023-03-14T14:29:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![San9](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@San9](https://discuss.elastic.co/u/San9)\
**Post date:** [March 14, 2023, 2:29pm UTC](https://discuss.elastic.co/t/logstash-snmp-oid/327677/1 "2023-03-14T14:29:21Z")

</div>

Hi all.  
In logstash, I use the snmp module to poll the OIDs.  
It partially works, I get the required values.  
I have many OIDs and hosts to poll. The problem is that on some of the equipment certain oids do not work or they are not there at all. Because of these oids I have all the data received from the device getting corrupted:

```auto
"_source": {
    "Min.Input_voltage": "null",
    "Max.Input_voltage": "null",
    "Load(A)": "null",
    "Self-diagnosis_result": "null",
    "@version": "1",
    "Battery_life(m)": "null",
    "T_UPS": "null",
    "host": {
      "ip": "х.х.х.х"
    },
    "Input_voltage": "null",
    "Load(%)": "null",
    "@timestamp": "2023-03-14T12:47:15.127105Z",
    "Load(Watt)": "null",
    "S/N": "null",
    "Battery_Last_Replace_Date": "null",
    "Battery_bus_voltage": "null",
    "Battery_capacity(%)": "null",
    "Manufacture_Date": "null",
    "Outgoing_voltage": "null"
  }

```

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/a/4ac7fd845961dd73560ef7217b1757dd8fae28d7.png)

of these all oid are not available/not working only a few (I checked excluding one at a time). once I remove them I have all the data correctly displayed, but other devices are using that oid. How can I solve this problem?  
Deleting or swapping values did not give the desired result.  
Thank you!

---

<div class="post-metadata">

**Author:** ![San9](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@San9](https://discuss.elastic.co/u/San9)\
**Post date:** [March 23, 2023, 8:38am UTC](https://discuss.elastic.co/t/logstash-snmp-oid/327677/2 "2023-03-23T08:38:37Z")

</div>

Hi Team!  
Does anyone have any ideas about this?

---

<div class="post-metadata">

**Author:** ![San9](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@San9](https://discuss.elastic.co/u/San9)\
**Post date:** [April 6, 2023, 12:30pm UTC](https://discuss.elastic.co/t/logstash-snmp-oid/327677/3 "2023-04-06T12:30:20Z")

</div>

hi, any ideas??

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 4, 2023, 12:30pm UTC](https://discuss.elastic.co/t/logstash-snmp-oid/327677/4 "2023-05-04T12:30:24Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
