{% extends "portregistry/base.html" %} {% load pr_format %} {% block title %}Machine{% endblock %} {% block heading %}Machine & daemon{% endblock %} {% block content %}

Machine identity

Hostname
{{ machine.hostname }}
Machine UUID
{{ machine.uuid }}
OS
{{ machine.os_name }} {{ machine.os_version }}
Build
{{ machine.os_detail }}
Architecture
{{ machine.architecture }}
Registered
{{ machine.created_at|ago }}
{% if status %}

Daemon

Version
{{ status.daemon.version }}
PID
{{ status.daemon.pid }}
Listening
{{ status.daemon.base_url }}
Uptime
{{ status.daemon.started_at|ago|cut:" ago" }}
Scheduler
{% if status.scheduler.running %}running{% else %}stopped{% endif %}; native every {{ status.scheduler.native_interval|floatformat:0 }}s{% if status.scheduler.docker_interval %}, Docker every {{ status.scheduler.docker_interval|floatformat:0 }}s{% endif %}
Live clients
{{ status.daemon.sse_subscribers }}
{% endif %}
{% if status %}

Discovery providers

{% for name, p in status.providers.items %}

{{ name }} {{ p.state }} {{ p.message }}
last success {{ p.last_success|ago }}

{% endfor %}

Last successful native scan: {{ status.discovery.last_success_at|ago }}{% if status.discovery.stale %} stale{% endif %}

Platform & permissions

Platform: {{ status.platform.platform }} · elevated: {% if status.platform.elevated %}yes{% elif status.platform.elevated is None %}unknown{% else %}no{% endif %}

{% if status.platform.elevated is not True %}
Fuller visibility: {{ elevation_hint }}
{% endif %}

Start at login

{% if autostart.installed %}

installed via {{ autostart.mechanism }}{% if autostart.tray_installed %} (tray icon too){% endif %}.

Remove with portregistry daemon uninstall.

{% else %}

not installed The daemon only runs when you start it, so data goes stale after a reboot.

Run portregistry daemon install (add --tray for the tray icon, --dry-run to preview). No administrator rights are needed.

{% endif %}

Alerts

{% if alerts and alerts.webhooks %}

Delivered {{ alerts.delivered }}, failed {{ alerts.failed }}{% if alerts.dropped %}, dropped {{ alerts.dropped }}{% endif %}. Test with portregistry alerts test.

{% else %}

No webhooks configured. Add [[alerts.webhook]] entries to config.toml. Browser notifications: use “Desktop alerts” in the sidebar.

{% endif %}

Ignore rules: manage. Rotate the API token with portregistry token rotate.

Stopping processes

{% with c=status.control %} {% if c.enabled %}

on Your own processes can be stopped after a two-step confirmation (review, then type the PID within {{ c.code_ttl_seconds }} seconds). Graceful stops wait up to {{ c.grace_seconds|floatformat:0 }} seconds. Every attempt is recorded in history.

{% if c.allow_other_users %}
Other users' processes can be stopped. {{ c.other_users_note }}
{% elif c.other_users_note %}

{{ c.other_users_note }}

{% endif %} {% else %}

off {{ c.reason }}

{% if c.other_users_note %}

{{ c.other_users_note }}

{% endif %}

While off, the Stop pages only show the commands to stop a process yourself.

{% endif %} {% endwith %}
{% endif %}

Recent scans

{% for s in scans %} {% empty %}{% endfor %}
#KindTriggerStatusStartedDurationEndpoints+ / −Message
{{ s.pk }}{{ s.kind }}{{ s.trigger }}{{ s.status }} {{ s.started_at|ago }}{{ s.duration_ms|default:"—" }} ms {% if s.kind == "docker" %}{{ s.container_count }} ctr{% else %}{{ s.socket_count }}{% endif %} {{ s.appeared_count }} / {{ s.disappeared_count }}{{ s.message|truncatechars:80 }}
No scans yet.
{% if config %}

Configuration (read-only)

Edit {{ config.paths.config_file }} and run portregistry daemon restart. Secrets are never shown.

{{ config|pretty_json }}
{% endif %} {% endblock %}