{% extends "base.html" %} {% block title %}SMS alerts · NEXXVU{% endblock %} {% block content %}

Settings

SMS alerts {{ fresh_tag("sms:stopped-notice") }}

A MikroTik LTE router that only watches and sends SMS. E-mail stays the first channel; SMS is the fallback, and the only one when your line or mail is down.

All settings
{% include "_settings_navigation.html" %}
{% if notice %}
{{ notice }}
{% endif %} {% if error %}{% endif %} {% if test %}
{% if test.sent %}Test SMS sent. It counts toward this month's budget.{% else %}No SMS sent: {{ test.detail or test.reason }}.{% endif %}
{% endif %} {% if not admin %}

Only Portal administrators manage SMS alerts.

{% elif not sms %}

SMS alerts are not available on this Portal.

{% else %}

LTE notification device {{ fresh_tag("settings:sms-alerts") }}

{% if sms.account %}{% set st = sms.status or {} %}

{{ 'Registered' if st.registration_status == 'registered' else (st.registration_status or st.error or 'Not read yet')|capitalize }} {{ (sms.devices|selectattr('id', 'equalto', sms.settings.asset_id)|map(attribute='name')|first) or '' }} · port {{ sms.account.port or 'lte1' }}

Signal
{% if st.rsrp %}RSRP {{ st.rsrp }}{% if st.sinr %} · SINR {{ st.sinr }}{% endif %}{% else %}-{% endif %}
Operator
{{ st.operator or '-' }}
SIM
{{ st.pin_status or '-' }}
RouterOS
{{ st.version or '-' }}
Read
{{ (sms.status_at or 'never')|replace('T', ' ')|replace('Z', ' UTC') }}
{% else %}

Not set up Add the MikroTik LTE router in Inventory, then choose Use as LTE notification device. NEXXVU shows the configuration before it applies anything.

{% endif %}

SMS used this month

{{ sms.used }} of {{ sms.budget }} · {{ sms.left }} left · the last {{ sms.reserve }} are kept for critical devices and line-down alerts · resets on the 1st

{{ sms.percent }} %

Also: at most 4 SMS an hour per alert type, 8 a day, and 3 per problem (the first, one reminder after 60 minutes, one "resolved"). An e-mail warns the administrators at 80 %.

People

{% if sms.people %}
{% for p in sms.people %}{% endfor %}
NameNumberGetsActions
{{ p.name }}{{ p.phone }} {{ ['critical alerts' if p.critical, 'line down' if p.line_down]|select|join(', ') or 'none' }}
Actions ▾
{% else %}

Nobody yet. Add the people who get SMS alerts.

{% endif %}
{% if sms.recent %}

Recent SMS

{% for r in sms.recent %}{% endfor %}
When (UTC)AlertToResult
{{ r.at|replace('T', ' ')|replace('Z', '') }}{{ r.alert_type }} · {{ r.kind }}•••• {{ r.phone_tail }}{% if r.ok %}Sent{% else %}Not sent {{ r.detail }}{% endif %}
{% endif %} {% endif %}
{% endblock %}