It is possible to disable and enable monitors around scheduled maintenance windows, but this is a configuration setting and is not handled via scripting. Could you elaborate on the use case you'd like supported and the reasons for wanting to use a script to disable/enable monitors?
Enabling/Disabling monitors is part of a much longer process we go through when updating certain servers.
We want to automate each part of this process as much as possible.
Rather than opening IE, logging into IPmonitor, and disabling/enabling the monitors, we’d rather have a simple bat file with this functionality.
A Monitor can be enabled or disabled (but not suspended) via the ipMonitor SOAP interface. You would simply set the following tag to false in the Monitor's XML:
Then POST it using the MonitorEdit Method. More on this is found here:
Please note that assistance with writing such scripts is not provided by the Solarwinds Support department.