NetXMS Support Forum

English Support => General Support => Topic started by: Amin on October 29, 2017, 11:22:32 AM

Title: snmp v3 not working after upgrade to netxms 2.1.2
Post by: Amin on October 29, 2017, 11:22:32 AM
snmp v3 not working after upgrade to netxms 2.1.2
Title: Re: snmp v3 not working after upgrade to netxms 2.1.2
Post by: Amin on October 29, 2017, 12:11:55 PM
old version was 2.0.8 , a snmp v3 was working.
Title: Re: snmp v3 not working after upgrade to netxms 2.1.2
Post by: Amin on October 29, 2017, 01:00:37 PM
this is result of polling:
**** Poll request sent to server ****
Poll request accepted
Starting configuration poll for node ROR8_RMSs
Checking node's capabilities...
    Checking NetXMS agent...
    Checking SNMP...
Capability check finished
Checking interface configuration...
Unable to get interface list from node
Interface configuration check finished
Checking node name
Node name is OK
Finished configuration poll for node ROR8_RMSs
Node configuration was not changed after poll
**** Poll completed successfully ****
Title: Re: snmp v3 not working after upgrade to netxms 2.1.2
Post by: Amin on October 30, 2017, 06:59:57 PM
I make new database with init sql file, and I check with this clean database, problem is same.
Title: Re: snmp v3 not working after upgrade to netxms 2.1.2
Post by: Amin on November 02, 2017, 06:15:36 AM
This is Netxms Debug level 9:
------------------------------------
[DEBUG] ConfPoll(ROR8_RMS): calling SnmpCheckCommSettings()
[DEBUG] SnmpCheckCommSettings(x.x.x.77): starting check (proxy=0, originalPort=161)
[DEBUG] ConfigReadStr: (cached) name=SNMPPorts value="161"
[DEBUG] SnmpCheckCommSettings(x.x.x.77): checking port 161
[DEBUG] SnmpCheckV3CommSettings(x.x.x.77): trying admin1/1:0
[DEBUG] Database Connection Pool: handle 0x80501e520 acquired (call from snmp.cpp:184)
[DEBUG] Successful sync query: "SELECT user_name,auth_method,priv_method,auth_password,priv_password FROM usm_credentials" [0 ms]
[DEBUG] Database Connection Pool: handle 0x80501e520 released
[DEBUG] SnmpCheckV3CommSettings(x.x.x.77): failed
[DEBUG] Database Connection Pool: handle 0x8050ce720 acquired (call from snmp.cpp:322)
[DEBUG] Successful sync query: "SELECT community FROM snmp_communities" [0 ms]
[DEBUG] Database Connection Pool: handle 0x8050ce720 released
----------------------------------------------------------------------------



and this is tcpdump:
-----------------------------
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vlan2, link-type EN10MB (Ethernet), capture size 262144 bytes
IP x.x.x.29.40290 > x.x.x.77.161:  F=r U= E=  C= GetRequest(11)
IP x.x.x.29.40290 > x.x.x.77.161:  F=ar U=admin1 E= 0x800x000x540xF50x040x450x740x680x650x720x540x650x6B0x430x690x720x630x750x690x740x730x280x430x290x320x300x300x39 C= GetRequest(56)  .1.3.6.1.2.1.1.2.0 .1.3.6.1.2.1.1.1.0 .1.3.6.1.4.1.35160.1.1.0
IP x.x.x.29.40290 > x.x.x.77.161:  GetRequest(56)  .1.3.6.1.2.1.1.2.0 .1.3.6.1.2.1.1.1.0 .1.3.6.1.4.1.35160.1.1.0
IP x.x.x.29.40290 > x.x.x.77.161:  GetRequest(56)  .1.3.6.1.2.1.1.2.0 .1.3.6.1.2.1.1.1.0 .1.3.6.1.4.1.35160.1.1.0
IP x.x.x.29.40290 > x.x.x.77.161:  GetRequest(56)  .1.3.6.1.2.1.1.2.0 .1.3.6.1.2.1.1.1.0 .1.3.6.1.4.1.35160.1.1.0
IP x.x.x.29.40290 > x.x.x.77.161:  GetRequest(56)  .1.3.6.1.2.1.1.2.0 .1.3.6.1.2.1.1.1.0 .1.3.6.1.4.1.35160.1.1.0
IP x.x.x.29.40290 > x.x.x.77.161:  GetRequest(56)  .1.3.6.1.2.1.1.2.0 .1.3.6.1.2.1.1.1.0 .1.3.6.1.4.1.35160.1.1.0
IP x.x.x.29.40290 > x.x.x.77.161:  GetRequest(56)  .1.3.6.1.2.1.1.2.0 .1.3.6.1.2.1.1.1.0 .1.3.6.1.4.1.35160.1.1.0
IP x.x.x.29 > x.x.x.77: ICMP echo request, id 20560, seq 256, length 26
IP x.x.x.29.50664 > x.x.x.77.161:  F=r U= E=  C= GetRequest(11)
IP x.x.x.29.50664 > x.x.x.77.161:  F=ar U=admin1 E= 0x800x000x540xF50x040x450x740x680x650x720x540x650x6B0x430x690x720x630x750x690x740x730x280x430x290x320x300x300x39 C= GetRequest(25)  .1.3.6.1.2.1.1.3.0
Title: Re: snmp v3 not working after upgrade to netxms 2.1.2
Post by: Amin on November 02, 2017, 06:17:32 AM
Already I installed to another Freebsd 11, it is same problem,
this is a bug, please fix it.

so I reinstalled v2.0.8  , it is working now.
Title: Re: snmp v3 not working after upgrade to netxms 2.1.2
Post by: Victor Kirhenshtein on November 02, 2017, 10:27:47 AM
Hi,

I see that device is not responding to server's requests. What are authentication and encryption algorithms configured on that device?

Best regards,
Victor
Title: Re: snmp v3 not working after upgrade to netxms 2.1.2
Post by: Amin on November 04, 2017, 10:36:49 AM
it is snmp v3,  have username and password with MD5, there is no encryption.

why old version v2.0.8 is working and new version v2.1.2 isn't working on freeBSD v11??