Objective:
Learn how to run your nTop notebook using nTop Automate (ntopcl) in Python scripts.Applies to:
- Automating nTop notebooks for repeatable and intelligent workflows
- Interacting with external software suites and databases
Procedure:
- Prepare the nTop notebook and JSON input for running nTop Automate
- Python dictionary data can be saved as a JSON file using Python’s
jsonmodule - Execute the nTop Automate process using Python’s
subprocessmodule Python Script_JSON.pywill run a Windows process command like"C:/Program Files/nTopology/nTop Platform/nTopCL.exe" -j input.json -o out.json SampleFile.ntop- Check if the return messages are printed as below.

