I am trying to add predefined application monitors to an existing node using python scripts
Hi banjola,
you will need a python version of Orion SDK, which is available here:
https://github.com/solarwinds/orionsdk-python
In order to create an application monitor, a SWIS verb needs to be invoked. Here is an example of how to invoke some SWIS verb from python:
https://github.com/solarwinds/orionsdk-python/blob/master/samples/unmanage_node.py
The verb which you need to call is CreateApplication of Orion.APM.Application entity.
In this article: https://thwack.solarwinds.com/docs/DOC-177749
you can find a PowerShell script where you can look-up how to invoke CreateApplication and supply it with arguments. It should be straightforward to express that in python.
Let me know if some more help is needed.
Regards
pawelk