TECHZEN Zenoss User Community ARCHIVE  

Custom Maintenance Windows

Subject: Custom Maintenance Windows
Author: [Not Specified]
Posted: 2016-09-19 09:00

Using v4.2.4 and when going into a device class > Details > Administration >Maintenance Windows and either create a new entry or edit an existing one, there are default options for the "Repeat" field: Never, Daily, Every Weekday, Weekly, Monthly and First Sunday of the month.

Is it possible to add more options to that dropdown For example, Im being asked to add the following maintenance windows:

1st Tuesday of the month @ 1am

2nd Tuesday of the month @ 1am

4th Tuesday of the month @ 1am

Open to any suggestions and whether v5 will allow for greater flexibility with the maintenance windows.

Thanks.



Subject: You would need to patch it in
Author: Jay Stanley
Posted: 2016-09-19 09:58

You would need to patch it in at this time. Out of curiosity, what other window types would you add



Subject: You can do that now with
Author: Jay Stanley
Posted: 2016-09-19 13:41

You can do that now with 'Monthly: Day of the Week'.. if you are using an old rps, it might not be there.



Subject: use the REST calls
Author: [Not Specified]
Posted: 2016-09-19 17:15

I had to implement a thing where the operations desk could set up a maintenance window on the fly when they were doing scheduled reboots after backups (which dont always take the same amount of time so the implementaion time of the maintenance window varied). So I ended up writing a few scripts that use the REST API to set up one time only maintenance windows for a period of time the ops desk specified. You could do the same thing and set it up to run in Crontab.

You want the REST calls "manage_addMaintenanceWindow" and "maintenanceWindows/$MWNAME/manage_editMaintenanceWindow"



Subject: Make sure you delete old
Author: Jay Stanley
Posted: 2016-10-14 10:32

Make sure you delete old maintenance windows. Once you get to a certain number, zenactiond will start to process them slower



< Previous
LDAP over SSL config in Core 5?
  Next
Email alert when threshold drops back to normal
>