Hello!
>
> We receive wrong data when doing snmp-get on our equipment.
> The problem
> seems to apply to Integer OID with negative values. See example using
> nxsnmpget and Net-SNMP's snmpget:
> the OID 8 is STRING value and OID 21 is equivalent integer value:
>
> NetXMS:
> ./nxsnmpget -c public -v 2c 10.0.0.1 1.3.6.1.4.1.161.19.3.2.2.8.0
> .1.3.6.1.4.1.161.19.3.2.2.8.0 [04]: -57 dBm
> ./nxsnmpget -c public -v 2c 10.0.0.1 1.3.6.1.4.1.161.19.3.2.2.21.0
> .1.3.6.1.4.1.161.19.3.2.2.21.0 [02]: 198
>
> Net-SNMP
> snmpget -c public -v2c 10.0.0.1 1.3.6.1.4.1.161.19.3.2.2.21.0
> WHISP-SM-MIB::radioDbmInt.0 = INTEGER: -57
> snmpget -c public -v2c 10.0.0.1 1.3.6.1.4.1.161.19.3.2.2.8.0
> WHISP-SM-MIB::radioDbm.0 = STRING: -57 dBm
Yes, there are an error in BER decoding function. I'll fix that and send
you a patch.
>
>
> I have a wireless accesspoint that we want statistics from.
> The data is
> availible in an SNMP table. The challenging thing is that the
> number of
> clients connected is dynamic. How do I configure a DCI collection to
> collect data from a table?
>
> The dump of a table could look like this:
> Client Name / Mac-address / Signal Strength / Noise Ratio
> client 1 / 00:00:00:00:00:a1 / -58 / 0
> client 2 / 00:00:00:00:00:a2 / -64 / 0
> client 3 / 00:00:00:00:00:a3 / -23 / 0
> client 4 / 00:00:00:00:00:a4 / -50 / 0
The only way you can collect table data in DCI is to configure different
DCI for each (possible) table element. For example, if you have table
with base OID .1.2.3.4 and you have instances from 1 to 5, you can
configure five DCIs: from .1.2.3.4.1 to .1.2.3.4.5. If you don't need to
collect a history, but only need to look at a current values, you can
define a table tool which will show you content of an SNMP table.
Unfortunatelly, GUI for defining SNMP tables is not ready yet, so you
have to define such tools directly in SQL database, which may be a
little tricky. If you need object tool definition, send me an OIDs, and
I'll send you all required SQL statements to add it.
Also, do you have any ideas how NetXMS server should collect/handle
table data?
>
>
> Is it possible to to make NetXMS to send a snmpset before
> doing snmpget?
It's not possible at the moment. I will add it to the TODO list.
Best regards,
Victor
421 4.3.0 deliver: couldn't connect to lmtpd
Received on Wed Sep 13 2006 - 18:18:50 EEST
This archive was generated by hypermail 2.2.0 : Wed Sep 13 2006 - 18:21:25 EEST