Inventory management
In Inventory Management, you can create and manage maintenance windows for your entities. You can schedule a maintenance window for a specific entity or a collection of entities. You might want to set up a maintenance window, for example, to perform configuration changes or reboot an entity.
Maintenance windows help you define a schedule for when to perform potentially disruptive actions on your entities, such as patching an operating system or installing software updates. Each maintenance window has a name, a schedule, a duration, and a set of targeted entities. You can also add tags to help you identify and sort your windows and entities.
When you create a maintenance window, you can define the notifications you receive during the duration. For example, you might want to notify your team when a maintenance window starts and then again when it ends. Use the Actions page when scheduling your maintenance window to set up these notifications.
For more information about setting up notifications, see Setting up maintenance window rules and triggers and Working with triggers.
To get started scheduling maintenance windows, see Scheduling maintenance windows
Opening Inventory management
You can manage maintenance windows from the following location:
- The Zenoss Cloud header is visible on all tabs. In the header, click ADMIN, then Inventory Management.
Note
Your account must be assigned the Manager role to create and manage maintenance windows.
To create new maintenance windows and view current ones, click MAINTENANCE WINDOW. To view completed maintenance windows, click HISTORY.
You can also create maintenance windows for entities in Inventory:
- In the header, click INVENTORY, and create a query. Select the entities to include for maintenance, then click Actions options, and select Add maintenance window.
You can view details for in-progress maintenance windows in SmartView and Dashboards. When a maintenance window is started, the in-progress icon appears in the Zenoss Cloud header.
- To open Inventory Management in SmartView or Dashboards, hover your mouse over the icon to display the details about the maintenance window, then click the arrow to view the window details in Inventory Management.
Tour of Inventory Management
Inventory Management opens with the MAINTENANCE WINDOW tab selected so you can view your in-progress, scheduled, on-demand, and completed maintenance windows in the timeline and table.
The timeline and table work together to provide you with a full picture of your maintenance schedule.
Click the History tab to view the completed maintenance windows. Click History details (eye icon) to view the details for a specific maintenance window.
Maintenance window timeline
The maintenance window timeline provides an interactive visual snapshot of this week's maintenance windows, similar to a calendar of appointments.
Note
The timeline panel shows up to three maintenance windows per day. To see the full list of maintenance windows, click Full screen.
Windows are displayed by day and time, and are color-coded by status:
-
Completed (green): This maintenance is completed. To view the details of completed maintenance windows, click the History tab.
-
In progress (orange): This scheduled maintenance is occurring now.
-
Scheduled (teal): This maintenance is scheduled to occur, but isn't occurring now.
-
On demand (blue): This maintenance isn't part of a recurring schedule.
To quickly view information about a maintenance window in the timeline, hover over the maintenance window "appointment". You can view the duration and the start and end times. If you need to quickly take action, click the More actions menu and select an option, such as starting or ending the maintenance window, skipping a run, or other actions.
To view the further details, click the maintenance window "appointment." The table automatically filters to show you the information for the selected window. To remove the filters and return to the full table view, click Settings and then click Restore defaults.
If you want to see all the maintenance windows scheduled, click the Full screen button to expand the timeline and view all your maintenance windows for the day, week or month.
Use the calendar navigation to scroll forward or back to view completed maintenance windows and future maintenance windows. When finished, click the close (X) button to return to the main view.
Maintenance window table
The table presents maintenance windows in rows and columns, and the columns can be reordered, resized, or removed. For a closer look at individual maintenance windows, click Maintenance window details (eye icon) in the Actions column for the row. In the details panel that opens, you can view more information. In addition, you can start or end the maintenance window and other actions.
Within the table, you can perform several actions to help you manage your maintenance window information.
Hide or reorder columns
You can change how the properties appear in the table. To make changes, click Settings (gear icon), and then click Adjust columns in the menu. In the ADJUST COLUMNS dialog box that opens, you can select or clear the available columns, and change the order of the columns in the table.
To revert back to the initial layout, click Settings and then click Restore defaults.
Filter by column
If you have a lot of maintenance windows to view, you can filter them by column.
To filter the windows in the table, enter filter text in the column header. For example, if you want to view just those maintenance windows currently in progress, click in the Status column and select In progress.
To remove filters from all columns, click Settings, then click Clear filters.
Sort rows
If you have a lot of windows to view, you can use the additional sorting options in the column. Click the menu next to the column name and do any of the following actions:
-
Sort the rows in ascending or descending alphabetical order, or clear any previously applied sort options.
-
Autosize the specified column or all the columns in the table, or choose to autosize all the column contents, but not the header.
Add annotations
You can add notes to maintenance windows that are currently in progress. This is useful if you want to record the reason for ending a maintenance window early or changing the duration. When you click Add annotation, the Add Maintenance Window Annotation dialog box opens where you can enter a plain text message to associate with the selected maintenance window.
You can add a note from several locations within Inventory Management:
-
In the table on the Maintenance Window tab, navigate to the row of the in-progress maintenance window that you want to annotate. Click the Add annotation button in the toolbar to open the Add Maintenance Window Annotation dialog box where you can enter a plain text message to associate with the selected maintenance window.
-
In the Maintenance window timeline, navigate to the in-progress maintenance window "appointment" on the timeline and click the More actions (vertical ellipse) icon. Select Add annotation.
-
In the table on the Maintenance Window tab, navigate to the row of the in-progress maintenance window, and click the More actions (vertical ellipse) menu. Select Add annotation.
-
In the table on the Maintenance Window tab, open the details panel for the in-progress maintenance window that you want to end. Click the Add annotation button to open the Add Maintenance Window Annotation dialog box. Alternatively, click ADD ANNOTATION at the bottom of the details panel to open a text box.
Refresh timeline and table
You can refresh the information in the timeline and table automatically or on demand.
-
Refresh now: Click to refresh the timeline and table now.
-
Refresh options: Set a refresh interval. When you click Refresh options, the Maintenance Window Auto Refresh box opens. You can activate the auto refresh option and enter a refresh interval. Options include 1, 3, 5, and 10 minutes.
Viewing details for a maintenance window
To view the details of an entry in the table in Inventory Management, select the Maintenance window details (eye icon) in the Actions column.
You can perform actions on the maintenance window depending on the current status of the window. For example, you can end the run for a maintenance window that is currently in progress or change its duration. You can also start the run for an on demand maintenance window. See Running maintenance windows.
Viewing details for in-progress maintenance windows
If you are in other Zenoss Cloud features, including Dashboards and SmartView, you can view details for maintenance windows that are currently in progress. When a maintenance window is started, the in-progress icon appears in the Zenoss Cloud header.
Hover your mouse over the icon to display the details about the maintenance window. To further inspect the maintenance window, click the arrow icon to view the window details in Inventory Management.
Note
This arrow icon is only visible if you have applicable permissions. Your account must be assigned the Manager role to open Inventory Management.
Scheduling maintenance windows
You can schedule a maintenance window for specific entities within a specified time window. This feature is useful when you want to plan maintenance within your system and make your teams aware of these maintenance windows. In addition, you can configure the production state to automatically update to "Maintenance" state while the window is active. This is useful to mute event notifications for the affected entities.
Note
When you open the ADD MAINTENANCE WINDOW dialog box, a panel of scheduled maintenance windows appears on the right side. As you enter criteria for your maintenance window, this panel displays any scheduled maintenance windows that overlap with the criteria you provide, if any. You can't create a maintenance window if both the criteria and the schedule are the same as any existing windows.
Create a maintenance window
You can create a new maintenance window in Inventory Management and in Inventory. You must be assigned the Manager role to create a maintenance window.
-
If you haven't already done so, do one of the following:
-
Open ADMIN > Inventory Management. In the upper-right corner of the Inventory Management page, click ADD MAINTENANCE WINDOW.
-
Open INVENTORY and open a saved template or create a query. Select one or more entities and click the Actions Options in the toolbar, then select Add maintenance window.
-
-
The ADD MAINTENANCE WINDOW dialog box opens. Be sure the Maintenance Window info option is selected in the left panel.
-
Set the Enable option to activate the maintenance window or deactivate it. This option is enabled by default.
-
In the General information section, specify the maintenance window.
-
In the Name field, enter a name for this maintenance window configuration. Maintenance window names can't be changed after the ADD MAINTENANCE WINDOW dialog box is saved.
-
(Optional) In the Description field, enter text to describe the maintenance window configuration.
-
In the Entity criteria field, leave the option set to Add in-line criteria so you can define the scope of entities to include in this maintenance window.
-
-
In the Add in-line criteria section, create a query to identify specific entities or groups of entities for your maintenance window.
To learn more about building your query, see Criteria builder.
-
Define your maintenance window. In the Schedule time section, specify the following scheduling requirements:
-
Determine if you want to schedule the maintenance window or run it on demand as needed. Select one:
-
Schedule: Select this option to schedule a maintenance window or set of maintenance windows to run at a specific time. For example, you might want to run your maintenance window every week at 2:00 AM in the New York timezone.
-
On demand: Select this option to create only one specific maintenance window. You can run your maintenance window as needed, including immediately after saving. For on demand windows, you only need to specify the Duration and if you want the window to Start now.
-
-
If you selected Schedule, then enter your date and time requirements:
-
Start: Select the start date and time of the scheduled maintenance window. This field uses a 24-hour clock. For example, to enter a start time of 5:30 PM, select 17:30 in the dropdown menu.
-
Time zone: Select the time zone.
-
All day: Schedule the maintenance window for 24 hours to begin at 12:00 AM (midnight) on the specified start date. If you turn on this setting, you don't need to set the start time or duration.
-
-
Specify the duration of the maintenance window. In the Duration field, enter how long the maintenance window is active in hours or minutes. The minimum duration is 10 minutes.
-
Determine if you want the maintenance window to repeat or not. In the Recurrence field, specify:
-
Do not repeat: The maintenance window runs only once.
-
Repeat every...: Set a recurrence of a specified number of days, weeks, months, or years. For example, if you want your maintenance window to run every two weeks, enter 2 in the value field and Week in the unit field.
-
Day: This maintenance window recurs every indicated number of days at the time specified in the Start field. For example, if you set a recurrence of 2 days, the maintenance window will run every other day.
-
Week: This maintenance window recurs every indicated number of weeks, starting on the day and time specified in the Start field, then every indicated week from that day. For example, if you specify a Sunday as the start date with a recurrence of 1 week. the maintenance window will run every Sunday.
-
Month: This maintenance window recurs every indicated number of months, starting on the day and time specified in the Start field, then every scheduled month on the same day and time. For example, if you specify the 7th of the month as the start date with a recurrence of 2 months, the maintenance window will run on the 7th of every other month.
-
Year: This maintenance window recurs every indicated number of years, starting on the day and time specified in the Start field, then every scheduled year on that same date and time. For example, if you specify May 30th, 2024 as the start date with a recurrence of 1 year, the maintenance window will run on every subsequent May 30th.
-
Note
Recurrences don't expire. If you want to discontinue your maintenance window schedule, even temporarily, you can deactivate it in the details panel. Alternatively, you can select Edit in the Actions column to deactivate it.
-
-
If you selected On demand, specify if you want to start the window now.
-
If you want to run the maintenance window when saving this window, select the Start now check box.
-
If you want to save this maintenance window without starting it now, clear the Start now check box.
-
-
-
In Actions, determine how to update the production state of the entity.
-
(Optional) In Tags, add one or more terms to associate with the maintenance window. Tags are useful when sorting windows in Inventory Management. For example, you can search or sort by a "Daily" tag to find all your maintenance windows that run daily.
-
(Optional) Click the Actions page to set up a maintenance trigger to notify you or your team when the maintenance window starts or ends. You can also set up a maintenance trigger later.
-
Click SAVE.
Setting up maintenance window rules and triggers
When you create your maintenance window, you can also create a maintenance rule to notify you when the maintenance window starts or ends. This feature is useful when you want to notify your teams that an entity or group of entities is in maintenance for a period of time. To get started, click Actions in the ADD MAINTENANCE WINDOW dialog box to display a draft maintenance rule associated with your maintenance window.
-
First, create the new trigger definition. The trigger criteria automatically includes the name of your maintenance window and any tags you added.
-
Next, select the state of the maintenance window to trigger notifications, such as on-start. Alternatively, you can select a pre-existing trigger.
-
Finally, determine the destination to send notifications and then save the rule. When conditions match your maintenance trigger in the rule, the actions service sends a message to the destination specified in the rule.
For example, you might want to notify your team in Slack when a set of Linux devices goes into maintenance. You can set the trigger criteria and the rule such that when your specified maintenance window with a tag of "Linux" begins a maintenance routine, members in your Slack destination are notified.
Note
You can also add maintenance triggers in Actions.
Add a maintenance rule and trigger
The following steps guide you through adding details for the maintenance rule and trigger, including specifying trigger criteria, selecting a destination, and saving the rule. The trigger is sent when the conditions are met in the criteria.
Note
You must be assigned the Manager role to create a rule or trigger.
Perform the following steps:
This task assumes you are in the ADD MAINTENANCE WINDOW dialog box.
-
After entering the criteria for your window, click ACTIONS to create the maintenance rule.
-
Click CREATE RULE. The rule form opens with some of the field pre-filled.
-
As a best practice, first create the trigger. In the Create a new trigger section, enter the following:
-
Go to the Create new trigger section, and enter the following trigger details:
Field Description Trigger name A unique, short identifier for the trigger (required).
The name can't be changed after you select SAVE.
Description (Optional) Enter text to describe the trigger. Type In the dropdown list, Maintenance is already selected. You can't edit this field.
Tags (Optional) Add one or more terms to associate with the trigger. -
The Trigger criteria is pre-filled with the criteria you entered in the Maintenance window info page. Verify the simple clauses containing the name of your maintenance window and any tags you added.
-
In Maintenance window state, select the appropriate maintenance state criteria in the dropdown menu. You can choose:
-
Any: The notification is triggered at the start or at the end of the maintenance window.
-
On start: The notification is triggered at the start of the maintenance window.
-
On end: The notification is triggered at the end of the maintenance window.
-
-
Click SAVE.
-
-
Specify the general conditions for the rule:
Field Description Enable Turn on if you want to activate the rule. Turn off to deactivate the rule. The default is active. Rule name Enter a unique, short identifier for the rule. This is a required field.
The name of a rule can't be changed after you save it.
Description Enter text to describe the rule. Repeat notification Decide whether to repeat the action of sending notifications each time a trigger matches. The default is not to repeat notifications.
When this option is enabled, interval fields open so you can specify a repeat interval. The interval is used to suppress notifications for matching triggers until the interval elapses. To ensure that notifications for all matching triggers are sent, set the amount of time to zero.
- Repeat interval — Enter the amount of time for the interval.
- Interval type — Enter the unit of time for the interval in Seconds, Minutes, or Hours.
Send updates Decide whether to send notifications when the conditions that previously matched a trigger change significantly. For example, when an event is closed, acknowledged, or changes severity. The default is not to send updates.
-
If you created a new trigger in Step 3, then the Triggers field now shows the trigger you just created. Alternatively, you can pick a pre-existing trigger in the Triggers dropdown menu.
-
Determine the destination for sending notifications. You can select a destination in the menu or create a new one.
-
Enter the text to send to destinations. You can include one or more templates in the text. Slack and Webhook destinations receive the customized message defined in a rule, while email destinations receive the message defined in the Subject and Message body fields of a destination.
-
In Tags, enter one or more terms to associate with the rule.
-
Click SAVE. You can now see your rule saved to the maintenance window.
-
You can add more rules or, if finished, click SAVE. The maintenance window and trigger are saved.
Editing a maintenance window
You can edit an existing maintenance window to change its details or criteria.
-
To edit, click Edit (pencil icon) in the row containing the maintenance window that you want to change. The EDIT MAINTENANCE WINDOW dialog box opens. After making your changes, click SAVE.
Deleting a maintenance window
You can delete an existing maintenance window.
- To delete a maintenance window, click Delete (trashcan icon) in the row containing the maintenance window that you want to remove. A dialog box opens asking you to confirm your deletion. Click YES.
Running maintenance windows
You can start a maintenance window on demand, end its run early, or change its duration while it's in progress. You can also skip the next scheduled run. These tools are useful when you need to make quick adjustments to the schedule of a maintenance window.
Start a maintenance window
You can run a maintenance window from several locations in Zenoss, including several within Inventory Management :
-
In the Maintenance window timeline, navigate to the maintenance window "appointment" on the timeline and click the More actions (vertical ellipse) icon. Select Start now.
-
In the table on the Maintenance Window tab, navigate to the row of the maintenance window that you want to run, and click the More actions (vertical ellipse) menu. Select Start now.
-
In the table on the Maintenance Window tab, open the details panel for the maintenance window that you want to start. Click START NOW.
End a maintenance window
You can end maintenance window that is currently in progress from several locations within Inventory Management:
-
In the Maintenance window timeline, navigate to the in progress maintenance window "appointment" on the timeline and click the More actions (vertical ellipse) icon. Select End maintenance window.
-
In the table on the Maintenance Window tab, navigate to the row of the in progress maintenance window that you want to end, and click the More actions (vertical ellipse) menu. Select End maintenance window.
-
In the table on the Maintenance Window tab, open the details panel for the in-progress maintenance window that you want to end. Click End maintenance window.
Change duration
You might need to shorten or extend the duration of a maintenance window that is already in progress. When you select to change the duration, a dialog box opens:
You can select to change the duration of an in-progress maintenance window from several locations:
-
In the Maintenance window timeline, navigate to an in-progress maintenance window "appointment" on the timeline and click the More actions (vertical ellipse) icon. Select Change duration.
-
In the table on the Maintenance Window tab, navigate to the row of the in-progress maintenance window that you want to run, and click the More actions (vertical ellipse) menu. Select Change duration.
-
In the table on the Maintenance Window tab, open the details panel for the maintenance window that you want to start. Click the Change duration button.
When you click Change duration, the CHANGE MAINTENANCE WINDOW DURATION dialog box opens. Adjust the duration and click SAVE.
Skip a maintenance window
You might need to skip a maintenance window. For example, a scheduled maintenance window might fall on a high-volume day, so you want to skip maintenance that week. When you select to skip a run, a confirmation box appears:
You can select to skip running a maintenance window from several locations:
-
In the Maintenance window timeline, navigate to the maintenance window "appointment" on the timeline and click the More actions (vertical ellipse) icon. Select Skip run.
-
In the table on the Maintenance Window tab, navigate to the row of the maintenance window that you want to skip, and click the More actions (vertical ellipse) menu. Select Skip run.
-
In the table on the Maintenance Window tab, open the details panel for the maintenance window that you want to skip. Click the Skip run button.
When click Skip run, a confirmation box opens. Click YES, SKIP THIS MAINTENANCE RUN.
View maintenance windows history
The HISTORY tab on the Inventory Management page displays the log of completed maintenance windows in a table. The default time range is the past 24 hours, but you can change it to any range within your data retention period.
The HISTORY table is a read-only table, but you can perform a few tasks to help you audit or troubleshoot issues:
- To view the details of an entry, select the Maintenance window details (eye icon) in the Actions column. In the panel that opens, you can view the activity log, creation history, and the schedule. You can also add an annotation.
- To filter history rows, enter a search term at the top of a column.
- To configure the rows per page and navigate the pages, use the page buttons in the bottom-right side of the page.
- To download the history in HTML, CSV, Excel, or JSON format, click the Export table button in the toolbar. You can export up to 1,000 rows of your History table.