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:
https://github.com/narkisr/nmap4j
Once you have the java action created you should be able to use NMAP in your Mendix app.
Regards
Simon