Copy Application Monitors from one Solarwinds node to another (Python)
The attached Python script copies application monitors from one Solarwinds node to one or more Solarwinds nodes. The script creates new application monitors on the target node(s). If the application monitors on the source node have overridden any template values, those overrides will be copied to the new application monitors.
-S|--server (Optional, default = localhost): The FQDN or IP address of the Solarwinds server. If omitted, defaults to "localhost"
-s|--sourceNodeIP (Required): The IP address of the Solarwinds managed node you want to copy. I've specified that this must be an IP address because my users not infrequently create multiple nodes with the same caption but different IPs for load balancer nodes, cluster members, etc.
-t|--targetNodeName (Required, can specify 1 or more): The FQDN of the node(s) to create. The FQDN must be resolvable by the device where the Python script is running.
--help (Optional): Print help/syntax info
TCP port 17778 open on your Solarwinds server
Copy the application monitors assigned to the managed server with IP address 10.10.10.100 to the managed servers server1, server2, and server3
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community.
More than 150,000 members are here to solve problems, share technology and best practices, and directly
contribute to our product development process.
Learn more today by joining now.