Already a NinjaOne customer? Log in to view more guides and the latest updates.

Policy Condition Configuration

Topic

This article describes how to create and edit conditions in your NinjaOne policies.

Health Status Enhancements are in a limited release phase. They are fully available in all regions except for EU and US. We will continue to announce region-by-region availability as the rollout progresses.

Environment

NinjaOne Endpoint Management

Description

You can create conditions that trigger when the device's integrity or performance meets the specified criteria. When triggered, conditions can automatically alert technicians, display on NinjaOne dashboards, create support tickets, and run automations.

Get Started: Conditions (NinjaOne Inc. 01:24)

Index

Select a topic to learn more:

Create New Conditions

To create your conditions, either from scratch or using a template, follow these steps.

  1. In NinjaOne, navigate to AdministrationPolicies and select a policy to update.
  2. On the policy's configuration page, select the Conditions tab, then click +Add condition. Optionally, you can click Use template to add one of our preconfigured condition templates. If you select Use template, the condition will appear on the Conditions page, where you can edit or delete it. Most condition templates do not include additional settings, such as notifications, automations, or ticketing rules, so we recommend following all steps in this article to learn how to add them to a template.
policy_add condition.png
  1. Select the condition you want to create. For more information about Compound conditions, refer to NinjaOne Policies: Getting Started With Compound Conditions.
  2. The Add condition dialog will open with the Condition* section open by default. The configuration fields will vary based on the selected condition. For a complete list of all available conditions, refer to NinjaOne Policies: Condition Types Breakdown.
  3. Click Settings in the sidebar menu. Refer to the following table for a description of each setting.
OptionDescription
Condition nameGive the condition an optional descriptive name.
Auto-reset after time periodSpecify the amount of time to elapse before the condition automatically resets.
Auto-reset when no longer metSpecify how long the system should wait before resetting the condition and clearing the alert from the device.
Device health impactAssign a custom health status to the condition. If the condition triggers, you can view and sort your devices according to this custom health status, making it easier to gain visibility into the extent of the issue.
Channel(s)If you selected Send notifications from the Notify Technicians drop-down menu, you can select through which channels the technicians receive the notification. Refer to the Notification Channels article for more information.
Notify TechniciansSelect this option to notify all technicians in your organization when the condition occurs. NinjaOne sends condition alerts in UTC +0 format by default. You cannot change this setting. The local device timestamp will still appear in the Activities feed.
Ticketing RuleCreate a ticket from the triggered condition. Ticketing options may vary or be unavailable if PSA or NinjaOne Ticketing is not activated in your system configuration.
AutomationClick Add to create an automation that will run when the condition is triggered. For more information, refer to the Add an Automation (Optional) section within this article.
SeverityDetermine severity to describe the extent to which a defect can affect the system.
PriorityDetermine a priority to define the order in which to resolve defects, whether something should be fixed immediately or at a later time.
  1. Click Automations in the sidebar menu. If the condition triggers, you can add an automation to install or run an application. Click Add automation and select an automation to add to your condition. 
  2. Click Notifications in the sidebar menu. Refer to the following table for a description of each setting.
OptionDescription
SeverityDetermine severity to describe the extent to which a defect can affect the system.
PriorityDetermine a priority to define the order in which to resolve defects, whether something should be fixed immediately or at a later time.
Ticketing RuleCreate a ticket from the triggered condition
Notification ChannelsSelect the channels through which the technicians receive notifications.
Notify technicians via SMS/EmailSelect this option to notify all technicians in your organization when the condition occurs. NinjaOne sends condition alerts in UTC +0 format by default.

Create a Ticket (Optional)

If you configured a PSA integration or NinjaOne Ticketing, you can choose to create a ticket when the specified condition is triggered.

If you are creating a ticket for the NinjaOne Ticketing feature, the Ticketing rule drop-down menu prompts you to select a form configured at Administration Apps Ticketing Templates → Condition rule.

After you have 10 open tickets for the same condition and device, NinjaOne prevents the creation of additional tickets and updates the most recent ticket with a private message detailing the issue. To resume ticket creation, users must delete at least one existing ticket.

Additional Resources

To learn more about working with policies and conditions, refer to the following articles:

FAQ

Next Steps