The alarm system monitors variables continuously and triggers notifications when values exceed defined thresholds. Configure simple or combined alarms to ensure timely response to critical conditions.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/CspmIT/centinela-front/llms.txt
Use this file to discover all available pages before exploring further.
Alarm Types
The system supports two alarm types:- Simple Alarms
- Combined Alarms
Monitor a single variable against a threshold condition.Use Cases:
- Tank level too high/low
- Pressure exceeds safe limits
- Temperature out of range
Creating an Alarm
Choose Alarm Type
Toggle “Alarma combinada” switch:
- Off = Simple alarm (single condition)
- On = Combined alarm (two conditions)
Alarm Configuration Parameters
Basic Parameters
Descriptive name for the alarm (e.g., “Tank A Low Level Warning”)
Primary variable ID to monitor
Comparison operator for the thresholdAvailable Conditions:
>- Greater than<- Less than=- Equal to>=- Greater than or equal to<=- Less than or equal toentre- Between (requires two values)
Threshold value for comparison
Second threshold value (required only when condition is
entre)Minutes between repeated notifications while alarm condition persistsRecommended Values:
- Critical alarms:
5minutes - Warning alarms:
15-30minutes - Information alarms:
60minutes
Combined Alarm Parameters
Logical operator combining both conditions (required for combined alarms)Options:
AND- Both conditions must be trueOR- Either condition can be true
ID of the second variable to monitor (required for combined alarms)
Comparison operator for the secondary variableOptions:
>, <, =, >=, <= (NOT entre)Threshold value for the secondary variable
Time Restrictions
Enable time-based alarm restrictions
Start time for alarm activation (24-hour format: “HH:MM”)Required when
hasTimeRange is trueEnd time for alarm activation (24-hour format: “HH:MM”)Required when
hasTimeRange is trueAlarms with time restrictions only trigger notifications during the specified hours. The condition is still evaluated 24/7, but notifications are suppressed outside the time range.
Alarm Configuration Examples
Simple Alarm: Low Tank Level
Simple Alarm: Temperature Range
Combined Alarm: Pump Malfunction
Time-Restricted Alarm
Alarm Table Interface
The alarms table displays all configured alarms with these columns:| Column | Description |
|---|---|
| Nombre | Alarm name |
| Condición | Complete condition statement with variable names and values |
| Tipo | ”Simple” or “Combinada” (Combined) |
| Repetir / Horario | Repeat interval and time restrictions if configured |
| Estado | ”Activo” (Active) or “Inactivo” (Inactive) |
| Acciones | Edit and Activate/Deactivate buttons |
/src/modules/ConfigAlarms/views/index.jsx:23-179
Managing Alarms
Editing an Alarm
Activating/Deactivating Alarms
Alarms can be temporarily disabled without deletion:
Implementation:
/src/modules/ConfigAlarms/views/index.jsx:136-160
Condition Display Logic
The system displays alarm conditions in human-readable format: Simple Alarm Display:/src/modules/ConfigAlarms/views/index.jsx:28-57
API Endpoints
| Endpoint | Method | Description |
|---|---|---|
/getAlarms | GET | Retrieve all alarms |
/createAlarm | POST | Create new alarm |
/updateAlarm/:id | PUT | Update existing alarm |
/changeStatusAlarm | PUT | Activate/deactivate alarm |
Create/Update Alarm Request
/src/modules/ConfigAlarms/components/ModalAlarm.jsx:110-161
Payload Cleanup
The system automatically removes unnecessary fields before sending:/src/modules/ConfigAlarms/components/ModalAlarm.jsx:115-133
Best Practices
Alarm Naming
Alarm Naming
Use clear, action-oriented names:Good Examples:
- “Tank A Low Level Warning”
- “Pump 2 High Temperature Alert”
- “Filter Pressure Drop Critical”
- “Alarm 1”
- “Test”
- “var42_check”
Repeat Intervals
Repeat Intervals
Balance between notification frequency and alarm fatigue:
- Critical (life/safety): 5 minutes
- High priority (equipment damage): 10-15 minutes
- Medium priority (efficiency): 30 minutes
- Low priority (information): 60+ minutes
Combined Alarms
Combined Alarms
Use combined alarms for:
- Detecting equipment malfunctions (status + performance)
- Validating sensor readings (cross-check variables)
- Complex operational conditions
Time Restrictions
Time Restrictions
Use time-restricted alarms for:
- Business-hours-only notifications
- Different thresholds for day/night operations
- Maintenance windows (suppress alarms during scheduled work)
Create two alarms with different time ranges if you need 24/7 monitoring with different parameters for different times.
Troubleshooting
Alarm Not Triggering
Alarm Not Triggering
Checklist:
- Verify alarm status is “Activo”
- Check variable is receiving data
- Confirm threshold values are correct
- For time-restricted alarms, verify current time is within range
- Check repeat interval hasn’t suppressed notification
Too Many Notifications
Too Many Notifications
Solutions:
- Increase repeat interval
- Adjust threshold to reduce false positives
- Add time restrictions to limit notification windows
- Review if condition is too sensitive
Combined Alarm Logic Issues
Combined Alarm Logic Issues
Troubleshooting:
- Test each condition separately with simple alarms
- Verify both variables are updating
- Review AND vs OR logic choice
- Check that secondary condition operator is correct
Alarm evaluation happens continuously in real-time. Changes to alarm configuration take effect immediately without requiring system restart.
