Force read SNMP
-
I am trying to force reading multiple SNMP type DataPoints via button in "Data Point Details" window and also via script using RuntimeManager.refreshDataPoint (XID) function.
But in both ways I get a binding error with the equipment and the acquisition of the OID information does not work. I have tried it with SNMP peripherals of different types and it happens to me with all.
Is it not possible to do the immediate acquisition of the datapoint in this way? Do I need to additionally configure anything to use this method?
-
Any idea????
I have been able to see through wireshark captures that the difference between a polling and forcing the reading of the SNMP datapoint is that through the forced reading, Mango does not send the requested oid in the UDP datagram. It's a bug?
-
HI @jcaballeroa
The force read command does a batch poll then only updates that point. Is the point perhaps a Trap point only ?
-
@craigweb said in Force read SNMP:
The force read command does a batch poll then only updates that point. Is the point perhaps a Trap point only ?
Hi @CraigWeb, thanks for your answer.
I have only two options to configure this DataPoint: "Poll and trap" or "Trap only".
My configuration is "Poll and trap" and the force read command not work properly or i am made something bad.
-
You cannot force read Trap only.
There is a
.
in the first char of the OID. Are you sure that is correct? -
Yes, I'm pretty sure it's correct.
In fact, the usual polling of the datasource does work correctly. If I configure it for example every 10 minutes, I get the value without problem. The problem is if I need to force the value at a given moment before those 10 minutes, I have tried to force the reading and that is when it gives the error. The difference between both requests is the capture of the wireshark that I put in a previous post, by means of polling the datasource the oid is included in the datagram, but if I make a forced request the oid does not appear in the datagram.
-
ok, give me a little time I have an snmp modem I can test with, I will see if I can replicate the error.
-
Of course, the time you need. Thank you very much for the feedback.
-
@CraigWeb Do you have any choice?
-
@jcaballeroa I was able to replicate it, there is a bug. Once the bug is fixed it will be announced in the forum.