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:
"_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"
}
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!