Are you sure that community is correct and IP is in the list of allowed (e.g. NAT, multiple interfaces)?
Can you please provide dump of snmp traffic between netxms and the switch? Output of "tcpdump -i INTERFACE -n -vv udp port 161 and host SWITCH_IP" should be sufficient.