Hi,
I'm afraid no easy solution here. You can run separate agent process use PING subagent - but you can not specify source IP in agent configuration, so you'll have to limit this agent process somehow to see only one interface. Other (probably easier) solution is to create script that will ping targets from correct interface and use it as external parameter or external parameters provider in NetXMS agent.
Best regards,
Victor