Device Monitoring and Alerting allows you to use predefined rule templates to configure monitoring rules based on your needs from the Rules dashboard. Alerts are generated once the monitoring rules are enabled. You can configure rules using predefined rule templates from the Rules Dashboard.
To create a new rule:
- Login to the JumpCloud Admin portal.
- To view the alerts console, you can do any of the following:
- In the left navigation pane, go to Insights > Alerts.
- On the home page, scroll down to the Open Alerts widget and click Go To Alerts Dashboard.
- Click the Alerts (bell) icon on the top navigation bar.
- Click Rules to view the dashboard.
- Click +Rule. This will take you to the Rule Management section with all the predefined rule templates. See Understand Rule Templates for Alerts to learn more about each template.
- Click the Select button on a rule template to view and customize the details.
- Provide Rule Details:
- Rule Name: Enter a clear and concise name for your rule.
- Description: Document the purpose of the rule in the description field.
- The Monitor Frequency field indicates how quickly the rule will generate an alert after the event occurs. This can range from real-time to a delay of up to XX minutes, depending on the specific rule.
- The Category field indicates whether the rule applies to Devices (end-user devices events) or Directory (JumpCloud Directory events). This helps categorize and organize your rules based on their scope.
- In the Conditions section, define the specific conditions that will trigger an alert. These conditions determine when the rule will activate, ensuring you only receive alerts for relevant scenarios.
- Use the Priority dropdown to assign a priority level to the rule. This helps prioritize alerts and manage responses according to the severity of the issue. These options are available:
- Low - Select this for alerts that are neither urgent nor highly important. They should receive fewer resources and can usually wait until they become more urgent.
- Medium- Select this for alerts that are urgent but less important. They should receive a moderate allocation of resources.
- High - Select this for alerts that are important and require immediate attention. They should receive the most resources to ensure they are addressed promptly.
- Select Device Groups (Optional)
- Click the Device Groups tab (where available) and select the device group that you want to connect to the rule. This ensures the rule is applied to all devices in the Device Group. Jump to Selecting Device Groups to know more.
- Existing Conditions (Optional)
- Use the toggle button to Enable/Disable existing conditions. Jump to Understanding Existing Conditions to know more.
- Click Save.
The Rule Status is set to Enabled by default and will be activated once the rule is saved. You can disable it using the toggle button and re-enable it later from the Rules dashboard.
Understanding Existing Conditions
The predefined rule templates allow you to create specific rules with precise conditions that you would want to monitor. Once the rule is created and saved, an alert is generated every time the specified conditions are met. However, some conditions may have been met prior to the rule's creation.
Existing Conditions provides you the option to generate alerts for any past instances where the specified rule conditions were being met, if the existing conditions prevail while creating the rule.
- Once the rule is activated with Existing Conditions enabled, if the specified conditions are being met, an alert is generated for all existing instances of the specified condition. You will continue to receive alerts for all future instances of failure.
- If this is disabled, alerts will be generated only for the instances that occur after the rule is activated.
This option is currently available for a few specific rules:
- Command Execution Failure
- Policy Application Failure
- Managed Software Installation Failure
- Device Offline Monitoring
Selecting Device Groups
Some of the rules require you to connect the rule to a Device Group. You can check Understand Rule Templates for Alerts to learn more about each rule template.
To connect the rule to a device group while creating the rule:
Click the Device Groups tab and select the device group that you want to connect to the rule. This ensures the rule is applied to all devices in the Device Group. See Create a Device Group to learn more.
System Insights will be enabled automatically on the device groups, as well as new devices added to these groups.
Automatic Targeting of Device Groups for Alerts Related to JumpCloud Agent
Some of the rules allow you to monitor JumpCloud Agent activities. These rules automatically inherit their device group scope from the associated object(s) they monitor.
For these rules, the system identifies the associated objects like Command, Policy, or Software Application. It then determines which device groups are bound to those associated objects. The alert rule applies to those same device groups automatically.
- Changing the associated object(s) device group binding automatically updates the alert rule's scope.
- Regularly review device group assignments of policies, applications, and commands to maintain appropriate alert coverage.