{% extends "base.html" %} {% block title %}System Monitor Configuration - Hermetic Suite{% endblock %} {% block content %}

Collection Schedule

{% if schedule_info.error %}
Scheduling unavailable: {{ schedule_info.error }}

To enable scheduling, ensure the hsuite user has cron access. You can manually set up a cron job:

# Run every 15 minutes */15 * * * * /opt/hsuite/venv/bin/python /opt/hsuite/plugins/system_monitor/collect_all.py
{% else %}

{% if schedule_info.current and schedule_info.current != 'disabled' %} Active Currently collecting metrics {{ schedule_info.current_label|lower }}. {% else %} Inactive Automatic collection is disabled. Use manual collection or enable a schedule. {% endif %}

{% endif %}

Monitored Servers

{% for server in servers %} {% set config = configs.get(server.id) %} {% endfor %}
Server IP Address Status Interval Actions
{{ server.hostname or 'Unnamed' }} {{ server.ip_address }} {% if config and config.enabled %} Monitoring {% else %} Not Monitored {% endif %} {% if config and config.enabled %} {{ config.collection_interval }} min {% else %} - {% endif %} {% if config and config.enabled %}
{% else %}
{% endif %}
{% if not servers %}

No servers with SSH enabled found.

Enable SSH on servers in the Servers section to monitor them.

{% endif %}

Alert Thresholds

Configure when alerts should be triggered. Thresholds with no server specified apply globally as defaults.

{% for threshold in thresholds %} {% endfor %}
Metric Path Server Warning Critical Enabled Actions
{{ threshold.metric_type|title }} {{ threshold.metric_path or '*' }} {% if threshold.server_id %} Server #{{ threshold.server_id }} {% else %} Global Default {% endif %} {{ '%' if threshold.metric_type in ['cpu', 'memory', 'disk'] else '' }} {{ '%' if threshold.metric_type in ['cpu', 'memory', 'disk'] else '' }}

Alert Notifications

To receive email notifications when alerts are triggered:

  1. Configure SMTP settings in Settings
  2. Add your email address in your Profile
  3. Alert subscriptions will be available in a future update
{% endblock %}