I wrote this for an acquisition migration, and wanted to share with the community. I found the SDK documentation somewhat incomplete, or inconsistent with what was needed for each element. These are good examples for ping, and snmp V2 node import, interfaces, and volumes, assuming that you know the SNMP indexes for interfaces and volumes. This also has custom property config for all three element types. This does not use the SDK discovery feature, however I plan to use that at some point in a future version.
I'm using this with NPM 10.7 / SDK 1.9.