How to check, on an Nx Witness system, that it sends its alarms to GC Surge by e-mail (SMTP): where the settings are, what must be switched on, how to test, and what to do when it fails. Use it together with Not Receiving Alarms.
Nx Witness is a video management system. The alarms come from the Nx Witness server, not from the single cameras. An alarm e-mail needs three parts: the e-mail settings of the system, motion detection on the camera, and an event rule that sends the e-mail. Names differ a little between versions.
Who it is for: Technicians and admins who can sign in to Nx Witness as an administrator.
You need | Notes |
|---|---|
The address of the Nx Witness server and its port | The factory port is 7001. Switch on HTTPS (secure) in GC Surge. |
An administrator account of the system | A local administrator account of the system. |
The values from GC Surge | In GC Surge: |
Watch:
Before you can use the checks on this page, the system must be added to GC Surge. If it is already listed under Sites & Cameras, you can skip this section.
Step 1: Open Sites & Cameras.
Step 2: To add a device to a site you already have, open Actions > Add device in the site row. To start from the top of the page, click Add sites & cameras, then choose Add a site and camera or Add a camera to an existing site.
Step 3: Fill in the form (step 2 of 2): Device name, Device brand (NxWitness), Device IP or hostname, HTTP/S port (the factory value of Nx Witness is 7001), RTSP port, and Username and Password (or the RTSP URL). Use the administrator account of the system. Click Run device check.

Step 4: Read the result of the check. If it shows Not reachable from the internet, the system is on a private network. Click Continue with local agent and follow the steps on the screen.
Step 1: Open the Nx Witness client and sign in as an administrator.
Step 2: Open the main menu > System Administration > Email.
Step 3: Compare each field with Setup details in GC Surge.
Field in Nx Witness | Must be |
|---|---|
Email (the sender) | From email from Setup details |
SMTP Server | Host |
Port | Port |
User | Username |
Password | Password (use the show and copy buttons in Setup details) |
Connection type | The value of Encryption. For "tls" with port 587 choose TLS. |
Step 4: Click Test. All test steps must pass.
Step 5: Click Apply.
Do this for every camera that should send alarms.
Step 1: Open the main menu > System Administration > Event Rules.
Step 2: Find the rule that sends the alarms to GC Surge. It must be ticked (On).
Part of the rule | Must be |
|---|---|
Event | Motion on Camera (or the analytics event you use) |
Source | The cameras that should send alarms |
Action | Send email |
Target | To email from Setup details, under additional recipients |
Schedule | Covers the times when alarms are wanted |
Interval of action | Instant, or the shortest interval. A long interval holds alarms back. |
Step 3: Click Apply.
Symptom | Cause | What to do |
|---|---|---|
The add screen shows Setup failed at: Device credentials, or the Status tab shows Sign in with an exclamation mark | Wrong password, or the user is not an administrator. | On the add screen, correct the details shown and click Retry setup. In the Status tab, click Edit connection details and enter an administrator account. |
The add screen shows Setup failed at: Camera reachable or Loading device settings, or the Status tab shows Reach with an exclamation mark | Wrong port, HTTPS (secure) not switched on, or the address of a camera was used. | Use the address and port of the Nx Witness server (7001) and switch on HTTPS (secure). |
Test of the e-mail settings fails | No internet access of the server, a blocked outbound port, wrong user or password, or the wrong connection type. | See Check That the Server Can Send Out. Copy user and password again. Choose TLS for port 587. |
Test works, but no alarm arrives | No motion detection, no recording schedule, or the rule is off. | See Check Motion Detection on the Cameras and Check the Event Rule. |
Alarms arrive late or one per several minutes | Interval of action of the rule is high. | Set it to Instant or the shortest value. |
Only some cameras send alarms | The other cameras are not in the Source of the rule, or have no motion detection. | Add them to the rule. Do Check Motion Detection on the Cameras for them. |
The server is offline in the Nx Witness client | The server computer is switched off or has no network. | Start the server. No alarms can be sent while it is offline. |
Alarms stopped after an update or a restore | The e-mail settings or the rule were removed. | Retry in GC Surge. Then check Check the E-mail Settings of the System and Check the Event Rule. |
Thank you — your feedback goes to the team that owns this page.