Skip to main content

Alarms

The Cordatus alarm system turns AI detections into notifications. You describe the situation you care about — a person in a restricted area, five vehicles queuing at the gate, someone crossing a virtual line — and Cordatus notifies you through the channels you choose and stores the event so you can review it later.

Everything lives under Alarms in the left menu:

PagePurpose
ListDefine and manage alarms. Two tabs: Inference Alarms and Device Alarms.
ReportReview the alarms that were actually triggered, with video. See Watching Alarm Records.
Notification ChannelsManage where notifications are delivered.

Inference alarms

Alarms → List → Inference Alarms

 


Alarm Types​

TypeWhere it is definedWhen it triggers
Inference alarm (model-based)Alarms → List → Inference AlarmsWhen a model or pipeline detects the classes described in the alarm rules. Defined once, then attached to any compatible job.
Analytic-based alarmOn a running job, inside the analytic rule you drawWhen an object behaves in a certain way — crosses a line, enters an ROI, moves in a direction.
Device alarmAlarms → List → Device AlarmsWhen a device metric crosses a threshold (CPU temperature, disk usage, …).

Device alarms

Device alarms live on their own tab

 


Notification Channels​

An alarm needs at least one channel to notify. Open Alarms → Notification Channels to see the channels of your organization, and use New Channel to add one. A channel has a Channel Name and a Channel Type — E-mail, Slack or Webhook. Mobile devices that are signed in to the Cordatus mobile app appear here as mobile channels automatically.

Notification channels

Notification Channels

 

New channel

Adding a notification channel

 

tip

You can also create a channel without leaving the alarm wizard — the + CHANNEL button next to the Alarm Channels field opens the same form.


Creating an Inference Alarm​

Inference alarms are defined independently of jobs and stored on the Inference Alarms tab, so the same alarm can be reused by any job that runs a compatible model or pipeline.

Click New Inference Alarm to open the two-step wizard.

Step 1 — Alarm Info​

FieldDescription
NameThe name the alarm is known by, in the list and in notifications.
Alarm ChannelsOne or more notification channels. Everything in the list is offered; + CHANNEL adds a new one on the spot.
Alarm TypeSingle Model for an alarm on one model, Pipeline for an alarm on a model pipeline.
Model Name / Pipeline NameThe model (or pipeline) the alarm belongs to. The alarm can later be attached only to jobs that run it.
Alarm Message (Optional)Free text that is included in the notification — use it to tell the recipient what to do.

Alarm step 1

Step 1 — alarm information

 

Choosing channels

Selecting the notification channels of the alarm

 

Choosing the model

Selecting the model the alarm belongs to

 

Click Continue to move on.

Step 2 — Alarm Rules​

Rules describe the detection that triggers the alarm. They are written as a sentence:

PEOPLENET detects person at least ×1 in a single frame

Alarm rule

Step 2 — building a rule

 

  1. Rules Operand — choose AND or OR. It decides how several rules are combined.
  2. Select the model of the rule from the dropdown next to the rule buttons.
  3. Click Add Single Rule for one condition, or Add Group Rule to nest a group of conditions.
  4. Complete the sentence in the row that appears:
OptionMeaning
Frame basedTriggers when the selected class reaches the given count in a single frame.
Time basedTriggers when the selected class reaches the given count within the given period.
  1. Repeat for further rules — they are combined with the operand you chose.
  2. Click Save Alarm.
Creating an inference alarm from start to finish

 

The new alarm appears in the list with its Application Type (Single Model / Pipeline) and Application Name.

Alarm saved

The saved alarm in the list

 


Using an Alarm in a Job​

Defining an alarm does not yet make it fire — it has to be attached to a job.

  1. Start a new job from AI Platform → AI Workflow (see Jobs).
  2. In the job configuration, open the Add Alarm section.
  3. Alarms — select the alarm you want to use. Only alarms that match the job's model or pipeline are offered.
  4. Cameras — select the cameras the alarm should watch. You can pick several.
  5. Click Add, then start the job.

NOTE: A job can carry several alarms, and the same alarm can be used by several jobs.

While the job runs, its alarms can be checked — and switched on or off — from the job's stream view.


Viewing, Editing and Deleting Alarms​

Every row of the Inference Alarms tab ends with two icons:

  • the eye icon shows the alarm's rules in plain language, so you can check what will trigger it without opening the editor;
  • the gear icon opens the actions menu with Edit and Remove.

Alarm summary

The rule summary of an alarm

 

Alarm actions

Alarm actions

 

caution

An alarm that is in use by a running job should be stopped on that job first. Removing an alarm does not delete the alarm records that it already produced — those stay available on the Report page.


Analytic-Based Alarms​

Analytic-based alarms are attached to an analytic rule that you draw on a running job's stream — a line, a region of interest or a direction. They make it possible to alarm on behaviour instead of mere presence.

To add one:

  1. Go to AI Platform → Jobs and open the stream of the running job.
  2. Open the analytics panel of the stream and draw the rule you need — line crossing, ROI filtering, direction detection or a counter. See Analytics for how each rule is drawn.
  3. Use Add Alarm on the rule and fill in the alarm name, channels and message.
  4. Build the rule sentence, for example:
    • Line Crossing: if [class] crosses [rule name] [n] times
    • Direction Detection: if [n] [class] move towards [rule name]
    • ROI Detection: if [class] is detected [n] times inside [rule name]
  5. Save the alarm.

INFO: For an ROI alarm to trigger again, the number of objects in the area must first fall below the configured value and then exceed it again. If the alarm is set for 5 vehicles in an area and has fired, the next alarm is only raised after the count drops below 5 and rises above it again.

Analytic-based alarms are managed from the same stream view, in the alarms list of the analytics panel.


Where Triggered Alarms Appear​

  • Alarms → Report — the full history with video and screenshots. See Watching Alarm Records.
  • Dashboard — the Alarms widget lists the most recent alarms of the organization.
  • Notification channels — e-mail, Slack or mobile push, depending on the channels attached to the alarm.