Chapter 7. Configuring notifications for inventory events
The Inventory service triggers four types of events:
- Validation error
- New system registered
- System deleted
- System became stale
Validation error events trigger when data in a payload from insights-client is not valid (corrupted data, incorrect values, or other issues). The validation process follows these steps:
-
insights-clientruns on the system and generates a payload. -
insights-clientuploads the payload to the Hybrid Cloud Console. - The Hybrid Cloud Console receives the payload and validates it. The validation event triggers at this step. A validation error means that the payload cannot be processed, and that the console and Red Hat Lightspeed services cannot use its data.
The New system registered and System deleted events trigger when you register a new system in inventory, or when a system is removed from inventory (either manually or when it becomes stale and Red Hat Lightspeed automatically removes it).
System became stale events occur when a system changes state from active to inactive (stale). The Hybrid Cloud Console and Red Hat Lightspeed scan for system staleness every hour, and trigger staleness events for inactive systems. By default, Red Hat Lightspeed marks a system as stale if it remains inactive for 1 day. If the system remains inactive for 14 days, Red Hat Lightspeed marks the system as stale warning and schedules it for deletion.
A system can become stale due to inactivity, a lack of updates, disconnection, or decommissioning without proper retirement processes. This event indicates potential system maintenance issues.
For more information about system staleness and deletion, see Systems lifecycle in the inventory application.
To receive Notifications emails, users must subscribe to email notifications in their user preferences. Users may choose to receive each email notification individually, or they may subscribe to a daily digest email. For more information, see Configuring user preferences for email notifications.
Additional resources
7.1. Setting up organization notifications for inventory events Copy linkLink copied to clipboard!
Prerequisites
- You are logged in to the Red Hat Hybrid Cloud Console as a Notifications Administrator.
Procedure
- Navigate to Settings > Notifications > Configure Events.
- In the Configuration tab, select the Service filter.
- Click Filter by service, and then select Inventory from the drop-down list. The inventory events appear in the list of events.
- Select the event type you want to configure (for example, New system registered).
- To configure the event type, click the Edit (pencil) icon at the far right of the event type. A drop-down list displays with the list of available behavior groups configured in your organization.
- Select the checkboxes next to the behavior groups you want to configure for the Inventory event type.
- When you have finished selecting behavior groups, click the checkmark next to the list of behavior groups to save your selections.
Additional resources
For more information about behavior groups, refer to Configuring notifications on the Red Hat Hybrid Cloud Console with FedRAMP.
7.2. Setting up user email notifications for inventory events Copy linkLink copied to clipboard!
Make sure to configure email preferences for each user to receive email notifications. For more information about how to set up user preferences, refer to Configuring user preferences for email notifications.
Prerequisites
- You are a member of a user group that receives email notifications as part of a behavior group.
- The behavior group is configured to trigger email notifications for your systems and to send those notifications to the user group to which you belong.
Procedure
- Navigate to Settings > Notifications > Notification Preferences.
- Select Inventory from the list of services. The list of available notifications for Inventory displays.
- Click the checkbox next to each type of notification you want to receive, or click Select All to receive all notifications for all Inventory events.
- Click Save.
Configuring instant notifications might result in a large volume of email messages.