Hi there
Im trying to figure a way to create either Host or Item prototype from a JSON received from an SNMP discovery. The company doesnt provide a mib file so we receive the value in HEX format but then pass it in a javascript pre processing to looks like that.
So whats would the best way to use the json retreived from the discovery rule to create either items or host? We did similar with HTTP Discovery and passing info to create items but with SNMP it doesnt seems possible cause we always get "Invalid SNMP OID: pairs of macro and OID are expected."
Any help would be more than welcome
Im trying to figure a way to create either Host or Item prototype from a JSON received from an SNMP discovery. The company doesnt provide a mib file so we receive the value in HEX format but then pass it in a javascript pre processing to looks like that.
Code:
{"Rooms": [
{"RoomName": "Room 1", "IP": "x.x.x.x"},
{"RoomName": "Room 2", "IP": "x.x.x.x"},
{"RoomName": "Room 3", "IP": "x.x.x.x"}
]
}
Any help would be more than welcome