Are you looking to use NMAP within your app? Or looking to monitor your Mendix apps with NMAP?
I am looking to use NMAP with my app
You can create a java action which utilizes this library:
Once you have the java action created you should be able to use NMAP in your Mendix app.