New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


RESTful one-time-maintenance window

Votes:

0

Your Vote:

Up

Down

Hi Is it possible to schedule a one time maintenance windows with the RESTful API? I cannot see any object manipulation command to do this. It not, this would make a nice addition to your wishlist. Thanks, Jon

api maintenance-window rest

Created on Nov 24, 2014 8:30:30 AM by  runnane (0) 1



1 Reply

Votes:

2

Your Vote:

Up

Down

The first thing to do is to manually break the SCHEDULES, DEPENDENCIES, AND MAINTENANCE WINDOW inheritance of the object.

You can now set the maintenance window with following API calls:

SET STARTTIME

/api/setobjectproperty.htm?id=id_of_object&name=maintstart&value=2014-11-24-12-00

SET ENDTIME

/api/setobjectproperty.htm?id=id_of_object&name=maintend&value=2014-11-24-15-00

ENABLE WINDOW

/api/setobjectproperty.htm?id=id_of_object&name=maintenable&value=1

This will set and activate a maintenance window on 2014-11-24 between 12:00 and 15:00 for the given object and its child objects.

Created on Nov 24, 2014 1:05:09 PM by  PRTG Tools Family [prtgtoolsfamily.com] (13,135) 3 4

Last change on Nov 24, 2014 3:34:31 PM by  Torsten Lindner [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.