×
×
×
×

Sensors

Overview

Sensors in DEX Manager Plus allow IT administrators to define and collect custom device metrics that go beyond standard performance indicators. These script-based data collectors enable organizations to capture real-time, environment-specific data—such as registry values, hardware compatibility, event information, and application-specific details (antivirus status, and so on)—to enhance visibility and drive automated decision-making.

Sensors are highly flexible and can be used to power workflows, generate reports, and surface meaningful insights tailored to your unique endpoint environment.

Why Use Sensors?

BenefitDescription
Custom IntelligenceMonitor any system state that matters to your organization and gain visibility
Data-Driven AutomationUse sensor outputs as dynamic triggers in workflows.
Flexible ReportingTrack and export custom data via dashboards and reports.
Scalable ManagementDeploy sensors across device groups with centralized control.
Tip
Sensors are especially useful in hybrid and enterprise environments where standard metrics don’t capture all critical device or compliance indicators.

Accessing the Sensors Module

Navigate to Sensors from the left-hand pane of the DEX tab. The main view lists all created sensors with their names, types, and usage status. Use the Create Sensor button to create new ones.

Navigate to DEX Sensors

Generating Sensors Using Ask Zia

DEX Manager Plus integrates Ask Zia directly within the Sensors module so administrators can describe monitoring requirements in natural language and generate sensor content faster.

Ask Zia helps reduce manual scripting effort by preparing the sensor fields and initial script structure directly inside the Add Sensor flow.

Steps to Generate a Sensor Using Ask Zia

  1. Navigate to DEX > Sensors.

  2. Click the Ask Zia button available next to Create Sensor or within the Create Sensor view.

    Ask Zia opened from the Sensors page
  3. Enter your requirement in natural language or choose one of the suggested prompts.

  4. Ask Zia generates the sensor content directly in the Create Sensor flow.

    Generated sensor content inside the Add Sensor flow
  5. Review the generated fields and script, make any required changes, and save the sensor.

Note

Ask Zia must be enabled before use. To enable Zia, navigate to Admin > Zia Configuration. For more details, refer to the Ask Zia configuration guide.

Creating a Sensor

Click on the Create Sensor button and choose Create New from the dropdown.

Create Sensor dropdown with Create New

Step 1: Define Sensor Details

  • Sensor Name: Enter a unique, descriptive name.
  • Description (optional): Summarize the sensor’s purpose or logic.
Define sensor details

Step 2: Declare Fields

Use Add Field to define input/output variables. These fields act as data carriers between the sensor and the script. You can define field type (string, number, and so on) and optionally flag fields as PII for compliance.

Add Field dialog in Sensors
Note
Field names (variables) are auto-populated inside the script editor.

Step 3: Write the Script

Use the built-in Script Writer to compose your PowerShell or Shell script. When a sensor targets both Windows and Mac devices, the Script Writer lets you configure each platform separately. Fields defined above are available as variables. The script must output structured values that match the declared fields.

Windows

Windows script writer in Sensors

Mac

Mac script writer in Sensors
Tip
Keep scripts efficient and avoid making device state changes.

Optional Script Arguments

Custom sensors support an optional Script Argument field that lets you pass runtime values to your script without modifying it. Arguments are provided as a space-separated string (for example: Wednesday 06:00 Custom true), and can be accessed within the script by position or by name, depending on how the script is written. When a sensor targets both Windows and Mac, each platform can have its own Script Argument value to accommodate platform-specific argument handling.

Windows

Windows script arguments in Sensors

Mac

Mac script arguments in Sensors

Step 4: Set Run History Retention

Define how many execution records should be stored per deployment execution. Minimum: 1, Maximum: 5. This helps track trends over time and enables post-event analysis.

Step 5: Save

Click Save to add the sensor to your repository. The sensor is now available to deploy for data collection on targeted endpoints.

Adding Sensor from Extensions

Sensors can be added from Extensions, which provide ready-made sensors designed to address common IT and endpoint management use cases. These pre-built solutions help you quickly monitor and manage specific use cases without having to create sensors from scratch.

Click on the Create Sensor button and select Choose from Extension from the dropdown.

Choose From Extension in Sensors

Available sensors will be listed. Select the sensor that matches your use case and add it to your environment.

Create Sensor from Extension library

Deploying a Sensor

A saved sensor collects data only after it is deployed to devices. You can deploy a sensor from two places, and both create the same deployment:

  • From the sensor’s own Deployment tab — convenient when you are already working on that sensor.
  • From the Deployments module — convenient when you are setting up several deployments together.

Sensors support Immediate and Schedule deployment modes. For full details on deployment, targeting, and monitoring, see Deployments.

Deploy from the Sensor’s Deployment Tab

  1. Open the sensor, then select the Deployment tab.
  2. Click Create Deployment.
  3. Enter a Deployment Name and an optional description.
  4. Select one or more Custom Groups to define the scope. Use the include / exclude options for finer targeting.
  5. Set the Deployment Mode to Immediate or Schedule. If you choose Schedule, set the frequency, active period, and run time.
  6. Click Deploy.
Note
A sensor runs only on devices whose OS platform matches the sensor. The Deployment tab also lists every existing deployment of this sensor, with its mode, status, and remarks.

Deploy from the Deployments Module

Set the Type to Sensor when creating the deployment. For the full procedure, see Creating a Deployment.

Example Use Cases
Use CaseDescription
Network StrengthMonitor endpoint connectivity quality in remote setups and trigger alerts if poor (for example, Wi-Fi signal strength, speed).
Windows 11 ReadinessCheck TPM version, OS build, and hardware specs to assess upgrade compatibility.
POS Hardware CheckEnsure barcode scanners and printers are connected to retail systems.
Inactive Local UsersDetect dormant local accounts for cleanup and compliance.
Software ChecksTrack specific software versions, editions, and usage, and flag outdated or unlicensed installations.

Best Practices

PracticeWhy It Helps
Use descriptive sensor namesImproves discoverability and reduces misconfiguration
Flag sensitive fields as PIIEnsures privacy and regulatory compliance
Test a sensor on a small group firstPrevents execution failures or device impact
Avoid overlap with built-in metricsFocus sensors on what’s unique to your environment
Reuse sensors in multiple workflowsPromotes modular, scalable automation