<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=7086586&amp;fmt=gif">
Skip to content
Kostenlose Beratung anfordern

Zscaler Internet Access Service Status Monitoring With JumpCloud

This blog page focuses on Zscaler Internet Access(ZIA) service monitoring on the Client device and how to create alerting mechanism to inform Internal Security teams when the ZIA service disabled. The purpose behind this alerting to make sure to have visibility on the endpoint device and help to improve the security posture on the enterprise environments. 

 

Step 1: Enable CLI Access in Zscaler

Before the script will work, you must enable CLI access in your Zscaler App Profiles:

  1. Log in to the Zscaler Client Connector Portal.

  2. Go to App Profiles > Windows (or macOS).

  3. Edit your policy and look for the Command Line Interface Access section.

  4. Enable the Command Line Interface and click Save.
    Bildschirmfoto 2026-02-16 um 16.15.16

Step 2: Create the Check Script in JumpCloud


Create a script that checks the ZIA status. If the status is not "ON," the script will exit with code 1, which JumpCloud will recognize as an alert trigger.

For MacOS and Windows use the following link to find the related command line options to develop the script

- CLI Options for Windows 

- CLI Options for MacOS 

Also an example script for the Windows environment can be found here.

 

Step 3: Configure JumpCloud Monitoring Rule

 

a.) Create the Command:

  • Go to Device Management > Commands.

  • Click (+) and select Command.

  • Paste the script you have created or the example script attached above.

  • Set Type to PowerShell (Windows) or Bash (Mac).

  • Under Launch Events, select Run as Repeating.

  • Set it to repeat every 10 Minutes.

  • Bind it to the relevant Device Groups.

Bildschirmfoto 2026-02-16 um 16.06.42


b.) Create the Alert Rule:

  • Go to Insights > Alerts (or Alerts in the left nav).

  • Click the Rules tab and click + Rule.

  • Select the Command Execution Failure template.

  • Condition: Select the Command you created in the previous step.

  • Priority: Set to High or Medium.

  • Actions: - Toggle Send Notifications.

    • Configure your Notification Channel (Email, Slack, or Webhook). Ensure your email is added to the notification channel in Settings > Notification Channels.

Bildschirmfoto 2026-02-16 um 16.08.27

How it works:


Every 10 minutes, JumpCloud runs the script.

If ZIA is "OFF" or "DISABLED," the script exits with 1.

JumpCloud sees the 1, marks the command execution as a "Failure," and immediately triggers the Alert Rule to send you an email.

Bildschirmfoto 2026-02-16 um 16.10.26