Skip to content
Website to add PRTG maintenance window for specified set of objects
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ActionType.xml
Default.aspx
Default.aspx.cs
PRTGMaintenanceWindow.ps1
README.md
Web.Debug.config
Web.config
packages.config
prtg.png

README.md

PrtgMaintenanceWindow

Website to add PRTG maintenance window for specified set of objects

Blog post detailing it here: https://faultbucket.ca/2019/01/prtg-api-to-add-maintenance-window/

Manual run of .ps1 can be done like this:

$start = get-date $end = (get-date).AddMinutes(5) .\PrtgMaintenanceWindow.ps1 -MaintStartTime $start -MaintEndTime $end -IncludProdWebServers -IncludeTestWebServers

Many potential improvements are possible here:

  • Find objects to add maintenance window dynamically through API based on Tag
  • Figure out a better method of setting a schedule on the required objects programmatically, so that the maintenance window is effective
You can’t perform that action at this time.